CreateExplosion Problem
#1

hello,

if i do
Код:
if(!strcmp("/nuke", cmdtext, true))
{
     new Float: X, Float: Y, Float: Z;
     CreateExplosion(X,Y,Z,4,45);
     return 1;
}
then it shows me nothing no explosion:S

thnx for all your help,
speediekiller2
Reply
#2

Where do you want the explosion to happen? Near player?
Reply
#3

no in the player them selves or near the player is already good
Reply
#4

pawn Код:
if(!strcmp("/nuke", cmdtext, true))
{
     new Float: X, Float: Y, Float: Z;
     GetPlayerPos(playerid, X, Y, Z );
     CreateExplosion(X,Y,Z,4,45);
     return 1;
}
You didn't set the variables X Y Z value, so the explosion created at default value 0.0.
Reply
#5

oooh ive got it thnx for helping
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)