24.02.2011, 18:10
Hello.Im making zombie server.first everyone spawn as humans, but after 30 seconds someone got randomly infected and becomes zombie.how i can do that someone randomly changes team to ZOMBIE_TEAM?can anyone help me?
here is some things u may need:
here is some things u may need:
Код:
#define TEAM_HUMAN 0 #define TEAM_ZOMBIE 1
Код:
if(PlayerTeam[playerid] == 1) // ZOMBIE TEAM = 0