11.08.2014, 01:25
PHP код:
dcmd_desarmartodos(playerid,params[])
{
if(PlayerInfo[playerid][LevelAdmin] >=3)
{
new string[256],Admin[MAX_PLAYER_NAME];
for(new i = 0; i < MAX_PLAYERS; i++)
if (IsPlayerConnected(i))
{
ResetPlayerWeapons(i);
}
GetPlayerName(playerid,Admin, sizeof(Admin));
format(string, sizeof(string), "El Administrador %s Ha Desarmado a Todos los Jugadores", Admin);
SendClientMessageToAll(naranja,string);
}
return 1;
}