Advertisement
RiccB

Vehicle Seat crash

Dec 24th, 2020
26
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  2. {
  3. if(playerid == INVALID_PLAYER_ID) return 1;
  4. if(IsPlayerInAnyVehicle(playerid) && ispassenger == 4)
  5. {
  6. RemovePlayerFromVehicle(playerid);
  7. SendClientMessage(playerid, 0xd36e4aFF, "[kick] Jūs išmestas iš serverio už neleistinų programų naudojimą (Vehicle Seat crash).");
  8. SendClientMessage(playerid, 0xffffffaa, "Atsiprašome jeigu buvote išmestas per klaidą.");
  9. KickEx(playerid);
  10. return 1;
  11. }
  12. return 1;
  13. }
Advertisement
RAW Paste Data Copied
Advertisement