hlmod.hu
https://hlmod.hu/

Addmenű
https://hlmod.hu/viewtopic.php?f=10&t=25845
Oldal: 2 / 3

Szerző:  regener [ 2016.08.15. 22:20 ]
Hozzászólás témája:  Re: Addmenű

rusky18 írta:
Nem bírom lefordítani 4 hibát ír!

7. sort írd át 0-ra
  1. #pragma semicolon 0

Szerző:  rusky18 [ 2016.08.16. 14:03 ]
Hozzászólás témája:  Re: Addmenű

Valamiért nem addol pedig adminba vagyok jelentkezve!

Szerző:  Configos91 [ 2016.08.16. 14:23 ]
Hozzászólás témája:  Re: Addmenű

Megvan hozzá a megfelelő jogod mert csak az tud addolni akinek van Inmunity joga.

Szerző:  rusky18 [ 2016.08.16. 14:40 ]
Hozzászólás témája:  Re: Addmenű

Igen!
Bejelentkeztel adminnak, jogaid: bcdefghijklmnopqrstu.
beírom /add és semmi

Szerző:  regener [ 2016.08.16. 14:41 ]
Hozzászólás témája:  Re: Addmenű

rusky18 írta:
Igen!
Bejelentkeztel adminnak, jogaid: bcdefghijklmnopqrstu.
beírom /add és semmi

"a" jog = admin_immunity
Nincs "A" jogod.

