How to detect differfent trailers?
#2

pawn Код:
if(GetVehicleModel(GetVehicleTrailer(GetPlayerVehicleID(playerid))) == 584)
Checks in this case for the trailer ID 584. Than does it depends how you load the missions, if they have a clearly ID for the load (Box, Petro, Dirt) can you ask if the trailer id and the clearly setted ID.

Like this:

pawn Код:
if(GetVehicleModel(GetVehicleTrailer(GetPlayerVehicleID(playerid))) == 584 && ClealyID[Missions]==LoadID)
Reply


Messages In This Thread
**DELETE** - by Pettersen - 12.05.2013, 13:11
AW: How to detect differfent trailers? - by ulbi1990 - 12.05.2013, 13:14
**DELETE** - by Pettersen - 12.05.2013, 13:19
AW: How to detect differfent trailers? - by ulbi1990 - 12.05.2013, 13:26
**DELETE** - by Pettersen - 12.05.2013, 13:44
**DELETE** - by Pettersen - 12.05.2013, 14:38

Forum Jump:


Users browsing this thread: 3 Guest(s)