"Trebam nešto" - tema

Započeo vlado_plavsic, Avgust 16, 2012, 20:15:55 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 8 gostiju pregledaju ovu temu.

Citat: Lunciniâ,,¢ poslato Februar 15, 2013, 22:13:56 POSLE PODNE
kako da napravam na "Y" da se zema oprema ili hrana kad ce odes na odredeno mesto
Sve menjaj kako yi hoces...
#define DPIJMENU 4514 // stavis id diajloga koji ti hoces
#define FLASAMENU 4510 // stavis id diajloga koji ti hoces
#define CIGMENU 4511 // stavis id diajloga koji ti hoces
#define ALKPIJAL 4512 // stavis id diajloga koji ti hoces
#define BEZPIJAL 4513 // stavis id diajloga koji ti hoces

if(newkeys == 65536)
    {
if(PlayerToPoint(2.0, playerid,X,Y,Z)) // stavis svoje koordinate umesto X Y X
{
ShowPlayerDialog(playerid,FLASAMENU,DIALOG_STYLE_LIST, "Izberete","Bezalkoholni pijaloci\nAlkoholni pijaloci\nCigari\nPijaloci za VIP", "Izberi", "Otkazi");
}
    }


if(dialogid == FLASAMENU)
{
if(response)
{
if(listitem == 0)
{
                ShowPlayerDialog(playerid,BEZPIJAL,DIALOG_STYLE_LIST, "Izberete","Voda Pelisterka 8$\nFanta 5$\nCoca Cola 5$\nKafe Espreso 2$\nKafe Makijato 2$\nNes Kafe 3$\nKafe GLADIATOR 20$\nSok od borovnica 5$\nSok od jagoda 5$\nSok od visna 5$\nMultivitamin 7$\nSok od Limon 7$\nPepsi 4$\nGazoza 4$\nShveps 6$\nKokta 6$", "Kupi", "Otkazi");
}
if(listitem == 1)
{
                ShowPlayerDialog(playerid,ALKPIJAL,DIALOG_STYLE_LIST, "Izberete","Skopsko Pivo 10$\nJelen Pivo 9$\nVodka 10$\nTekila 10$\nKonjak 5$\nGLD Koktel 20$\nVino Dom Perignon 1000$\nStok 10$\nJack Daniels 30$\nJohnnie Walker 40$\nJ&B 70$\nDupli Jack Daniels 60$\nDupli Johnnie Walker 80$\nDupli J&B 140$", "Kupi", "Otkazi");
}
if(listitem == 2)
{
                ShowPlayerDialog(playerid,CIGMENU,DIALOG_STYLE_LIST, "Izberete","Malboro 2$\nBoss 2$\nRodeo 1$\nWest 3$\nDavidov 6$\nBrend 3$", "Kupi", "Otkazi");
}
if(listitem == 3)
{
    if(PlayerInfo[playerid][pDonateRank] > 0)
{
                ShowPlayerDialog(playerid,DPIJMENU,DIALOG_STYLE_LIST, "Izberete","Kola Kola (Besplatno)\nFanta (Besplatno)\nVino Dom Perignon (Besplatno)\nJack Daniels(Besplatno)\nJohnnie Walker (Besplatno)", "Kupi", "Otkazi");
                } else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Ne ste donator.");
}
}
return 1;
}


