Little problem [error 001] - 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: Little problem [error 001] (
/showthread.php?tid=152086)
Little problem [error 001] -
Flashy - 02.06.2010
I have a little problem. I get an error in a line but I think I have done all right? What is the problem?
Adminscript.pwn(324) : error 001: expected token: ";", but found "-identifier-"
Line:
if(!IsPlayerConnected(playerid)) return true SendDeathMessage(playerid, playerid, 200);
Re: Little problem [error 001] -
cessil - 02.06.2010
Код:
if(!IsPlayerConnected(playerid)) SendDeathMessage(playerid, playerid, 200); return true;
Re: Little problem [error 001] -
Flashy - 02.06.2010
Quote:
Originally Posted by cessil
Код:
if(!IsPlayerConnected(playerid)) SendDeathMessage(playerid, playerid, 200); return true;
|
Hahah nice try but failed hard
Anyone got an other solution?
Re: Little problem [error 001] -
MadeMan - 02.06.2010
pawn Код:
if(!IsPlayerConnected(playerid)) { SendDeathMessage(playerid, playerid, 200); return true; }