What's the "radius" of CreateExplosion?
#2

pawn Код:
/*Float:X   The X-coordinate where the explosion will happen.
Float:Y The Y-coordinate where the explosion will happen.
Float:Z The Z-coordinate where the explosion will happen.
type    The type of explosion.
Float:radius    The explosion radius.
*/


CreateExplosion(x+random(5), y+random(5), z+random(5), 12, 10.0);
As we can see the last parameter of CreateExplosion is radius. You use a very high value that's why you can't notice any change. Try to put a small value and see if it's the same.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)