There's no name
#3

this is my mode i send you a code where player accept apartment from another player
and do you need a updatestan stock?

Quote:

if(StaProdaje[playerid] == PR_STAN)
{
if(PlayerInfo[playerid][pStan] != -1) return SCM(playerid, GRAD2, "{F81414}[Greska!] {C3C3C3}Vi vec posjedujete jedan stan!");
PlayerInfo[playerid][pStan] = PlayerInfo[id][pStan];
new i = PlayerInfo[playerid][pStan];
PlayerInfo[id][pStan] = -1;
strmid(StanInfo[PlayerInfo[playerid][pStan]][stVlasnik], imek, 0, strlen(imek), 255);
GivePlayerMoney(playerid, -CenaProdaje[playerid]);
GivePlayerMoney(id, CenaProdaje[playerid]);
SCMF(playerid, BELA, "Uspjesno ste kupili stan od igraca %s po cijeni od $%d!", hIme[0],CenaProdaje[playerid]);
SCMF(id, BELA, "Uspjesno ste prodali stan igracu %s za cijenu od $%d!", hIme[1],CenaProdaje[playerid]);
StaProdaje[playerid] = 0;
KomeProdaje[playerid] = -1;
CenaProdaje[playerid] = 0;
PonudioIgrac[playerid] = -1;
StaProdaje[id] = 0;
KomeProdaje[id] = -1;
CenaProdaje[id] = 0;
PonudioIgrac[id] = -1;
UpdateStan();
SaveStanove(i);
}

Reply


Messages In This Thread
There's no name - by Luca12 - 02.05.2013, 09:12
Re: There's no name - by Ciandlah - 02.05.2013, 09:23
Re: There's no name - by Luca12 - 02.05.2013, 09:52

Forum Jump:


Users browsing this thread: 1 Guest(s)