01.04.2014, 13:36
Replace TrailerID[MAX_PLAYERS] to PlayerMissionID[MAX_PLAYERS] and set on start missionid to player array
then
and you don't need these xd
only
because everything is here
text,x,y,z,pay..
pawn Код:
PlayerMissionID[playerid] = missionid_here;
pawn Код:
if(GetVehicleModel(GetVehicleTrailer(GetPlayerVehicleID(playerid))) == PetrolTruckerLocations[PlayerMissionID[playerid]][TrailID])
pawn Код:
new MissionText[512][MAX_PLAYERS], Float:unx[MAX_PLAYERS], Float:uny[MAX_PLAYERS], Float:unz[MAX_PLAYERS], TrailerID[MAX_PLAYERS], Payment[MAX_PLAYERS], MissionStatus[MAX_PLAYERS];
pawn Код:
new PlayerMissionID[MAX_PLAYERS];
pawn Код:
new PetrolTruckerLocations[][PetrolTruckerLocationsEnum]