01.03.2013, 14:05
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;
}
Its an annoying problem