if(dialogid == BEZPIJAL)
{
if(response)
{
if(listitem == 0)
{
if(GetPlayerMoney(playerid) >= 8)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Voda Pelisterka !");
format(string, sizeof(string), "|%s kupuva pelisterka", sendername);
GivePlayerMoney(playerid,-8);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 1)
{
if(GetPlayerMoney(playerid) >= 5)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Fanta !");
format(string, sizeof(string), "|%s kupuva fanta", sendername);
GivePlayerMoney(playerid,-5);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 2)
{
if(GetPlayerMoney(playerid) >= 5)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Coca Cola !");
format(string, sizeof(string), "|%s kupuva coca colu", sendername);
GivePlayerMoney(playerid,-5);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 3)
{
if(GetPlayerMoney(playerid) >= 2)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Kafe Espreso !");
format(string, sizeof(string), "|%s kupuva kafe espreso", sendername);
GivePlayerMoney(playerid,-2);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 4)
{
if(GetPlayerMoney(playerid) >= 2)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Kafe Makijato !");
format(string, sizeof(string), "|%s kupuva kafe makijato", sendername);
GivePlayerMoney(playerid,-2);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 5)
{
if(GetPlayerMoney(playerid) >= 3)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Nes Kafe !");
format(string, sizeof(string), "|%s kupuva nes kafe", sendername);
GivePlayerMoney(playerid,-3);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 6)
{
if(GetPlayerMoney(playerid) >= 20)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Kafe GLADIATOR !");
format(string, sizeof(string), "|%s kupuva kafe GLADIATOR", sendername);
GivePlayerMoney(playerid,-20);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 7)
{
if(GetPlayerMoney(playerid) >= 5)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Sok od borovnica !");
format(string, sizeof(string), "|%s kupuva sok od borovnica", sendername);
GivePlayerMoney(playerid,-5);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 8)
{
if(GetPlayerMoney(playerid) >= 5)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Sok od jagoda !");
format(string, sizeof(string), "|%s kupuva sok od jagoda", sendername);
GivePlayerMoney(playerid,-5);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 9)
{
if(GetPlayerMoney(playerid) >= 5)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Sok od visna !");
format(string, sizeof(string), "|%s kupuva sok od visna", sendername);
GivePlayerMoney(playerid,-5);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 10)
{
if(GetPlayerMoney(playerid) >= 7)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Multivitamin !");
format(string, sizeof(string), "|%s kupuva multivitamin", sendername);
GivePlayerMoney(playerid,-7);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 11)
{
if(GetPlayerMoney(playerid) >= 7)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Sok od Limon !");
format(string, sizeof(string), "|%s kupuva sok od Limon", sendername);
GivePlayerMoney(playerid,-7);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 12)
{
if(GetPlayerMoney(playerid) >= 4)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Pepsi !");
format(string, sizeof(string), "|%s kupuva pepsi", sendername);
GivePlayerMoney(playerid,-4);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 13)
{
if(GetPlayerMoney(playerid) >= 4)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Gazoza !");
format(string, sizeof(string), "|%s kupuva gazoza", sendername);
GivePlayerMoney(playerid,-4);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 14)
{
if(GetPlayerMoney(playerid) >= 6)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Shveps !");
format(string, sizeof(string), "|%s kupuva shveps", sendername);
GivePlayerMoney(playerid,-6);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 15)
{
if(GetPlayerMoney(playerid) >= 6)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Kokta !");
format(string, sizeof(string), "|%s kupuva kokta", sendername);
GivePlayerMoney(playerid,-6);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
}
return 1;
}

if(dialogid == DPIJMENU)
{
if(response)
{
if(listitem == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Kola Kola !");
format(string, sizeof(string), "|%s kupuva Kola Kolu", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
if(listitem == 1)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Fanta !");
format(string, sizeof(string), "|%s kupuva Fantu", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
if(listitem == 2)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Vino Dom Perignona !");
format(string, sizeof(string), "|%s kupuva Vino Dom Perignon", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
if(listitem == 3)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Jack Daniels !");
format(string, sizeof(string), "|%s kupuva Jack Daniels", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
if(listitem == 4)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Johnnie Walker !");
format(string, sizeof(string), "|%s kupuva Johnnie Walker", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
return 1;
}

if(dialogid == ALKPIJAL)
{
if(response)
{
if(listitem == 0)
{
if(GetPlayerMoney(playerid) >= 10)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Skopsko Pivo !");
format(string, sizeof(string), "|%s kupuva skopsko pivo", sendername);
GivePlayerMoney(playerid,-10);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 1)
{
if(GetPlayerMoney(playerid) >= 9)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Jelen Pivo !");
format(string, sizeof(string), "|%s kupuva jelen pivo", sendername);
GivePlayerMoney(playerid,-9);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 2)
{
if(GetPlayerMoney(playerid) >= 10)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Vodku !");
format(string, sizeof(string), "|%s kupuva vodku", sendername);
GivePlayerMoney(playerid,-10);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 3)
{
if(GetPlayerMoney(playerid) >= 10)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Tekilu !");
format(string, sizeof(string), "|%s kupuva tekilu", sendername);
GivePlayerMoney(playerid,-10);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 4)
{
if(GetPlayerMoney(playerid) >= 5)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Konjak !");
format(string, sizeof(string), "|%s kupuva konjak", sendername);
GivePlayerMoney(playerid,-5);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 5)
{
if(GetPlayerMoney(playerid) >= 20)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte GLADIATOR Koktel !");
format(string, sizeof(string), "|%s kupuva GLD koktel", sendername);
GivePlayerMoney(playerid,-20);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 6)
{
if(GetPlayerMoney(playerid) >= 1000)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Vino Dom Perignon !");
format(string, sizeof(string), "|%s kupuva vino dom perignon", sendername);
GivePlayerMoney(playerid,-1000);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 7)
{
if(GetPlayerMoney(playerid) >= 10)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Stok !");
format(string, sizeof(string), "|%s kupuva stok", sendername);
GivePlayerMoney(playerid,-10);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 8)
{
if(GetPlayerMoney(playerid) >= 30)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Jack Daniels !");
format(string, sizeof(string), "|%s kupuva jack daniels", sendername);
GivePlayerMoney(playerid,-30);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 9)
{
if(GetPlayerMoney(playerid) >= 40)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Johnnie Walker !");
format(string, sizeof(string), "|%s kupuva johnnie walker", sendername);
GivePlayerMoney(playerid,-40);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 10)
{
if(GetPlayerMoney(playerid) >= 70)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte J&B !");
format(string, sizeof(string), "|%s kupuva J&B", sendername);
GivePlayerMoney(playerid,-70);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 11)
{
if(GetPlayerMoney(playerid) >= 60)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Dupli Jack Daniels !");
format(string, sizeof(string), "|%s kupuva dupli jack daniels", sendername);
GivePlayerMoney(playerid,-60);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 12)
{
if(GetPlayerMoney(playerid) >= 80)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Dupli Johnnie Walker !");
format(string, sizeof(string), "|%s kupuva dupli johnnie walker", sendername);
GivePlayerMoney(playerid,-80);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 13)
{
if(GetPlayerMoney(playerid) >= 140)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Dupli J&B !");
format(string, sizeof(string), "|%s kupuva dupli J&B", sendername);
GivePlayerMoney(playerid,-140);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
}
return 1;
}

if(dialogid == CIGMENU)
{
if(response)
{
if(listitem == 0)
{
    if(GetPlayerMoney(playerid) >= 2)
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Malboro !");
format(string, sizeof(string), "|%s kupuva malboro", sendername);
GivePlayerMoney(playerid,-2);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 1)
{
if(GetPlayerMoney(playerid) >= 2)
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Boss !");
format(string, sizeof(string), "|%s kupuva boss", sendername);
GivePlayerMoney(playerid,-2);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 2)
{
if(GetPlayerMoney(playerid) >= 1)
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Rodeo cigari !");
format(string, sizeof(string), "|%s kupuva Rodeo cigari", sendername);
GivePlayerMoney(playerid,-1);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 3)
{
if(GetPlayerMoney(playerid) >= 3)
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte WEST cigari !");
format(string, sizeof(string), "|%s kupuva WEST cigari", sendername);
GivePlayerMoney(playerid,-3);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 4)
{
if(GetPlayerMoney(playerid) >= 6)
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Davidov cigari !");
format(string, sizeof(string), "|%s kupuva Davidov cigari", sendername);
GivePlayerMoney(playerid,-6);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
if(listitem == 5)
{
if(GetPlayerMoney(playerid) >= 3)
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
SCM(playerid,COLOR_GREEN, "Kupivte Brend cigari !");
format(string, sizeof(string), "|%s kupuva Brend cigari", sendername);
GivePlayerMoney(playerid,-3);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
} else return SCM(playerid,-1,"{FF0000}GRESKA:{FFFFFF}Nemate dovolno pari!");
}
}
return 1;
}
Poslednja Izmena: Februar 16, 2013, 21:48:16 POSLE PODNE od ...Nikola...

sch

*

Treba mi FS za hungry system da u uglu ima ono Glad:99% itd ,jeli ima neko to?
Pawn Scripting Arbaiter
Willfried Schafer


Evo meni bi trebao neki dobar admin system .. da ima admine 1338 , 1337 , 4, 3,2,1
I sad neznam kako za GS jel to ima isto neeki system ili sta :-) :-)

tReba mi iskusan skripter , pravim mod u pitanju je NL mod i ostala jos 2 buga , a i da bude tu tokom rada servera . Nek se javi u PM
|| Virtual Gaming RPG ||

|| Server Nick : Ezel Boss || Forum Nick : Ezel Boss || Server Owner || Forum Owner ||
||Forum Link : www.vg-rpg.biz ||
||Server IP : 176.62.0.8:7787 ||

Kupujem Traktor

Kako da stavim sat IG onaj desno gore da pise koliko je sati ?

Citat: Dario_Torpedo poslato Februar 24, 2013, 17:43:20 POSLE PODNE
Kako da stavim sat IG onaj desno gore da pise koliko je sati ?

Da li zelis da prikazuje in-game vrijeme ili RL vrijeme?

Last nick: Paradox


Citat: David (Sabljak) A.k.A SABO(T) poslato Februar 28, 2013, 17:30:03 POSLE PODNE
Citat: MacKenzieâ,,¢ poslato Februar 26, 2013, 22:36:38 POSLE PODNE
Trebam Komandu "/steal" ili "/opljackaj" u ZCMD Hitnoo!

koga cega, kamo kuda? zasto kamo?

CMD:steal(playerid, params[])
{
return 1;
}


napisi sta zelis -.-

imam ja komandu, alii nemg napraviti da sav novac ukrade, samo ukrade polovinu, ja hocu da sve ukradeeee

Pa onda otvori temu u podforumu i postaj tu komandu i sredit cemo. :)

Last nick: Paradox

trebam komandu kickall u zcdm napravio sam nesto ali non stop baca errore :'(

"They have computers, and they may have other weapons of mass destruction."

hvala sabo

"They have computers, and they may have other weapons of mass destruction."

Treba mi taxi sistem(fs), da nije organizacija nego npr kucam /napravitaxistu i tako xD

Citat: Joey_ poslato Mart 02, 2013, 17:52:47 POSLE PODNE
Pa onda otvori temu u podforumu i postaj tu komandu i sredit cemo. :)

stavio sam nitko ne dog kako treba!

Offban za clrp mod =O

Nemogu naci nikako ... ili mozda neka fs .. svejedno


Hvala unaprijed
Moji Radiovi!
TuT||Iz code u MTA