>> Gates at National Guard (NG) <<
#1

I wish if I can do to me please barrier in the National Guard, but I want to open automatically when I honk the horn


Thanks in advance
Reply
#2

You should first create the gate where you want it, create the object.
Then you can do it with OnPlayerKeyStateChange
like
pawn Код:
if(newkeys==KEY_HANDBRAKE&&IsPlayerInAnyVehicle(playerid)&&GetVehicleModel(GetPlayerVehicleID(playerid))==471) // not sure about the model id
{
  MoveObject(yourobject,newX,newY,newZ);
  SendClientMessage(playerid,color,"You used the horn and opened the gate.");
}
Reply
#3

I do not know .... the Coordinating you can do to completely tutorial please?

PS: I'm in the Romania
Reply
#4

No, I can't make a tutorial, you can find tutorials yourself.
And it doesn't really matter where you are from.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)