InRange explosion
#3

Well we can do that in many ways..
One of the ways would be: (Just giving an example now).
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerInRangeOfPoint(i, 10, X, Y, Z)) // Change X Y Z to the coordinates you wanted.
{
new Float:PosX, Float:PosY, Float:PosZ;
GetPlayerPos(i, PosX, PosY, PosZ);
CreateExplosion(PosX, PosY, PosZ, type, radius) // Change type and radius to your needs, scroll down for the "type" link.
}
}
Click here for the list of "types".
Reply


Messages In This Thread
InRange explosion - by Eugene. - 05.10.2013, 11:08
Re: InRange explosion - by Dragonsaurus - 05.10.2013, 11:15
Re: InRange explosion - by JimmyCh - 05.10.2013, 11:17
Re: InRange explosion - by RajatPawar - 05.10.2013, 11:19
Re: InRange explosion - by Eugene. - 05.10.2013, 14:58
Re: InRange explosion - by mendax - 05.10.2013, 15:06

Forum Jump:


Users browsing this thread: 1 Guest(s)