31.08.2012, 11:39
Hi i start one gamemode but i need team balance
the teams is
Zombie
and
Human
i need on player spawn to spawn on 3 zombies 1 human who can help me
skype:Rumen98
im using this
How can i make this then have only infect 0 to spawn infect 1 ?
the teams is
Zombie
and
Human
i need on player spawn to spawn on 3 zombies 1 human who can help me
skype:Rumen98
im using this
PHP код:
if(PlayerInfo[playerid][Infect] == 1)
{
new pName[MAX_PLAYER_NAME], String[128];
GetPlayerName(playerid, pName, 24);
format(String, sizeof(String), "%s е спалнът като зомби", pName);
SendClientMessageToAll(red, String);
SetPlayerColor(playerid,red);
return 0;
}
else if(PlayerInfo[playerid][Infect] == 0)
{
new pName[MAX_PLAYER_NAME], String[128];
GetPlayerName(playerid, pName, 24);
format(String, sizeof(String), "%s е спалнът като човек", pName);
SendClientMessageToAll(green, String);
Timer3 = SetTimer("SetMyRank", 5000, true);
SetPlayerColor(playerid,blue);
return 0;
}