need granate script
#1

Hi i hawe boomer script that explode ant infect another i need that script but just with granate i drop granate take health ant infect players.
boomer script:
Код:
new Float:x,Float:y,Float:z;
			        GetPlayerPos(playerid,Float:x,Float:y,Float:z);
			        SetPlayerHealth(playerid,0.0);
			        CreateExplosion(Float:x,Float:y,Float:z,0,6.0);
			        foreach(Player,i)
					{
			            GetClosestPlayer(i);
			            if(IsPlayerConnected(i))
						{
		                 	switch(GetPlayerSkin(i))
			                {
		                        case NON_IMMUNE:
								{
				                    if(IsPlayerInRangeOfPoint(i,7.0,Float:x,Float:y,Float:z))
									{
										if(pInfo[i][IsPlayerInfected] == 0)
										{
										    InfectPlayerStandard(i);
i don't forget if you help.
Reply


Messages In This Thread
need granate script - by ignas1125 - 06.03.2013, 19:16
Re: need granate script - by ignas1125 - 06.03.2013, 19:33
Re: need granate script - by kaisersouse - 06.03.2013, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)