Help in kill assist
#8

idea :
Player X is the killer , player Y is the Helper (assiste killing) and player Z is the killed
When the Player Z is shooted , make a variable on the shooter (Y&X)
when the Player Z is dead , you can remove the variable on Y (the killer) and give him score/money or whatever and at the same time detect all the Y player (players who still have the varible) and use an other function on all those players,
example that will detect all the players that still have the variable when Z is dead
Код:
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
			if( Var[ playerid ] >= 1 ){
			//your function + don't forget to remove the Variable
		}
this is just a soft example , it should be much more longer
Reply


Messages In This Thread
Help in kill assist - by Virus. - 31.01.2013, 16:44
Re: Help in kill assist - by FUNExtreme - 31.01.2013, 16:51
Re: Help in kill assist - by Virus. - 31.01.2013, 16:53
Re: Help in kill assist - by Virus. - 01.02.2013, 05:47
Re: Help in kill assist - by Virus. - 01.02.2013, 16:42
Re: Help in kill assist - by thefatshizms - 01.02.2013, 16:44
Re: Help in kill assist - by Virus. - 01.02.2013, 16:58
Re : Help in kill assist - by Amine_Mejrhirrou - 01.02.2013, 17:11
Re: Help in kill assist - by Virus. - 01.02.2013, 17:14
Re : Help in kill assist - by Amine_Mejrhirrou - 01.02.2013, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)