05.06.2016, 08:55
this code when i try to compile it it give me errors
Code:
Errors:
Line Error:
Code:
PHP код:
CMD:highoff(playerid,params[])
{
if(pInfo[playerid][pLevel] >= 5)
{
new target;
if(sscanf(params,"us[100]",target)) return SendClientMessage(playerid,red,"USAGE: /highoff [playerid]");
if(MegaJump[target] == 1)
{
new string[134];
format(string,sizeof(string),"* Admin %s Has Disabled For you HighJump",GetName(playerid));
MegaJump[target] = 0;
}
else if(MegaJump[target] == 0)
{
SendClientMessage(playerid, -1, "This Player Not Using /highjump Now");
}
return 1;
}
else return ShowMessage(playerid,red,1);
}
else return ShowMessage(playerid,red,2);
}
PHP код:
D:\samp folder\XtremeX-Stunting\filterscripts\JLadmin.pwn(9125) : error 010: invalid function or declaration
PHP код:
else return ShowMessage(playerid,red,2);