Guest User

Untitled

a guest
May 16th, 2015
231
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. forward MatuojaGreiti();
  2. public MatuojaGreiti()
  3. {
  4. new pGreitis;
  5. for(new playerid; playerid < MAX_PLAYERS; playerid++) // reikalinga
  6. {
  7. if(!IsPlayerConnected(playerid) || IsPlayerNPC(playerid)) continue;
  8. if(IsPlayerInRangeOfPoint(playerid, 20.0, 609.3229980,-421.7030029,17.9139996)
  9. || IsPlayerInRangeOfPoint(playerid, 20.0, 879.6562500,-565.4863281,18.4860001)
  10. || IsPlayerInRangeOfPoint(playerid, 20.0, 676.1539917,-637.9180298,15.3360004)
  11. || IsPlayerInRangeOfPoint(playerid, 20.0, 1278.1999512,210.4570007,18.5550003)
  12. || IsPlayerInRangeOfPoint(playerid, 20.0, 2490.4929199,36.4609985,25.4839993)
  13. || IsPlayerInRangeOfPoint(playerid, 20.0, 1362.9843750,222.4619141,18.5550003)
  14. || IsPlayerInRangeOfPoint(playerid, 20.0, -44.5206,-207.1252,1.3648)
  15. || IsPlayerInRangeOfPoint(playerid, 20.0, 2338.6120605,161.2530060,25.4839993)
  16. || IsPlayerInRangeOfPoint(playerid, 20.0, 2349.1962891,35.6718750,25.4839993))
  17. {
  18. new vehicleid = GetPlayerVehicleID(playerid);
  19. if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  20. {
  21. if(!IsABike(vehicleid))
  22. {
  23. if(zInfo[playerid][specialybe] == 1 || zInfo[playerid][specialybe] == 5 || zInfo[playerid][specialybe] == 15) return 1;
  24. if(GetPlayerScore(playerid)< 5000) return SendClientMessage(playerid,Orange,"• JÛS VIRÐIJOTE GREITÁ,BET ESATE NAUJOKAS TODËL NEGAUNATE ÁTARIMO •");
  25. pGreitis = GetSpeed(playerid);
  26. if(pGreitis > 90)
  27. {
  28. if(zInfo[playerid][GreitiMatuoja] <= gettime())
  29. {
  30. zInfo[playerid][GreitiMatuoja] = gettime() + 4;
  31. GameTextForPlayer(playerid, "~W~Virsijote leistina ~R~90KM/H ~W~greiti", 5000, 4);
  32. SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid)+2);
  33. }
  34.  
  35. }
  36. }
  37. }
  38. }
  39. }
  40. return 1;
  41. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×