Kreiranje pickupa za kupovinu oruzja

Započeo EMillion, Januar 30, 2019, 23:26:28 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Kakav dialog druze kucas /diler otovori ti da kupujes puske biras kakve hoces kakve su u skripti na cmd
AKO ZNAS ZA BOGA I ZA GLAVU ZIVU NE BRANI MI DOKTORE RAKIJU I PIVU

Citat: Gaucho69 poslato Februar 02, 2019, 18:48:50 POSLE PODNE
Kakav dialog druze kucas /diler otovori ti da kupujes puske biras kakve hoces kakve su u skripti na cmd
Prelistaj malo samp wiki pre nego sto kopiras kodove sa drugih modova

[pawn] SPD(playerid, DIALOG_KORUZIJE, DIALOG_STYLE_LIST, ""BELA"Crno trziste", ""CRVENA"- "BELA"Silenced Pistol (1000$)\n"CRVENA"- "BELA"Sawnoff Shotgun (1500$)\n"CRVENA"- "BELA"Rifle (1650$)\n"CRVENA"- "BELA"Pancir (400$)\n"CRVENA"- "BELA"Pistol (600$)\n"CRVENA"- "BELA"Grenade (3000$)\n"CRVENA"- "BELA"UZI (1500$)\n"CRVENA"- "BELA"Satchel Charge (7000$)\n"CRVENA"- "BELA"Combat Shotgun (4000$)", "Kupi", "Izlaz");[/pawn]

Kako ce skripta znati sta da radi sa ovim ako ti to ne odredis u samom dialogu?
Poslednja Izmena: Februar 02, 2019, 19:32:12 POSLE PODNE od Pawno

Pazi stvarno nisam ni vidio jebeno
AKO ZNAS ZA BOGA I ZA GLAVU ZIVU NE BRANI MI DOKTORE RAKIJU I PIVU

