Pomoc prodaja kuce stana firme igracu

Započeo Bricko_Bass
22. Feb. 2014. Zaključano
740
pregleda
17
postova
Bricko_Bass
3
Wheel Man
22. Feb. 2014.
Skripta koju koristim: Moj mod
Detaljan opis problema:Ovako imam problem sa prodajom kuca firmi i stanova igracu znaci nemogu se prodati igracu nego samo drzavi evo slika ako mi netko moze pomoci bio bih jako zahvalan
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno): http://www.zaslike.com/files/m5huglogsq0ye6ofhjd9.png
Vedadd
5
Underboss
22. Feb. 2014.
Čitaj pravila .. Tako ne postaš.. Kad fino postaš tad ću ti da pomognem.
Nitro
5
Godfather
22. Feb. 2014.
DevoXx wrote on February 22, 2014, 1:32 pm:
Čitaj pravila .. Tako ne postaš.. Kad fino postaš tad ću ti da pomognem.

Nije tvoj posao da pises nekom da li je po pravilu ili ne ti trebas da pomognes ako znas a ocito ne znas.

@tema najlakse ti je da napravis tako sto ces gledati sa vozilima na buy samo namestis za kuce da mogu da se nude.
Vedadd
5
Underboss
22. Feb. 2014.
Neka posta po pravilima i pomoći ću mu ..
Bricko_Bass
3
Wheel Man
22. Feb. 2014.
Evo postao sam mozes mi sad pomoci 😄
Nitro
5
Godfather
22. Feb. 2014.
Citaj moj post.
Vedadd
5
Underboss
22. Feb. 2014.
Daj mi dio Škripte gdje se vrši Prodaja...
Bricko_Bass
3
Wheel Man
22. Feb. 2014.
Evo izoli tu imas sve 😄

#pragma unused params
    if(UlogovanProvera == 0) return GreskaMessage(playerid, "Moras se ulogovati da bi koristio ovu komandu!");
    new string1,string2,string;
if(PlayerInfo == -1) return SCM(playerid,-1,""CRVENA"[OT:RP] "SIVA"Nemate kucu!");
if(strcmp(KucaInfo[PlayerInfo], GetName(playerid), true)) return SCM(playerid,-1, ""CRVENA"[OT:RP] "SIVA"Niste vlasnik te kuce!");
    format(string1,sizeof(string1),""HZELENA"(1). "BELA"Informacije\n"HZELENA"(2). "BELA"Otkljucaj\n"HZELENA"(3). "BELA"Zakljucaj\n"HZELENA"(4). "BELA"Ostavi u kuci\n"HZELENA"(5). "BELA"Uzmi iz kuce\n");
    format(string2,sizeof(string2),""HZELENA"(6). "BELA"Prodaj kucu\n"HZELENA"(7). "BELA"Dozvoli/Zabrani Rent\n"HZELENA"(😎. "BELA"Cena Renta\n"HZELENA"(9). "BELA"Nadogradi  -  Preuredi\n"HZELENA"(10). "BELA"Namernice iz frizdera");
format(string, sizeof(string), "%s%s", string1, string2);
    SPD(playerid, DIALOG_KUCA, DIALOG_STYLE_LIST, ""HZELENA"Kuca", string, "Odaberi", "Izlaz");
