Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(IsPlayerInRangeOfPoint(playerid, 5.0, 2082.7188,-1571.6416,13.5810))
- {
- if(PlayerInfo[playerid][pPosao] == 9 && vID >= mehv[0] && vID <= mehv[5] && GetPlayerState(playerid) == 2)
- {
- if(PlayerInfo[playerid][pMehanicarOdvoz] != 0)
- {
- format(string, 128, ""SPLAVA"SL:RP | "BIJELA"Moras sacekat %d do sljedeceg odvoza", PlayerInfo[playerid][pMehanicarOdvoz]);
- SCM(playerid, -1, string);
- return 1;
- }
- if(IsTrailerAttachedToVehicle(vID))
- {
- DisablePlayerCheckpoint(playerid);
- new plata = 350 + random(100);
- new bonus = 50 + random(30);
- SCMF(playerid, -1, ""CRVENA"(posao) "BIJELA"Zaradio si %d$ od ovog vozila!", plata+bonus);
- NovacPlus(playerid, plata+bonus);
- PlayerInfo[playerid][pMehanicarOdvoz] = 300;
- AC_BS_SetVehicleToRespawn(GetVehicleTrailer(GetPlayerVehicleID(playerid)));
- new zafirmu = 150 + random(100);
- for(new i = 0; i < sizeof(sFI); i++)
- {
- if(sFI[i][sfVW] == 6)
- {
- sFI[i][sfNovac] += zafirmu;
- SacuvajsFirmu(i);
- }
- }
- }
- else return SCM(playerid, -1, ""SPLAVA"SL:RP | "BIJELA"Nemate zakaceno vozilo!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment