Explode Command. - 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: Explode Command. (
/showthread.php?tid=317726)
Explode Command. -
Sting. - 12.02.2012
Ok, now I want to know about this exploding thing. Ok, I created a command ex. /airstrike and I did, IfIsPlayerInRangeOfPoint, SetPlayerHealth(playerid, 0.00) ... Now with that command IfIsPlayerInRangeofPoint and the rage point is ex. 100.0000 will it work?
Will the player's in range of point die?
Re: Explode Command. -
MP2 - 12.02.2012
Yes, it'll work.
100 is a massive radius though:
Depending on what you're using it for exactly, it might be too big.
Re: Explode Command. -
KingHual - 12.02.2012
It will work, though I would recommend you to create real huge explosions at that place. Looks more realistic.
Re: Explode Command. -
MP2 - 12.02.2012
You can't create explosions so big.
Re: Explode Command. -
KingHual - 12.02.2012
Quote:
Originally Posted by MP2
You can't create explosions so big.
|
But he could create a few o.o
Re: Explode Command. -
MP2 - 12.02.2012
There's a limit as to how many can be shown. Depending on the scale of the explosion that he wants, using SetPlayerHealth would be better, with an explosion at the center.
Re: Explode Command. -
Sting. - 13.02.2012
Ok, good to know.. but will I die too?
Re: Explode Command. -
KingHual - 13.02.2012
if you are in radius...