There's no name
#1

when i sell apartment to another player then on the apartment label says

Owner: but there's no name if you know what I say. Thanks
Reply
#2

Send us all the lines to your code please, If this is an NGRP edit. I will not help you at all
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)