Quote:
Originally Posted by Kuddy
Faltou uma chave.
pawn Код:
CMD:aduty(playerid,params[]) // Onduty { if(pInfo[playerid][pLogged] == 1) { if(pInfo[playerid][pAdminLevel] >= 3) { SendClientMessage(playerid,-1,"You are not authorised to use that command."); return 1; } if(IsOnAdminDuty[playerid] == false) { IsOnAdminDuty[playerid] = true; new pname[24],dstring[124]; GetPlayerName(playerid,pname,sizeof(pname)); format(dstring,sizeof(dstring), "{FF0000}Admin %s is now on duty.{FF0000}",pname); SendClientMessageToAll(-1,dstring); SetPlayerHealth(playerid,99999); SetPlayerArmour(playerid,80); SetPlayerSkin(playerid,117); } } return 1; }
|
corrigido muito obrigado pela grande ajuda
funcionou