Would this work?
#3

Quote:
Originally Posted by antonio112
Посмотреть сообщение
Yes, that would work.

bonnet = hood
boot = trunk
objective = the yellow arrow on top of the vehicle
Okay thank you. One more thing. I want to do /engine to turn on, and /engine to turn off. How would i do so.

Heres my code.

pawn Код:
CMD:engine(playerid,params[])
{
    new vid;
    vid = GetPlayerVehicleID(playerid);
    new engine,lights,alarm,doors,bonnet,boot,objective;
    GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(vid,true,lights,alarm,doors,bonnet,boot,objective);
    SCM(playerid,COLOR_LIGHTRED,"The Vehicle Has Started!");
        return 1;
}
SCM is SendClientMessage
Reply


Messages In This Thread
Would this work? - by Shockey HD - 11.08.2011, 22:40
Re: Would this work? - by antonio112 - 11.08.2011, 22:43
Re: Would this work? - by Shockey HD - 11.08.2011, 23:24
Re: Would this work? - by Onyewu - 11.08.2011, 23:28
Re: Would this work? - by Shockey HD - 11.08.2011, 23:40
Re: Would this work? - by PrawkC - 11.08.2011, 23:43
Re: Would this work? - by antonio112 - 11.08.2011, 23:48

Forum Jump:


Users browsing this thread: 5 Guest(s)