Jump to content
GIGN Forum

SliDerS

Mirstīgais
  • Posts

    6
  • Joined

  • Last visited

Everything posted by SliDerS

  1. Palīdziet lūdzu.. Kas šeit ir jaizmaina laij rāditu avatar.. if(!empty($_COOKIE['member_id']) && is_numeric($_COOKIE['member_id']) && !empty($_COOKIE['pass_hash'])){ $sql = sprintf("SELECT m.id, m.members_display_name, m.email, m.member_login_key, m.joined, e.avatar_location FROM `ibf_members` m, `ibf_member_extra` e WHERE m.id=%d AND m.member_login_key='%s' AND e.id=m.id LIMIT 1", (int)$_COOKIE['member_id'], mysql_real_escape_string($_COOKIE['pass_hash'])); $res = mysql_query($sql); if(mysql_num_rows($res)>0){ $row = mysql_fetch_object($res); $logout = md5($row->email.'&'.$row->member_login_key.'&'.$row->joined); Patreiz man ir šadi.. Bet kā laij uzliek laij rāda avatar kā šeit?? Tur ir kas jaizmaina tikaij nezinu kas .
  2. Nu vo tur tā lieta arī nesu darbojies.. Tanī koda nekas nau jaizmaina ?? tads ka ir tadu vnk likt iekša ? Edit Liels paldies teu
  3. Sakiet lūdzu kā var savienot loginu ar ipb Forumu ?? Tik Līdz tu ielogojies Foruma ta uzreiz radas ari sakumlapa tavu Foto iestatijumus utt ka laij to paveic ??
  4. A tur kads cits ari der iznemot ka Invision.Power.Board.v2.1.6.PHP.NULL-DGT.rar
  5. Sveiki man ir problemas ar loadingsound.sma failu..man ir 2 vwid..kurs no viniem ir istais ?? Un kur vajag rakstit savas dziesmas nosaukumu..Vaij kads var ludzu atzimet vietu ar sarkanu tekstu kur tas ir jadara un kaa.. ??? Nu tad luk Code: #include <amxmodx> #include <amxmisc> #define MAX_SONGS 10 public plugin_init() { register_plugin("loading with music","1.0","eFrigid") return PLUGIN_CONTINUE } new configsdir[200] new configfile[200] new song[MAX_SONGS][64] new songdir[MAX_SONGS][64] new bool:precached[MAX_SONGS] public plugin_precache() { get_configsdir(configsdir,199) format(configfile,199,"%s/loadingsongs.ini",configsdir) new trash for(new i=0;i<MAX_SONGS;i++) { precached=false read_file(configfile,i,song,63,trash) if(!equali(song[4],"")) { precached=true format(songdir,63,"sound/misc/%s",song) precache_sound(songdir) } } } public client_connect(id) { for(new i=0;i<MAX_SONGS;i++) client_cmd(id,"play sound/misc/%s",songdir) return PLUGIN_HANDLED } Ludzu paradat piemeru te kur ir kas ir jadara. Ir ari tads... /*Loading Song Advanced: Supports, *| \/ | _ \__ / *| |\/| | _/|_ \ Files *|_| |_|_| |___/ *v2.0: *the random play issue. * *------------------------------------------------------------------------------------- * *v1.1: *Found a little bug in 1.0. *------------------------------------------------------------------------------------- *Credit: *[OSA]Odin For his original version *twistedeuphoria For helping fix the random play issue. * *Difference from [OSA]Odin's *Instead of having to edit a code everytime you want to add a song this version includes an ini file(loadingsongs.ini) to add your mp3's. You can add up to 50 mp3's of your choice *[NOTE]Adding 4 full mp3's is a very long download![/NOTE] * *mp3's *If your wondering where to put these. They go in your sound/misc Folder * *loadingsongs.ini *Add your mp3's name *ie: * *eazye.mp3 * *If the mp3 you put in your misc folder was named "eazye.mp3" * *Soon to come: * *Making it support wav * * *Installation: * *Place sma file in "Scripting" folder.(compile if needed) * *Place amxx file in "Plugins" folder(If you compiled yourself get amxx file out of "Compiled" folder located in the scripting folder. * *Go in "Configs" folder add the loadingsounds.ini file. * *Add your mp3's name in "loadingsongs.ini" file * *Last but not least edit your "plugins.ini" file located in your "Configs" folder add loadingsongadvanced.amxx in your third party custom plugins. */ #include <amxmodx> #include <amxmisc> #define MAX_SONGS 50 public plugin_init() { register_plugin("loading with music","2.0","eFrigid") return PLUGIN_CONTINUE } new configsdir[200] new configfile[200] new song[MAX_SONGS][64] new songdir[MAX_SONGS][64] new bool:precached[MAX_SONGS] public plugin_precache() { get_configsdir(configsdir,199) format(configfile,199,"%s/loadingsongs.ini",configsdir) new trash for(new i=0;i<MAX_SONGS;i++) { precached=false read_file(configfile,i,song,63,trash) if(!equali(song[4],"")) { precached=true format(songdir,63,"misc/%s",song) precache_sound(songdir) } } } public client_connect(id) { new size = file_size(configfile,1) new rsong = random_num(1,size) new cursong[64], a read_file(configfile,rsong,cursong,63,a) client_cmd(id,"mp3 play sound/misc/%s",cursong) return PLUGIN_CONTINUE } Tas iet komap ar pirmo Code: Un tad Pedejais..iskatas luk sadi.... Code: /* * Play a sound during the connection. * * Random code part taken from plugin * connectsound by White Panther * * v1.0 * */ #include <amxmodx> #define Maxsounds 6 // sounds localized in gcf cache (valve/media) // you can add more song if you want. new soundlist[Maxsounds][] = {"Half-Life01","Half-Life02","Half-Life04","Half-Life12","Half-Life13","Half-Life17"} public client_connect(id) { new i i = random_num(0,Maxsounds-1) client_cmd(id,"mp3 play media/%s",soundlist) return PLUGIN_CONTINUE } public plugin_init() { register_plugin("Loading Sound","1.0","Amxx User") return PLUGIN_CONTINUE } Ludzu palidziet..
×
×
  • Create New...