SA-MP Forums Archive
I have problem with compile. - 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)
+--- Thread: I have problem with compile. (/showthread.php?tid=311844)



I have problem with compile. - janx221 - 18.01.2012

hey i have problem , if i change CMD:auto(playerid, params[]) with if(strcmp(cmd, "/auto", true) == 0)


then i can't compile ....

don't send-.-


Re: I have problem with compile. - milanosie - 18.01.2012

You have to add

public OnPlayerCommandText(playerid, cmdtext[])

If u use strcmp



And the ZCMD commands (CMD:blablabla) should NOT be in this public function



Dit forum vereist dat je 120 seconden wacht tussen het verzenden van berichten. Probeer het nogmaals over 22 seconden. AAARG