Bladex Posted February 28, 2013 Posted February 28, 2013 Am o problema nu-mi citeste masinile personale![pawn] for(new h = 92; h < sizeof(CarInfo); h++) { AddStaticVehicleEx(CarInfo[h][cIDcar],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColor1],CarInfo[h][cColor2],60000); SetVehicleNumberPlate(h,CarInfo[h][cPlate]); }[/pawn][pawn]new CarInfo[153][cInfo];[/pawn][pawn]public IsAnOwnableCar(vehicleid){ if(vehicleid >= 92 && vehicleid <= 152) { return 1; } return 0;}[/pawn]
Question
Bladex
Am o problema nu-mi citeste masinile personale!
[pawn] for(new h = 92; h < sizeof(CarInfo); h++)
{
AddStaticVehicleEx(CarInfo[h][cIDcar],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColor1],CarInfo[h][cColor2],60000);
SetVehicleNumberPlate(h,CarInfo[h][cPlate]);
}[/pawn]
[pawn]new CarInfo[153][cInfo];[/pawn]
[pawn]public IsAnOwnableCar(vehicleid)
{
if(vehicleid >= 92 && vehicleid <= 152)
{
return 1;
}
return 0;
}[/pawn]
2 answers to this question
Recommended Posts