30.09.2011, 02:49
Hi guys, I'm having troubles with the dealership system I've got right. So when the gameloads, it creates a users owned vehicle like this:
Then I have a code that returns CarInfo[idx][ownedvehicle] as a Vehicle ID. Sometimes though, it bugs, and gives a different vehicle id, or an invalid vehicle ID. So is there any way I can grab the actual Vehicle ID of CarInfo[...][ownedvehicle] ?
pawn Код:
CarInfo[idx][ownedvehicle] = CreateVehicle(CarInfo[idx][vModel],CarInfo[idx][vLocationx],CarInfo[idx][vLocationy],CarInfo[idx][vLocationz],CarInfo[idx][vAngle],CarInfo[idx][vColorOne],CarInfo[idx][vColorTwo],10000);