Some Little Help - 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: Some Little Help (
/showthread.php?tid=203079)
Some Little Help -
ToPhrESH - 26.12.2010
pawn Код:
else if(iDM2[playerid] == 2)
{
new strrr[128]
//line 846 below
GetPlayerName(playerid, strrr, sizeof(strrr)); format(strrr, sizeof(strrr), "|-DM NEWS-|%s Has Left the Walkies-DM!(/cancel)", strrr);
SendClientMessageToAll(COLOR_HOT, strrr);
ResetPlayerWeapons(playerid);
SpawnPlayer(playerid);
}
return 1;
}
Код:
(846) : error 001: expected token: ";", but found "-identifier-"
Any help here. I don't really see anything wrong.
Re: Some Little Help -
Haydz - 26.12.2010
you forgot the ;
Re: Some Little Help -
ToPhrESH - 26.12.2010
Ah...LMFAO!! Thanks dude, hahaha
Works like a charm! Sorry I was in a rush so I sorta had little time to fix... Thanks! It was something that easy xD
Re: Some Little Help -
Haydz - 26.12.2010
Hahah, it's a common mistake, i would have to admit i do the same thing alot

.