Zmajk0

Untitled

Mar 31st, 2020
124
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(newstate==PLAYER_STATE_PASSENGER)
  2. {
  3. if(GetVehicleModel(GetPlayerVehicleID(playerid))!=448&&GetVehicleModel(GetPlayerVehicleID(playerid))!=461&&
  4. GetVehicleModel(GetPlayerVehicleID(playerid))!=462&&GetVehicleModel(GetPlayerVehicleID(playerid))!=463&&
  5. GetVehicleModel(GetPlayerVehicleID(playerid))!=468&&GetVehicleModel(GetPlayerVehicleID(playerid))!=521&&
  6. GetVehicleModel(GetPlayerVehicleID(playerid))!=522&&GetVehicleModel(GetPlayerVehicleID(playerid))!=581&&
  7. GetVehicleModel(GetPlayerVehicleID(playerid))!=586)
  8. if(!VoziloJeAvion(GetVehicleModel(GetPlayerVehicleID(playerid))))
  9. if(!VoziloJeBicikla(GetVehicleModel(GetPlayerVehicleID(playerid))))
  10. if(!VoziloJeMotor(GetVehicleModel(GetPlayerVehicleID(playerid))))
  11. if(!VoziloJeBrod(GetVehicleModel(GetPlayerVehicleID(playerid))))
  12. {
  13. TextDrawShowForPlayer(playerid,pojastd);
  14. }
  15. }
  16. if(newstate==PLAYER_STATE_DRIVER)
  17. {
  18. if(GetVehicleModel(GetPlayerVehicleID(playerid))!=448&&GetVehicleModel(GetPlayerVehicleID(playerid))!=461&&
  19. GetVehicleModel(GetPlayerVehicleID(playerid))!=462&&GetVehicleModel(GetPlayerVehicleID(playerid))!=463&&
  20. GetVehicleModel(GetPlayerVehicleID(playerid))!=468&&GetVehicleModel(GetPlayerVehicleID(playerid))!=521&&
  21. GetVehicleModel(GetPlayerVehicleID(playerid))!=522&&GetVehicleModel(GetPlayerVehicleID(playerid))!=581&&
  22. GetVehicleModel(GetPlayerVehicleID(playerid))!=586)
  23. if(!VoziloJeAvion(GetVehicleModel(GetPlayerVehicleID(playerid))))
  24. if(!VoziloJeBicikla(GetVehicleModel(GetPlayerVehicleID(playerid))))
  25. if(!VoziloJeMotor(GetVehicleModel(GetPlayerVehicleID(playerid))))
  26. if(!VoziloJeBrod(GetVehicleModel(GetPlayerVehicleID(playerid))))
  27. {
  28. TextDrawShowForPlayer(playerid,pojastd);
  29. }
  30. }
RAW Paste Data