25.07.2014, 12:15
Suggestion, get the vehicle ID only once instead multiple times like you did, it's bad practice...
Just save it in a variable, like so:
And then use 'vehid' for 'vehicleid' parameter. Also check the Wiki for any function documentation.
Just save it in a variable, like so:
pawn Код:
new vehid = GetPlayerVehicleID(playerid);