23.07.2016, 14:52
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.
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;
}