29.05.2014, 15:07
how add alot of zcmd to my server like /aduty /animlist that
CMD:aduty(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return 0;
pDuty[playerid] = 1;
SetPlayerHealth(playerid, 99999);
SendClientMessageToAll(-1, "An Admin now is on duty");
return 1;
}
Sorry, but i write this in in the SA-MP Editor maybe have errors.
You need to be RCON Admin to go on duty. You need to add some features to it, also, like If a player attack an admin on duty gets punishment! pawn Код:
|