#define MAX_CARR 4 new carnameidd[MAX_CARR] = { 1, 2, 3, 4 }; ------------------------------- public OnPlayerStateChange(playerid, newstate, oldstate) { if (newstate == PLAYER_STATE_DRIVER) { new vehicleid = GetPlayerVehicleID(playerid); for (new i=0; i < MAX_CARR; i++) { if (carnameidd[i] == vehicleid) { GameTextForPlayer(playerid, "You entered this vehicle, TEST", 5000, 3); } } }