How to make this explotion now kill you
#1

Hello, how do i make that this explotion doesnt kill you, but just take away
like 30% of your health? i have been looking at the samp explotion list.
but some of the explotions does not even show, and some other creates fire
and it must not create fire.

pawn Код:
if(luck <= 29)
                    {
                        new string[85];
                        new Float:x, Float:y, Float:z;
                        GetPlayerPos(playerid, x, y, z);
                        CreateExplosion(x, y, z, 5, 10.0);
                        PlayerInfo[playerid][pFishSkill] += 1;
                        Fishes[playerid][pTempFishName] = 0;
                        SendClientMessage(playerid, COLOR_GREY, "   You caught an undetonated sea mine!");
                        format(string, sizeof(string), "* %s reels in an undetonated sea mine!", RemoveUnderScore(playerid));
                        ProxDetector(30.0, playerid, string, COLOR_RED,COLOR_RED,COLOR_RED,COLOR_RED,COLOR_RED);
                        RemovePlayerAttachedObject(playerid,0);
                        FishCaught[playerid] = 0;
                        Fishing[playerid] = 0;
                        KillTimer(fishtimer[playerid]);
                        return 1;
                    }
Reply


Messages In This Thread
How to make this explotion now kill you - by MayaEU - 23.07.2016, 14:52
Re: How to make this explotion now kill you - by GangstaSunny - 23.07.2016, 14:59
Re: How to make this explotion now kill you - by K0P - 23.07.2016, 16:12
Re: How to make this explotion now kill you - by Stinged - 23.07.2016, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)