27.01.2013, 17:10
(
Последний раз редактировалось jakejohnsonusa; 27.01.2013 в 18:43.
)
Ok so I want to make a /jackcar command for the Car Jacker job in my GM. But I'm not sure how to begin.
I want it to be realistic and force the driver of a nearby car (say 15 as a radius) out and the playerid that does the command to be put in the car. However I want it to be realistic and also play the animations. How can I do this?
Please don't say just press F next to the car, as there will be other things that I add to this...
Thanks in advance!
What I have so far (just the beggining):
I want it to be realistic and force the driver of a nearby car (say 15 as a radius) out and the playerid that does the command to be put in the car. However I want it to be realistic and also play the animations. How can I do this?
Please don't say just press F next to the car, as there will be other things that I add to this...
Thanks in advance!
What I have so far (just the beggining):
pawn Код:
if (strcmp(cmd, "/jackcar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(!IsPlayerInAnyVehicle(playerid))
{