26.07.2012, 18:38
If changing this conditional doesn't help:
You can try debugging by placing
in a lot of places, or something. I can't help you because code you've provided is correct, so probably the error lays somewhere else. Or if you trust me you can provide whole GM so I can dig deeper, but I understand if you don't want to do this
Also is -1 the default value of PlayerInfo[playerid][pDeliveryVeh]?
You can try debugging by placing
pawn Код:
printf("Current truck id for %d is %d when doing [here some more info about when you display it]", playerid, PlayerInfo[playerid][pDeliveryVeh]);
Also is -1 the default value of PlayerInfo[playerid][pDeliveryVeh]?