Trying to think of a suitable key
#4

Quote:
Originally Posted by Torran
Код:
KEY_JUMP
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;
}
Reply


Messages In This Thread
Trying to think of a suitable key - by braduz - 05.02.2010, 18:38
Re: Trying to think of a suitable key - by Torran - 05.02.2010, 18:40
Re: Trying to think of a suitable key - by braduz - 05.02.2010, 18:41
Re: Trying to think of a suitable key - by braduz - 05.02.2010, 18:45
Re: Trying to think of a suitable key - by Torran - 05.02.2010, 18:58
Re: Trying to think of a suitable key - by braduz - 05.02.2010, 18:59
Re: Trying to think of a suitable key - by Torran - 05.02.2010, 19:20
Re: Trying to think of a suitable key - by braduz - 05.02.2010, 19:41
Re: Trying to think of a suitable key - by Torran - 05.02.2010, 19:44
Re: Trying to think of a suitable key - by Julian2574 - 05.02.2010, 19:45

Forum Jump:


Users browsing this thread: 1 Guest(s)