Ellenõrizni nem tudom, de hibát nem ír. Elvileg mûködik
[pawn]#include <a_samp>
public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerInAnyVehicle(playerid)) {
new vehicleid = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vehicleid) == 443) {
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, 1, objective);
}
}
return 1;
}[/pawn]