return 1;
Nitro
5
Godfather
22. Feb. 2014.
Kazem ti uradi kao sto je za vozila uradjeno tako uradi za kuce samo varijable izmenjaj i ostalo.A preko tog dialoga ne moze niko nista da ti uradi.
Bricko_Bass
3
Wheel Man
22. Feb. 2014.
Ev pokusacu ako mi deawox ne uspije rjesiti 😄
Nitro
5
Godfather
22. Feb. 2014.
Pomocu toga ti Sveti Petar nece uspeti da resi a ne devox.
Vedadd
5
Underboss
22. Feb. 2014.
Ne treba mi komanda, nego Dialog "Dialog_Kuca" to mi stavi.
Bricko_Bass
3
Wheel Man
22. Feb. 2014.
////////////////////////////////////////////////////////////////////////////////////
    if(dialogid == DIALOG_KUCA)
{
if(!response) return 1;
if(PlayerInfo == -1) return SCM(playerid,-1, ""CRVENA" "SIVA"Nemate kucu!");
new i = PlayerInfo;
switch(listitem)
{
case 0:
{
    if(!IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo, KucaInfo, KucaInfo)) return UspjesnoMessage(playerid, "Niste u vasoj kuci!");
new string1, string2, string, z, o, g; if(KucaInfo == 1) z = "Da"; else z = "Ne"; if(KucaInfo == 0) o = "Ne"; else o = "Da"; if(KucaInfo == -1) g = "Ne"; else g = "Da";
format(string1,sizeof(string1),""BELA"_______________________________________\n\n"HZELENA"Vlasnik kuce: "CRVENA"%s\n"HZELENA"Level: "BELA"%d\n"HZELENA"Cena: "BELA"%d$\n"HZELENA"Cena Renta: "BELA"%d\n",KucaInfo,KucaInfo,KucaInfo,KucaInfo);
format(string2,sizeof(string2),""HZELENA"ID: "BELA"%d\n"HZELENA"Zatvoreno: "BELA"%s\n"HZELENA"Novac: "BELA"%d\n"HZELENA"Droga: "BELA"%d\n"HZELENA"Mats: "BELA"%d\n"HZELENA"Odjeca: "BELA"%s\n"HZELENA"Oruzije: "BELA"%s\n_______________________________________",i,z,KucaInfo,KucaInfo,KucaInfo,o,g);
format(string, sizeof(string), "%s%s", string1, string2);
SPD(playerid, DIALOG_KINFO, DIALOG_STYLE_MSGBOX, ""BELA"Kuca Informacije", string, "Ok", "Izlaz");
}
case 1:
{
    if(!IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo, KucaInfo, KucaInfo)) return UspjesnoMessage(playerid, "Niste u vasoj kuci!");
    if(KucaInfo == 0) return GreskaMessage(playerid, "Vec je otkljucana!");
KucaInfo = 0; SacuvajKucu(i);
SCM(playerid,-1, " "HZELENA"Kuca otkljucana!");
}
case 2:
{
    if(!IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo, KucaInfo, KucaInfo)) return UspjesnoMessage(playerid, "Niste u vasoj kuci!");
    if(KucaInfo == 1) return GreskaMessage(playerid, "Vec je zakljucana!");
    KucaInfo = 1; SacuvajKucu(i);
    SCM(playerid,-1, " "HZELENA"Kuca zakljucana!");
}
case 3:
{
    if(!IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo, KucaInfo, KucaInfo)) return UspjesnoMessage(playerid, "Niste u vasoj kuci!");
    SPD(playerid, DIALOG_KOSTAVI, DIALOG_STYLE_LIST, ""BELA"Ostavi u kuci", ""HZELENA"(1). "BELA"Novac\n"HZELENA"(2). "BELA"Drogu\n"HZELENA"(3). "BELA"Mats\n"HZELENA"(4). "BELA"Odelo\n"HZELENA"(5). "BELA"Oruzije", "Ok", "Izlaz");
}
case 4:
{
    if(!IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo, KucaInfo, KucaInfo)) return UspjesnoMessage(playerid, "Niste u vasoj kuci!");
    SPD(playerid, DIALOG_KUZMI, DIALOG_STYLE_LIST, ""BELA"Uzmi iz kuce", ""HZELENA"(1). "BELA"Novac\n"HZELENA"(2). "BELA"Drogu\n"HZELENA"(3). "BELA"Mats\n"HZELENA"(4). "BELA"Odelo\n"HZELENA"(5). "BELA"Oruzije", "Ok", "Izlaz");
}
case 5:
{
if(PlayerInfo == -1) return SCM(playerid,-1, ""CRVENA" "SIVA"Nemate kucu!");
                if(!IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo, KucaInfo, KucaInfo)) return UspjesnoMessage(playerid, "Niste ispred vase kuce!");
