Spaces in ZCMD and Car commands
#2

You have to use SetVehicleParamsEx. Example for engine command:

pawn Код:
CMD:carengine(playerid,params[])
{
     new engine,lights,alarm,doors,bonnet,boot,objective;
     GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
     SetVehicleParamsEx(vid,1,lights,alarm,doors,bonnet,boot,objective);
     SendClientMessage(playerid, -1, "Engine turned ON");
     return 1;
}
Reply


Messages In This Thread
Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 13:55
Re: Spaces in ZCMD and Car commands - by Mr.Anonymous - 04.01.2013, 14:20
Re: Spaces in ZCMD and Car commands - by Babul - 04.01.2013, 15:04
Re: Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 15:14
Re: Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 15:17
Re: Spaces in ZCMD and Car commands - by Babul - 04.01.2013, 15:26
Re: Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 15:41
Re: Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 15:45
Re: Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 15:48
Re: Spaces in ZCMD and Car commands - by Babul - 04.01.2013, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)