mine on player enter checkpoint - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mine on player enter checkpoint (
/showthread.php?tid=319939)
mine on player enter checkpoint -
andrewgrob - 20.02.2012
is there away i can make a mine explosion
like if a soldier steps on it... it will explode them
i think it might have to be entercheckpoint but im not sure tho ?
if somebody scripts it ill pay them in paypal
thing is . i dont want cmd for it . i just want it static in my gamemode
of if i can get a cmd too i might use it
anyways im gunna try and script it. ill post my trys here
Re: mine on player enter checkpoint -
John Rockie - 20.02.2012
Heres a cool filterscript.
http://forum.sa-mp.com/showthread.ph...highlight=bomb
Re: mine on player enter checkpoint -
ReneG - 20.02.2012
You can maybe use
pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,range,x,y,z)) //Mine coordinates here.
{
CreateExplosion(//Explosion Information here. make sure to use the same coords as IsPlayerInRangeOfPoint,
}
return 1;
}
But OnPlayerUpdate gets called several times a second so this will cause a lot of explosions if the player "steps" on the mine.
Re: mine on player enter checkpoint -
andrewgrob - 20.02.2012
thanks vincent i will try that now