09.09.2010, 14:58
Add this to the top of your script.
On your command, change this.
To this.
Now on your public, change the CreateExplosion to this.
pawn Код:
new Float:bombx, Float:bomby, Float:bombz;
pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
CreateObject(1252, X, Y, Z, 0.0, 0.0, 96.0);
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);