Vagy írd át BAN jogra (57. sor)
  1. if(get_user_flags(id) & ADMIN_BAN) {

Szerző:  rusky18 [ 2016.08.16. 14:59 ]
Hozzászólás témája:  Re: Addmenű

Köszi ment a gomb!
Még egy kérdés mentést hogy lehet beleírni hogy elmentse a tárgyakat?

Szerző:  Dezariais [ 2016.08.16. 15:24 ]
Hozzászólás témája:  Re: Addmenű

Beírod ide, amit szeretnél hogy elmentse:

  1. Load(id)
  2. {
  3.     new Nev[32]; get_user_name(id, Nev, sizeof(Nev)-1);
  4.    
  5.     new Mentes[512];
  6.     format(Mentes, charsmax(Mentes), "%i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i", Arany[id], Szint[id], Xp[id], Kes[0][id], Kes[1][id], Kes[2][id], Kes[3][id], Kes[4][id], Kes[5][id], Kes[6][id]
  7.     , Kes[7][id], Kes[8][id], Kes[9][id], Kes[10][id], Kes[11][id], Kes[12][id], Kes[13][id], Kes[14][id], Lada[id], Kulcs[id]);
  8.    
  9.     if(fvault_get_data(File, Mentes, Nev, charsmax(Nev)))
  10.     {
  11.         new Gold[32], Lvl[32], Tap[32], Ks1[32], Ks2[32], Ks3[32], Ks4[32], Ks5[32], Ks6[32], Ks7[32], Ks8[32], Ks9[32], Ks10[32], Ks11[32], Ks12[32], Ks13[32], Ks14[32], Ks15[32], Lad[32], Key[32];
  12.         parse(Mentes, Gold, 31, Lvl, 31, Tap, 31, Ks1, 31, Ks2, 31, Ks3, 31, Ks4, 31, Ks5, 31, Ks6, 31, Ks7, 31, Ks8, 31, Ks9, 31, Ks10, 31, Ks11, 31, Ks12, 31, Ks13, 31, Ks14, 31, Ks15, 31, Lad, 31, Key, 31);
  13.        
  14.         Arany[id] = str_to_num(Gold);
  15.         Szint[id] = str_to_num(Lvl);
  16.         Xp[id] = str_to_num(Tap);
  17.         Kes[0][id] = str_to_num(Ks1);
  18.         Kes[1][id] = str_to_num(Ks2);
  19.         Kes[2][id] = str_to_num(Ks3);
  20.         Kes[3][id] = str_to_num(Ks4);
  21.         Kes[4][id] = str_to_num(Ks5);
  22.         Kes[5][id] = str_to_num(Ks6);
  23.         Kes[6][id] = str_to_num(Ks7);
  24.         Kes[7][id] = str_to_num(Ks8);
  25.         Kes[8][id] = str_to_num(Ks9);
  26.         Kes[9][id] = str_to_num(Ks10);
  27.         Kes[10][id] = str_to_num(Ks11);
  28.         Kes[11][id] = str_to_num(Ks12);
  29.         Kes[12][id] = str_to_num(Ks13);
  30.         Kes[13][id] = str_to_num(Ks14);
  31.         Kes[14][id] = str_to_num(Ks15);
  32.         Lada[id] = str_to_num(Lad);
  33.         Kulcs[id] = str_to_num(Key);
  34.     }
  35. }
  36. Save(id)
  37. {
  38.     new Nev[32]; get_user_name(id, Nev, sizeof(Nev)-1);
  39.    
  40.     new Mentes[512];
  41.     format(Mentes, charsmax(Mentes), "%i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i", Arany[id], Szint[id], Xp[id], Kes[0][id], Kes[1][id], Kes[2][id], Kes[3][id], Kes[4][id], Kes[5][id], Kes[6][id]
  42.     , Kes[7][id], Kes[8][id], Kes[9][id], Kes[10][id], Kes[11][id], Kes[12][id], Kes[13][id], Kes[14][id], Lada[id], Kulcs[id]);
  43.    
  44.     fvault_set_data(File, Nev, Mentes);
  45. }

Szerző:  D34D [ 2016.08.16. 15:45 ]
Hozzászólás témája:  Re: Addmenű

  1. Load(id)
  2. {
  3.     new Nev[32]; get_user_name(id, Nev, sizeof(Nev)-1);
  4.    
  5.     new Mentes[512];
  6.     format(Mentes, charsmax(Mentes), "%i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i %i", Arany[id], Szint[id], Xp[id], Kes[0][id], Kes[1][id], Kes[2][id], Kes[3][id], Kes[4][id], Kes[5][id], Kes[6][id]
  7.     , Kes[7][id], Kes[8][id], Kes[9][id], Kes[10][id], Kes[11][id], Kes[12][id], Kes[13][id], Kes[14][id], Lada[id], Kulcs[id]);
  8.    
  9.     if(fvault_get_data(File, Mentes, Nev, charsmax(Nev)))
  10.     {
  11.         new Gold[32], Lvl[32], Tap[32], Ks1[32], Ks2[32], Ks3[32], Ks4[32], Ks5[32], Ks6[32], Ks7[32], Ks8[32], Ks9[32], Ks10[32], Ks11[32], Ks12[32], Ks13[32], Ks14[32], Ks15[32], Lad[32], Key[32];
  12.         parse(Mentes, Gold, 31, Lvl, 31, Tap, 31, Ks1, 31, Ks2, 31, Ks3, 31, Ks4, 31, Ks5, 31, Ks6, 31, Ks7, 31, Ks8, 31, Ks9, 31, Ks10, 31, Ks11, 31, Ks12, 31, Ks13, 31, Ks14, 31, Ks15, 31, Lad, 31, Key, 31);
  13.        
  14.         Arany[id] += str_to_num(Gold);
  15.         Szint[id] += str_to_num(Lvl);
  16.         Xp[id] += str_to_num(Tap);
  17.         Lada[id] += str_to_num(Lad);
  18.         Kulcs[id] += str_to_num(Key);
  19.     }
  20. }

Szerző:  rusky18 [ 2016.08.16. 15:57 ]
Hozzászólás témája:  Re: Addmenű

Valamiért nem menti el még mindig!

Szerző:  Dezariais [ 2016.08.16. 16:05 ]
Hozzászólás témája:  Re: Addmenű

Akkor próbáld meg ezzel, hátha megy
Fájl mentés

Oldal: 2 / 3 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/