Guest User

meh

a guest
Jul 18th, 2014
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1.  
  2. if(IsPlayerInRangeOfPoint(playerid, 5.0, 2082.7188,-1571.6416,13.5810))
  3. {
  4. if(PlayerInfo[playerid][pPosao] == 9 && vID >= mehv[0] && vID <= mehv[5] && GetPlayerState(playerid) == 2)
  5. {
  6. if(PlayerInfo[playerid][pMehanicarOdvoz] != 0)
  7. {
  8. format(string, 128, ""SPLAVA"SL:RP | "BIJELA"Moras sacekat %d do sljedeceg odvoza", PlayerInfo[playerid][pMehanicarOdvoz]);
  9. SCM(playerid, -1, string);
  10. return 1;
  11. }
  12. if(IsTrailerAttachedToVehicle(vID))
  13. {
  14. DisablePlayerCheckpoint(playerid);
  15. new plata = 350 + random(100);
  16. new bonus = 50 + random(30);
  17. SCMF(playerid, -1, ""CRVENA"(posao) "BIJELA"Zaradio si %d$ od ovog vozila!", plata+bonus);
  18. NovacPlus(playerid, plata+bonus);
  19. PlayerInfo[playerid][pMehanicarOdvoz] = 300;
  20. AC_BS_SetVehicleToRespawn(GetVehicleTrailer(GetPlayerVehicleID(playerid)));
  21. new zafirmu = 150 + random(100);
  22. for(new i = 0; i < sizeof(sFI); i++)
  23. {
  24. if(sFI[i][sfVW] == 6)
  25. {
  26. sFI[i][sfNovac] += zafirmu;
  27. SacuvajsFirmu(i);
  28. }
  29. }
  30. }
  31. else return SCM(playerid, -1, ""SPLAVA"SL:RP | "BIJELA"Nemate zakaceno vozilo!");
  32. }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment