12.10.2010, 14:01
pawn Код:
if (strcmp(tmpcmd, "/nascer", true) == 0)
{
if (GetPlayerVirtualWorld(playerid) != 0) return SendClientMessage(playerid, COR_VERMELHA, "|~> Vocк nгo pode usar este comando em um evento.");
ShowMenuForPlayer(sDataGM[MENUNASCER], playerid); TogglePlayerControllable(playerid, 0);
PlayerPlaySound(playerid,1057,0.0,0.0,0.0); return 1;
SetTimer("Murre",10000,false);
return 1;
}
public Murre(playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
SetPlayerHealth(i,0);
}
}
return 1;
}