04.07.2014, 19:47
Function CreateVehicle() returns the new ID of newly created vehicle and that ID is stored into vehid[playerid]. So when we want to destroy the vehicle, we need to use its ID, so we do DestroyVehicle(vehid[playerid]);. I guess, there's something wrong maybe with boolean (vehspawned[MAX_PLAYERS]) or something else, but not with it.