Making Arrest system while wanted is in the car problem
#3

Use OnPlayerKeyStateChange

To make a test for pressing 2 keys at the same time you can do something like this with your own keys:
Код:
if((newkeys & KEY_FIRE) && (newkeys & KEY_CROUCH))
{
//do something
}
There's plenty examples on the wiki.

Here's a list of all the keys.

Like Maxandmov said, give it ago, if you get stuck, just ask.
Reply


Messages In This Thread
Making Arrest system while wanted is in the car problem - by Jeamie - 23.04.2018, 10:52
Re: Making Arrest system while wanted is in the car problem - by Maxandmov - 23.04.2018, 13:03
Re: Making Arrest system while wanted is in the car problem - by ItsRobinson - 23.04.2018, 20:14

Forum Jump:


Users browsing this thread: 1 Guest(s)