09.06.2018, 17:48
Is there a quicker way to stop a vehicle?
This is what I've got atm:
This is what I've got atm:
Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(pcheckpointTrucker[playerid] == 1)
{
new i;
DisablePlayerCheckpoint(playerid);
GetVehicleParamsEx(GetPlayerVehicleID(i), engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(GetPlayerVehicleID(i), 0, lights, alarm, doors, bonnet, boot, objective);
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Unload the crate and store it inside the garage.");
}
}

