08.06.2016, 18:56
lo puse asi no se si sea correcto pero me funciono, que dice usted?
Quote:
if(mDead[playerid] == false) { SetPlayerHealth(playerid, 100000000.0); SendClientMessage(playerid,COLOR_GREEN,"{FDC749}[Spawn]: {FFFFFF}Estбs protegido por {00FF00}5{FFFFFF} segundos de Anti Spawn Kill."); SetPlayerChatBubble(playerid, "PROTEGIDO", 0x00ff0000, 100.0, 10000); SetTimerEx("AntiSpawnkill",5000,0,"i",playerid); } if(mDead[playerid] == true) { new r = random(sizeof(DESMADRER)); SetPlayerInterior(playerid, 1); ResetPlayerWeapons(playerid); VariableDeBloqueo[playerid] = 1; SetPlayerHealth(playerid,100); GivePlayerWeapon(playerid, 24, 99999); GivePlayerWeapon(playerid, 25, 99999); GivePlayerWeapon(playerid, 34, 99999); SetPlayerArmour(playerid, 100); SetPlayerPos(playerid, DESMADRER[r][0], DESMADRER[r][1], DESMADRER[r][2]); } return 1; } |