Trying to think of a suitable key -
braduz - 05.02.2010
for the gate, it will open on a key, but what key will work both in a vehicle and out of it :/
Re: Trying to think of a suitable key -
Torran - 05.02.2010
Works both in car and out
Re: Trying to think of a suitable key -
braduz - 05.02.2010
Quote:
Originally Posted by Torran
Works both in car and out
|
tyvm torran, gold cookie for you
Re: Trying to think of a suitable key -
braduz - 05.02.2010
Quote:
Originally Posted by Torran
Works both in car and out
|
wth it only works on foot

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (HOLDING(KEY_JUMP))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 213.8026,1876.0151,13.1406))
{
MoveObject(fronthqgate, 226.2012,1875.1792,13.8000, 2.00);
}
return 1;
}
if (RELEASED(KEY_JUMP))
{
MoveObject(fronthqgate, 214.2012,1875.1792,13.8000, 2.00);
}
return 1;
}
Re: Trying to think of a suitable key -
Torran - 05.02.2010
It dosent, It works in a car too, I use it on my engine system
Re: Trying to think of a suitable key -
braduz - 05.02.2010
Quote:
Originally Posted by Torran
It dosent, It works in a car too, I use it on my engine system
|
KEY jump in a vehicle is s (make the car go backwards)
Re: Trying to think of a suitable key -
Torran - 05.02.2010
Look at my engine system

...
Re: Trying to think of a suitable key -
braduz - 05.02.2010
Quote:
Originally Posted by Torran
Look at my engine system  ...
|
irelivent
Re: Trying to think of a suitable key -
Torran - 05.02.2010
Quote:
Originally Posted by braduz
Quote:
Originally Posted by Torran
Look at my engine system  ...
|
irelivent

|
If you look at my engine system, You will find that KEY_JUMP works in the car, And if u download the engine system,
Get in a car, And press S, you will see tht nothing happens
Re: Trying to think of a suitable key -
Julian2574 - 05.02.2010
KEY_HORN ( When you horn inside the car the gate will open , That's realistic. ) , When you're outside you need to press Crouch key.