07-16-2014, 08:06 PM
07-16-2014, 08:10 PM
(07-16-2014, 08:06 PM)PewDieFan Wrote: [ -> ]Hello there everyonean
Me want to make script monster spawn when u pick a key
And it will not work.
WHY???????? PLz help!!!!!
Could you post us your script pls so we can take a look at it?
07-16-2014, 08:11 PM
Here its
void OnStart()
{
void MONSTAR(string &in AsItem, string &in asEntity)
{
SetEntityActive("monster_1", true);
}
What is wrong?!!!!! I wanta to only make a cstom mod, nothing much but the facking game wont allowe me too!!!!!!!!!
void OnStart()
{
void MONSTAR(string &in AsItem, string &in asEntity)
{
SetEntityActive("monster_1", true);
}
What is wrong?!!!!! I wanta to only make a cstom mod, nothing much but the facking game wont allowe me too!!!!!!!!!
07-16-2014, 08:22 PM
(07-16-2014, 08:11 PM)PewDieFan Wrote: [ -> ]Here its
void OnStart()
{
void MONSTAR(string &in AsItem, string &in asEntity)
{
SetEntityActive("monster_1", true);
}
What is wrong?!!!!! I wanta to only make a cstom mod, nothing much but the facking game wont allowe me too!!!!!!!!!
Ok here ya go
PHP Code:
oid OnStart()
{
SetEntityCallbackFunc("KEY","KEY");
}
void KEY(string &in AsItem, string &in asEntity)
{
SetEntityActive("monster_1", true);
}
If you have any other issues, next time post a thread on the development support if you have issues with coding!
07-16-2014, 08:25 PM
where do i put tihs????
07-16-2014, 08:27 PM
(07-16-2014, 08:25 PM)PewDieFan Wrote: [ -> ]where do i put tihs????
In an hps file! go in your custom story/maps folder/ and create a text file with the same name as your map you're making and at the very end of the text file rename .txt to .hps
07-16-2014, 08:29 PM
It worsks !!!!!!!!! OMG FINALY WORKS!!!!!! BRO SPAWNDES D Thank u