public car_cash(playerid) { if(IsPlayerInVehicle(playerid, 1)){ GivePlayerMoney(playerid, 200); GameTextForPlayer(playerid, "You have recived $200 for your public services", 5000, 4); } else if(IsPlayerInVehicle(playerid, 2)){ GivePlayerMoney(playerid, 200); GameTextForPlayer(playerid, "You have recived $200 for your public services", 5000, 4); } all the rest .. } end bracket