problem - 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: problem (
/showthread.php?tid=359463)
problem -
shaniyal - 14.07.2012
i made a script but it giving a error can anyone tell me how to fix it
'''''C:\DOCUME~1\JTECHC~1\Desktop\announce.pwn(1

: error 001: expected token: "#endif", but found "-end of file-"
HELP ME
Re: problem -
Captain_Mani - 14.07.2012
Go to your line 18.
Delete -end of file- and put there #endif.
Re: problem -
shaniyal - 14.07.2012
THX MATE
+rep
Re: problem -
Captain_Mani - 14.07.2012
No prob
Re: problem -
shaniyal - 14.07.2012
Код:
announce(playerid,params[]) {
if(PlayerInfo[playerid][Level] >= 1) {
CMDMessageToAdmins(playerid,"ANNOUNCE");
if(!strlen(params)) return SendClientMessage(playerid,red,"Syntax Error: \"/ANNOUNCE <TEXT>\".");
return GameTextForAll(params,4000,3);
} else return SendClientMessage(playerid,red,"ERROR: You need to be level 1 to use this command");
}
Anyone know that its right or wrong
Re: problem -
shaniyal - 14.07.2012
Anyone knows this
