Error 001 and Error 036 - 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: Error 001 and Error 036 (
/showthread.php?tid=482503)
Error 001 and Error 036 -
BarFix - 21.12.2013
CLOSE IT
Re: Error 001 and Error 036 -
CutX - 21.12.2013
it's that line:
PHP код:
new String[ 128 ]
the semicolon is missing
PHP код:
new String[ 128 ];
Re: Error 001 and Error 036 -
BarFix - 21.12.2013
Quote:
Originally Posted by CutX
it's that line:
PHP код:
new String[ 128 ]
the semicolon is missing
PHP код:
new String[ 128 ];
|
Thank you!
Re: Error 001 and Error 036 -
BlackWolf120 - 21.12.2013
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
new String[128];
if(weaponid == 41)
{
format(String, sizeof(String), "{AA3333}AdmWarning{FFFF00}: %s (ID %d) may possibly Rush Tazed (%s).", GetPlayerNameEx(issuerid), playerid);
ABroadCast(COLOR_YELLOW, String, 2);
return 1;
}
}
Also the similicon is NOT right after the if statement.