Is this possible?
#4

Quote:
Originally Posted by PGTips
Посмотреть сообщение
you would need to do

OnPlayerShootPlayer

which can be downloaded

Then check the side there on and check which side they killed

then if they killed a team mate you can kill them by setting health to 0

PS: if you'd like help with the code post your team varibles and stuff here no the system just the varibles you have to find a team
He said kills, meaning OnPlayerDeath would be suitable.

Yes, you can do this - record what gang zone the player is fighting for and in OnPlayerDeath, check if killerid is for the same gang zone then use SetPlayerHealth() to set the player's health to 0.
Reply


Messages In This Thread
Is this possible? - by Shockey HD - 31.07.2011, 15:53
Re: Is this possible? - by PGTips - 31.07.2011, 15:56
Re: Is this possible? - by wups - 31.07.2011, 15:59
Re: Is this possible? - by Calgon - 31.07.2011, 15:59
Re: Is this possible? - by PGTips - 31.07.2011, 16:01

Forum Jump:


Users browsing this thread: 1 Guest(s)