Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /////////////////////////////////BERE MALINE////////////////////////////////////////
- if(UzeoKutiju[playerid] == 1)
- {
- if(IsPlayerInRangeOfPoint(playerid, 3.0, -165.5688,-1402.4922,3.0334))
- {
- GameTextForPlayer(playerid, "~y~Nastavite sa branjem", 3000, 3);
- SetPlayerCheckpoint(playerid, -176.9878,-1402.2269,3.0738, 3.0);
- UzeoKutiju[playerid] == 2; // OVDE BACA WARNING //
- }
- }
- if(UzeoKutiju[playerid] == 2)
- {
- if(IsPlayerInRangeOfPoint(playerid, 3.0, -176.9878,-1402.2269,3.0738))
- {
- GameTextForPlayer(playerid, "~y~Nastavite sa branjem", 3000, 3);
- SetPlayerCheckpoint(playerid, -187.5364,-1402.2446,4.1579, 3.0);
- UzeoKutiju[playerid] == 3; //OVDE BACA//
- }
- }
- if(UzeoKutiju[playerid] == 3)
- {
- if(IsPlayerInRangeOfPoint(playerid, 3.0, -187.5364,-1402.2446,4.1579))
- {
- GameTextForPlayer(playerid, "~y~Nastavite sa branjem", 3000, 3);
- SetPlayerCheckpoint(playerid, -206.4026,-1402.2725,6.0974, 3.0);
- UzeoKutiju[playerid] == 4; //OVDE BACA//
- }
- }
- if(UzeoKutiju[playerid] == 4)
- {
- if(IsPlayerInRangeOfPoint(playerid, 3.0, -206.4026,-1402.2725,6.0974))
- {
- GameTextForPlayer(playerid, "~y~Otidjite po zaradu", 3000, 3);
- SetPlayerCheckpoint(playerid, -238.8538,-1402.2112,9.2119, 3.0);
- UzeoKutiju[playerid] == 5; //OVDE BACA//
- }
- }
- if(UzeoKutiju[playerid] == 5)
- {
- if(IsPlayerInRangeOfPoint(playerid, 3.0, -238.8538,-1402.2112,9.2119))
- {
- new bonus = random(50), string[120];
- PI[playerid][pPlata] +=OrgInfo[DostavljacPlata]+bonus;
- format(string,sizeof(string),""COL_SERVERB"Uspesno ste zavrsili berbu!\n\n"BELA"Plata: "COL_SERVERB"$%d\n"BELA"Bonus: "COL_SERVERB"$%d",OrgInfo[DostavljacPlata],bonus);
- SPD(playerid,DIALOG_ISPLATA,DSM,""COL_SERVERB"Kraj Berbe",string,"OK","");
- UzeoKutiju[playerid] = 0; DisablePlayerCheckpoint(playerid); FirmaNovac(100, 200);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement