pawn Код:
if(DynamicCars[vehicleid][Chiusa] == 1)
{
SendClientMessage(playerid,-1,"[Portiere:] Il veicolo и chiuso.");
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
if(DynamicCars[vehicleid][Antifurto] == 1)
{
SetVehicleParamsEx(vehicleid,engine,lights,1,1,bonnet,boot,objective);
}
else
{
SetVehicleParamsEx(vehicleid,engine,lights,alarm,1,bonnet,boot,objective);
}
return 1;
}
Do you have any other code within that callback? Perhaps it is only checking if the person is a passenger.
No, it doesn't.