Adding a new value to a variable
#1

Alright, on the public OnPlayerDeath, im trying to define a variable that if the killer kills a player on the TEAM_ZOMBIE, that will add 1 value to the var_KILL. And once the var kill is at least 1, the player gets a new weapon. And a newer one once var = 2 and so on and so forth. I already #defined var_KILL at the top of the script. Heres the code im trying to use:

Код:
if(gTeam[killerid] == TEAM_ZOMBIE);
	var_KILL == 1
Could anyone help with this?
Reply


Messages In This Thread
Adding a new value to a variable - by string227 - 08.01.2010, 23:25
Re: Adding a new value to a variable - by Toad - 08.01.2010, 23:40

Forum Jump:


Users browsing this thread: 1 Guest(s)