25.06.2017, 12:21
This line
has no effect, unless you pass the variable by reference.
Notice the ampersand.
PHP Code:
vehicle = INVALID_VEHICLE_ID;
PHP Code:
stock DestroyVehicleNew(&vehicle)