04.12.2014, 15:18
Alguйm pode me ajudar? tipo, eu queria consertar este bug, mais nгo consigo, alguйm?
Aqui nгo mostra a placa.
Aqui nгo desliga os veнculos do sv.. alguйm?
Aqui nгo mostra a placa.
pawn Код:
public InfoVeiculo()
{
for(new vehicleid = 0; vehicleid < MAX_VEHICLES; vehicleid++)
{
new string3[10];
format(string3, sizeof(string3),"ABC-%04d", vehicleid);
SetVehicleNumberPlateEx(vehicleid, string3);
SetVehicleToRespawn(vehicleid);
}
return true;
}
new numplate[MAX_VEHICLES][9];
forward SetVehicleNumberPlateEx(vehicleid, const numberplate[]);
public SetVehicleNumberPlateEx(vehicleid, const numberplate[])
{
format(numplate[vehicleid], sizeof(numplate), "%s", numberplate);
format(Carro[vehicleid][cChave], sizeof(numplate), "%s", numberplate);
SetVehicleNumberPlate(vehicleid, numplate[vehicleid]);
}
Aqui nгo desliga os veнculos do sv.. alguйm?
pawn Код:
for(new Veiculo = 1; Veiculo < MAX_VEHICLES; Veiculo++)
{
GetVehicleParamsEx(Veiculo, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(Veiculo, false, lights, false, doors, bonnet, boot, objective);
engine = 0;
}