new cena1 = (KucaInfo/4)*2;
new string;
format(string,sizeof(string), ""BELA"Prodaja kuce drzavi\n\n"HZELENA"Dali ste sigurni da zelite da prodate kucu drzavi za %d$!\n\n"BELA"Ako ste sigurni kliknite na 'Prodaj' ako ne kliknite na 'Izlaz'", cena1);
SPD(playerid, DKUCA_PRODAJA, DIALOG_STYLE_MSGBOX, ""BELA"Prodaja kuce drzavi", string, "Prodaj", "Izlaz");
}
case 6:
{
    if(!IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo, KucaInfo, KucaInfo)) return UspjesnoMessage(playerid, "Niste u vasoj kuci!");
if(KucaInfo == 0)
{
KucaInfo = 1; SacuvajKucu(i); KuceLP(i);
GreskaMessage(playerid, "Odobrili ste rent kuce!");
}
else if(KucaInfo == 1)
{
KucaInfo = 0; SacuvajKucu(i); KuceLP(i);
GreskaMessage(playerid, "Zabranili ste rent kuce!");
}
}
case 7:
{
    if(!IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo, KucaInfo, KucaInfo)) return UspjesnoMessage(playerid, "Niste u vasoj kuci!");
if(KucaInfo == 0) return SCM(playerid,-1,""CRVENA" "BELA"Na vasoj kuci nije dozvoljen rent pa ne mozete podesavati cenu!");
SPD(playerid, DIALOG_KRENT, DIALOG_STYLE_INPUT, ""HZELENA"Cena Renta", ""BELA"Unesite novu cenu renta", "Promeni", "Izlaz");
}
case 8:
{
    if(!IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo, KucaInfo, KucaInfo)) return UspjesnoMessage(playerid, "Niste ispred vase kuce!");
    new string5;
    format(string5,sizeof(string5),""HZELENA"(1). "BELA"Zvono (2000$)\n"HZELENA"(2). "BELA"Frizder (3000$)\n"HZELENA"(3). "BELA"Standardan Enterijer 1\n"HZELENA"(4). "BELA"Enterijer 2 (30000$)\n"HZELENA"(5). "BELA"Enterijer 3 (40000$)");
    SPD(playerid, DKUCA_NADPRE, DIALOG_STYLE_LIST, ""BELA"Nadogradnja/Preuredjivanje", string5, "Ok", "Izlaz");
}
case 9:
{
    if(!IsPlayerInRangeOfPoint(playerid, 5.0, KucaInfo, KucaInfo, KucaInfo)) return UspjesnoMessage(playerid, "Niste u vasoj kuci!");
    if(KucaInfo == 0) return SCM(playerid,-1,""CRVENA" "BELA"Nemas frizder u kuci!");
    SPD(playerid, DIALOG_KNAMERNICE, DIALOG_STYLE_LIST, ""BELA"Namernice", ""HZELENA"(1). "BELA"Koristi hranu\n"HZELENA"(2). "BELA"Ostavi hranu", "Ok", "Izlaz");
}
}
}
Vedadd
5
Underboss
22. Feb. 2014.
Pa ti imaš samo Da se Državi proda, nemaš da prodaš Igraču..
Case 5
Pogledaj..

Daj imaš li Team Wievar lakše da ti to uradim. Ako imaš pošalji mi na PM "Lozinku i ID"
Nitro
5
Godfather
22. Feb. 2014.
To ti decko i govori sve vreme o boze.Sto se pravis pametan kad nisi.Jednostavno nek gleda kako je namesteno za vozila da ima da ponudi tako nek napravi i za kuce i resen problem.

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha