10.02.2011, 17:32
ok so is simple i want to detect if the player goes in to this boat
i got this
Then This
And finally
i got this
pawn Код:
new Boat1;
new Boat2;
pawn Код:
Boat1 = AddStaticVehicleEx(453,2375.82153320,531.12689209,0.00000000,179.45959473,-1,-1,15); //Reefer
Boat2 = AddStaticVehicleEx(453,2065.95507812,-236.42036438,0.00000000,0.00000000,-1,-1,15); //Reefer
pawn Код:
if(GetVehicleModel(vehicleid) == Boat1){
//blablabla
}else if(GetVehicleModel(vehicleid) == Boat2){
//blablabla
}