23.08.2011, 08:59
Hey guys,
Is there some sort of anti team kill function? I know theres one in the SetPlayerTeam & GetPlayerTeam function, but that doesnt work correct. I setted the team of me & my friend to 0, and still was able to kill him, but he couldnt kill me. So is there any better function for this?
Also, how would i get a random number between 2 numbers?
Like:
RandomEx(500, 1000);
This would get a number between 500 & 1000. I know i saw it somewhere around the forum, but i dont know exactly where.
~Wesley
Is there some sort of anti team kill function? I know theres one in the SetPlayerTeam & GetPlayerTeam function, but that doesnt work correct. I setted the team of me & my friend to 0, and still was able to kill him, but he couldnt kill me. So is there any better function for this?
Also, how would i get a random number between 2 numbers?
Like:
RandomEx(500, 1000);
This would get a number between 500 & 1000. I know i saw it somewhere around the forum, but i dont know exactly where.
~Wesley