SA-MP Forums Archive
Need som help with gl_actions - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need som help with gl_actions (/showthread.php?tid=157455)



Need som help with gl_actions - OldDirtyBastard - 06.07.2010

Does anyone know how to fix that anoying bug in the gl_action script when you tipe /animlist
it shows the anim list but after that that anoying SERVER: Unknown Command
Regards.


Re: Need som help with gl_actions - CAR - 06.07.2010

You must put a
pawn Код:
return 1;
at the end of the command


Re: Need som help with gl_actions - OldDirtyBastard - 06.07.2010

daaamn i shoud know it lol


Re: Need som help with gl_actions - CAR - 06.07.2010

You got OnPlayerCommandText, change it:
pawn Код:
if(!strcmp(cmdtext, "/animlist"))
{
   // your command
   return 1; //<< PUT THIS IN HERE
}
return 0;