SA-MP Forums Archive
help with a command - 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: help with a command (/showthread.php?tid=125545)



help with a command - adytzu32 - 04.02.2010

hi,i have this command: http://pastebin.com/m1bd2a50e but when i'm trying to compile i have this error
/imageshack/i/19584207.png/


Re: help with a command - Correlli - 04.02.2010

Make sure you haven't missed any bracket if your compiler crashes.


Re: help with a command - adytzu32 - 04.02.2010

no brackets missing...or i'm blind


Re: help with a command - Correlli - 04.02.2010

Check again, the reason why your compiler crashes is probably because of a missing bracket.


Re: help with a command - adytzu32 - 04.02.2010

really i don't see please show me if you can


Re: help with a command - MadeMan - 04.02.2010

What place did you edit last time, when this error came?


Re: help with a command - adytzu32 - 04.02.2010

this http://pastebin.com/d21e40ea7


Re: help with a command - ettans - 04.02.2010

Removed the if(IsPlayerConnected(playerid)) check, as you don't need it, since the player is already connected if he can use the command. Compiles fine for me now.

http://pastebin.com/f5599c69f