[pomoc]ne zeli da spremi novac u bizz

Započeo Aldin Begovic
9. Feb. 2012. Zaključano
514
pregleda
3
postova
Aldin Begovic
4
Made Man
9. Feb. 2012.
mod:gf
opis problema:pokusao sam da napravim da kada odvezes liniju od autobusa da spremi novac u firmu ali nisam uspio ! Neznam sta ne valja! Molim pomoc!!!
cod:
new randpay = 390 + random(100);
new string;
new bonus = 100 + random(120);
GivePlayerCash(playerid, randpay+ bonus);
new payout = (randpay + bonus)/2;
TogglePlayerControllable(playerid, 1);
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, 0x8D531AFF, "___________");
format(string, sizeof(string), "Zarada: %d$.", randpay);
SendClientMessage(playerid, 0x9A6735FF, string);
format(string, sizeof(string), "Bonus: %d$.", bonus);
SendClientMessage(playerid, 0xA97E53FF, string);
format(string, sizeof(string), "Poslodavac dobija: %d$.", payout);
SendClientMessage(playerid, 0xB28C65FF, string);
SendClientMessage(playerid, 0xB89571FF, "___________");
format(string, sizeof(string), "Ukupna zarada: %d$.", randpay + bonus);
SendClientMessage(playerid, 0xBF9F7FFF, string);
Linija12 = 1;
PlayerInfo = 0;
for(new i = 0; i < sizeof(SBusinesses); i++)
{
if(SBusinesses == 33)
{
  SBusinesses += payout;
  SaveSBusiness(i);
    }
}
ivica 156
5
Crime Lord
9. Feb. 2012.
znaci stavi ovo negdje pri kraju i trebas znat id biza a znat ces tako da odes u mod i da odes edit bilo sta mozes lvl ili nesta i pisat ce ti nesta kao sbizz:24

SBizzInfo += 210;----->novac u firmi koji zelis ti sebi stavi
ExtortionSBiz(5, SBizzInfo);
SBizzInfo--;
ovo di je 5 to ti je id sbizza znaci ak je kod tebe recimo 14 onda pobrises 5 i stavis 14.Ukoliko nisi shvatio mozes mi se na PM javiti.
Aldin Begovic
4
Made Man
9. Feb. 2012.
{
new randpay = 390 + random(100);
new string;
new bonus = 100 + random(120);
GivePlayerCash(playerid, randpay+ bonus);
new payout = (randpay + bonus)/2;
TogglePlayerControllable(playerid, 1);
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, 0x8D531AFF, "___________");
format(string, sizeof(string), "Zarada: %d$.", randpay);
SendClientMessage(playerid, 0x9A6735FF, string);
format(string, sizeof(string), "Bonus: %d$.", bonus);
SendClientMessage(playerid, 0xA97E53FF, string);
format(string, sizeof(string), "Poslodavac dobija: %d$.", payout);
SendClientMessage(playerid, 0xB28C65FF, string);
SendClientMessage(playerid, 0xB89571FF, "___________");
format(string, sizeof(string), "Ukupna zarada: %d$.", randpay + bonus);
SendClientMessage(playerid, 0xBF9F7FFF, string);
Linija12 = 1;
PlayerInfo = 0;
SBizzInfo += 1000;
        ExtortionSBiz(24, SBizzInfo);
        SBizzInfo--;
}


id bizza je 24 al opet nece :S

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha