new vid;vid = CreateVehicle(...
public OnPlayerStateChange(playerid, newstate, oldstate){if(newstate == PLAYER_STATE_DRIVER){new veh = GetPlayerVehicleID(playerid);if(veh == vid) return RemovePlayerFromVehicle(playerid);}return 1;}