[Help] Create an explosion in a particular area?
#1

I have an arena of DM and do not want planes passing through there, if they pass is going to explode?
Reply
#2

Quote:
Originally Posted by Jaked
I have an arena of DM and do not want planes passing through there, if they pass is going to explode?
Are you asking us or do you want us to help you?

pawn Код:
new
  Float:x,
  Float:y,
  Float:z;

GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
CreateExplosion(x, y, z, 7, 10.0);
Reply
#3

More Where I put the position of the area to be exploded? x,y,z ?
Reply
#4

Leave his code as it is, You dont have to change any of it,
Leave the x, y, z as they are,
Also use GetVehicleModel to see if that players in a plane,

And run it through a timer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)