17.08.2014, 13:10
CMD:ahelp(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1 || IsPlayerAdmin(playerid)) {
SCM(playerid,VagosColor,"Admin commands");
SCM(playerid,VagosColor,"/jetpack /slap /setscore /repair /ann /ban /kick /givemoney /setadmin /setskin /goto /gethere");
}
else return SendClientMessage(playerid,-1,"You re not admin!");
return 1;
}
Try this. Basically, you forgot to put brackets,. and your indentations could use some work.
{
if(PlayerInfo[playerid][pAdmin] >= 1 || IsPlayerAdmin(playerid)) {
SCM(playerid,VagosColor,"Admin commands");
SCM(playerid,VagosColor,"/jetpack /slap /setscore /repair /ann /ban /kick /givemoney /setadmin /setskin /goto /gethere");
}
else return SendClientMessage(playerid,-1,"You re not admin!");
return 1;
}
Try this. Basically, you forgot to put brackets,. and your indentations could use some work.