06.03.2013, 19:16
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:
i don't forget if you help.
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);