[Help]Timer
#10

Add this to the top of your script.
pawn Код:
new Float:bombx, Float:bomby, Float:bombz;
On your command, change this.
pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
CreateObject(1252, X, Y, Z, 0.0, 0.0, 96.0);
To this.
pawn Код:
GetPlayerPos(playerid, bombx, bomby, bombz);
CreateObject(1252, bombx, bomby, bombz, 0.0, 0.0, 96.0);

Now on your public, change the CreateExplosion to this.
pawn Код:
CreateExplosion(bombx, bomby, bombz, 2, 2);
Reply


Messages In This Thread
[SOLVED] - by Matej_ - 09.09.2010, 11:07
Re: [Help]Timer - by LarzI - 09.09.2010, 11:09
Re: [Help]Timer - by Matej_ - 09.09.2010, 11:12
Re: [Help]Timer - by Matej_ - 09.09.2010, 11:14
Re: [Help]Timer - by LarzI - 09.09.2010, 11:16
Re: [Help]Timer - by Matej_ - 09.09.2010, 11:17
Re: [Help]Timer - by mrcoolballs - 09.09.2010, 11:18
Re: [Help]Timer - by Matej_ - 09.09.2010, 11:26
Re: [Help]Timer - by Matej_ - 09.09.2010, 11:29
Re: [Help]Timer - by Dudits - 09.09.2010, 14:58

Forum Jump:


Users browsing this thread: 1 Guest(s)