10.04.2017, 19:55
Here is the code, i cant open/close trunk of vehicle:
Код:
YCMD:opentrunk(playerid, params[], help)
{
new string[100];
format(string, sizeof(string), "%s closed trunk.", GetName(playerid));
SendClientMessage(playerid, COLOR_WHITE, string);
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(TvornicaVozilo[0], engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(TvornicaVozilo[0], engine, lights, alarm, doors, bonnet, VEHICLE_PARAMS_ON, objective);
return 1;
}



