04.01.2013, 14:20
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;
}