03.01.2014, 10:33
Quote:
that's just wrong, the params of GetVehiclePos are: vehicleid, x, y, z
you're using the modelid instead od the vehicleid do it like this, make a new var and assign the vehicleid of the car when the player types /starttrash to that var example: pawn Код:
also, you should remove that filterscript stuff, like "OnFilterscriptInit" you got stuff in OnGamemodeInit so im assuming that that's a GM not a FS. you're also creating vehicles at the same spot, just sayin' |
anyway he should store vehicle id on AddStaticVehicle in his case for ex
pawn Код:
new VEHXO = AddStaticVehicle(411, 2039.8792, 1339.7240, 10.6719, 179.8416, 0, 0);
pawn Код:
GetVehiclePos(VEHXO,XXO, YXO, ZXO);