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
#2

BUMP.. ? i think this need to make with playertakedamage but i can't getting errors ;/ somebody ?
Reply
#3

Don't bump more often than 24 hours. If someone can help you, they will. If they can't help you, they won't. Just be patient and try and figure it out on your own while you wait.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)