#define DIALOG_KORUZIJE        1
//
YCMD:diler(playerid, params[],help)
{
   if(!IsPlayerInRangeOfPoint(playerid, 2.0, 2658.3301,444.8757,8.8858)) return SendClientMessage(playerid,-1,"{FFCC00}UB:RP | {FFFFFF} Nisi kod dilera.");
   if(PlayerInfo[playerid][pDisarm] == 1 && PlayerInfo[playerid][pDisarmVreme] > 0) return SCM(playerid,-1, ""PLAVA".::"BELA"UB:RP"PLAVA"::. "BELA"Disarmovan si, da proveris jos koliko ti je vremena ostalo /disarmtime");
   {
    SPD(playerid, DIALOG_KORUZIJE, DIALOG_STYLE_LIST, ""BELA"Diler", ""CRVENA"- "BELA"Silenced Pistol (1000$)\n"CRVENA"- "BELA"Sawnoff Shotgun (1500$)\n"CRVENA"- "BELA"Rifle (1650$)\n"CRVENA"- "BELA"Pancir (400$)\n"CRVENA"- "BELA"Pistol (600$)\n"CRVENA"- "BELA"Grenade (3000$)\n"CRVENA"- "BELA"UZI (1500$)\n"CRVENA"- "BELA"Satchel Charge (7000$)\n"CRVENA"- "BELA"Combat Shotgun (4000$)", "Kupi", "Izlaz");
    }
   return true;
}
//   else if(dialogid == DIALOG_KORUZIJE)
   {
      switch(listitem)
      {
         case 0:
         {
            if(PlayerInfo[playerid][pNovacDzep] < 1000) return SCM(playerid,-1,""srw_boja"UB:RP | "BELA"Nemate dovoljno novca 1000$!");
            GivePlayerWeapon(playerid,23,60);
            g_NovacMinus(playerid,1000);
            SCM(playerid,-1,""srw_boja"Kupili ste Silenced Pistol za 1000$!");
         }
         case 1:
         {
            if(PlayerInfo[playerid][pNovacDzep] < 1500) return SCM(playerid,-1,""srw_boja"UB:RP | "BELA"Nemate dovoljno novca 1500$!");
            GivePlayerWeapon(playerid,26,60);
            g_NovacMinus(playerid,1500);
            SCM(playerid,-1,""srw_boja"Kupili ste Sawnoff Shotgun za 1500$!");
         }
         case 2:
         {
            if(PlayerInfo[playerid][pNovacDzep] < 1650) return SCM(playerid,-1,""srw_boja"UB:RP | "BELA"Nemate dovoljno novca 1650$!");
            GivePlayerWeapon(playerid,33,60);
            g_NovacMinus(playerid,1650);
            SCM(playerid,-1,""srw_boja"Kupili ste Rifle za 1650$!");
         }
         case 3:
         {
            if(PlayerInfo[playerid][pNovacDzep] < 400) return SCM(playerid,-1,""srw_boja"UB:RP | "BELA"Nemate dovoljno novca 400$!");
            SetPlayerArmour(playerid,98);
            g_NovacMinus(playerid,400);
            SCM(playerid,-1,""srw_boja"Kupili ste pancir za 400$");
         }
         case 4:
         {
            if(PlayerInfo[playerid][pNovacDzep] < 600) return SCM(playerid,-1,""srw_boja"UB:RP | "BELA"Nemate dovoljno novca 600$!");
            GivePlayerWeapon(playerid,22,60);
            g_NovacMinus(playerid,600);
            SCM(playerid,-1,""srw_boja"Kupili ste Pistol za 600$!");
         }
         case 5:
         {
            if(PlayerInfo[playerid][pNovacDzep] < 3000) return SCM(playerid,-1,""srw_boja"UB:RP | "BELA"Nemate dovoljno novca 3000$!");
            GivePlayerWeapon(playerid,16,5);
            g_NovacMinus(playerid,3000);
            SCM(playerid,-1,""srw_boja"Kupili ste Grenade za 3000$!");
         }
         case 6:
         {
            if(PlayerInfo[playerid][pNovacDzep] < 1500) return SCM(playerid,-1,""srw_boja"UB:RP | "BELA"Nemate dovoljno novca 1500$!");
            GivePlayerWeapon(playerid,28,60);
            g_NovacMinus(playerid,1500);
            SCM(playerid,-1,""srw_boja"Kupili ste UZI za 1500$!");
         }
         case 7:
         {
            if(PlayerInfo[playerid][pNovacDzep] < 7000) return SCM(playerid,-1,""srw_boja"UB:RP | "BELA"Nemate dovoljno novca 7000$!");
            GivePlayerWeapon(playerid,39,5);
            g_NovacMinus(playerid,7000);
            SCM(playerid,-1,""srw_boja"Kupili ste Satchel Charge za 7000$!");
         }
         case 8:
         {
            if(PlayerInfo[playerid][pNovacDzep] < 4000) return SCM(playerid,-1,""srw_boja"UB:RP | "BELA"Nemate dovoljno novca 4000$!");
            GivePlayerWeapon(playerid,27,60);
            g_NovacMinus(playerid,4000);
            SCM(playerid,-1,""srw_boja"Kupili ste Silenced Pistol za 4000$!");
         }
      }
   }
AKO ZNAS ZA BOGA I ZA GLAVU ZIVU NE BRANI MI DOKTORE RAKIJU I PIVU

Citat: Pawno poslato Februar 02, 2019, 17:53:35 POSLE PODNE
Mora raditi, verovatno nemas dovoljno para
https://imgur.com/a/rorAK6a
Ti si mu poslao samo komandu, ne i ono sto se odvija u dialogu

https://imgur.com/a/GH6d2wA

nerai mi imas li Discord da tamo pricamo  o tome?
www.Game-State.com" style="border-style: none;

Onda je moguce da imas neku proveru unutar moda,  nemmam discord

Citat: Pawno poslato Februar 02, 2019, 19:53:26 POSLE PODNE
Onda je moguce da imas neku proveru unutar moda,  nemmam discord

San Marino mod kako da rjesim to mozes mi pomoc ?
www.Game-State.com" style="border-style: none;

Ne poznajem SM mod, ne znam kakve provere ima i kakav anticheat. Nek se javi neko ko zna :D

Citat: Pawno poslato Februar 02, 2019, 20:02:11 POSLE PODNE
Ne poznajem SM mod, ne znam kakve provere ima i kakav anticheat. Nek se javi neko ko zna :D

haha a jbg iskljucio sam Anti Cheat al nece svejedno hahaha
www.Game-State.com" style="border-style: none;