19.04.2017, 00:40
Idk but why are you checking if it's equal to MAX_VEHICLES? Just check if it's a valid vehicle.
Code:
public OnPlayerExitVehicle(playerid, vehicleid) { if(!IsValidVehicle(vehicleid) Kick(playerid); printf("Vehicle ID: %i", vehicleid); }