13.07.2010, 19:50
Heres for TeamChangeForAll
You have to do rest, I can't really do more.
pawn Код:
dcmd_teamchangeforall(playerid, params[])
{
if(PlayerInfo[playerid][Admin] >= 1)
for(new i=0; i<MAX_PLAYERS; i++)
{
SendClientMessageToAll(COLOR_YELLOW,"TeamChangeForAll Initiated");
SetPlayerHealth(i,0);
}
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"You are not a admin");
}
}