06.10.2011, 02:59
Ok so I think what i need is pretty simple, i'm learning quite a bit of pawn since i'v first started but I'm just starting to learn OnPlayerStateChange and etc.. I need it so when a player enters a certain amount of vehicles(certain IDs) a dialog will pop up heres what I have so far
Now I need to know how to make it so when a players enters those vehicles as driver a dialog pops up, need help ASAP, thanks
pawn Code:
//news
new truck1;
new truck2;
new truck3;
new truck4;
new truck5;
new truck6;
new VehicleID[MAX_PLAYERS];
//-------------------------------
OnGameModeInit
truck1 = CreateVehicle(515,616.83020020,1660.73547363,8.14590836,64.00000000,-1,-1,500);
truck2 = CreateVehicle(515,613.18267822,1657.07287598,8.14590836,66.00000000,-1,-1,500);
truck3 = CreateVehicle(514,608.20312500,1654.12878418,7.69186258,66.00000000,-1,-1,500);
truck4 = CreateVehicle(514,602.98663330,1651.26123047,7.69186258,66.00000000,-1,-1,500);
truck5 = CreateVehicle(403,599.76226807,1647.28845215,7.69218779,66.00000000,-1,-1,500);
truck6 = CreateVehicle(403,594.54644775,1644.41662598,7.69218779,66.00000000,-1,-1,500);