05.11.2013, 22:11
Код:
forward ChecarZM(); public ChecarZM() { for(new i = 0; i < MAX_PLAYERS; i++) { if(zombievivos <= 1) { if(InZombieMode[i] == 1) { new string[120]; format(string,sizeof(string),"Os Caзadores de Zumbis venceram a batalha e agora o MUNDO estб SALVO!"); SendZombieMessage(0x33CCFFAA,string); ResetPlayerWeapons(i); SpawnPlayer(i); SetPlayerArmour(i,0); zombievivos = 0; humanovivos = 0; InZombieMode[i] = 0; IsAZombie[i] = 0; IsAHuman[i] = 0; } } if(humanovivos <= 1) { if(InZombieMode[i] == 1) { new string[120]; format(string,sizeof(string),"[BVC_Zumbi] Os Zumbis venceram a batalha e dominaram o MUNDO!"); SendZombieMessage(0xFF6347AA,string); ResetPlayerWeapons(i); SpawnPlayer(i); SetPlayerArmour(i,0); zombievivos = 0; humanovivos = 0; InZombieMode[i] = 0; IsAZombie[i] = 0; IsAHuman[i] = 0; } } } }
http://i.imgur.com/cE7q0Qf.png
do +rep
@edit
isso buga sу nos outros ids no id 0 mostra certo
Код:
for (new i; i < MAX_PLAYERS; i++)