19.11.2016, 15:26
In addition to what the others said, i suggest you to format your code a littlebit more, because it is easier to read:
PHP код:
CMD:aheal(playerid, params[])
{
if(PlayerInfo[playerid][Level] < 2)
{
return SCM(playerid,0xFF8284FF,"[ERROR]: You are not allowed to use this command!");
}
//ELSE
SetPlayerHealth(playerid, 100);
return 1;
}