Trying to fix commands - 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: Trying to fix commands (
/showthread.php?tid=132267)
Trying to fix commands -
Blokk - 07.03.2010
I made some commands but, they are all mixed up. When I do /rules it brings up General Help.
Re: Trying to fix commands -
Correlli - 07.03.2010
You've probably mixed some brackets in OnPlayerCommandText callback.
Re: Trying to fix commands -
pmk1 - 07.03.2010
I think it's because you copy/pasted a line for your general info then u forgot to set:
if (strcmp("/rules", cmdtext, true, 10) == 0)
Re: Trying to fix commands -
Blokk - 07.03.2010
Fixed it, thanks though.