Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server bilgileri plugini
#1
Merhabalar bir eklenti rica edecektim. Csduragi sunucusunda Cs11.CSDuragi.Net'in sahibiyim pro bir server için istediğim bir eklenti.
Servere girdikten sonra oyunu kapatan ve tekrar açan kişilerin konsolunda serverın bılgılerı yazmasını ıstıyorum.
Reply
#2
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Son Server Bilgileri"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"


new szServerName[32];
new 
szServerIP[32];

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
get_user_name(0,szServerName,charsmax(szServerName));
    
get_user_ip(0,szServerIP,charsmax(szServerIP), true);
    
}
public 
client_connect(id) {
    
    
console_cmd(id,"Motdfile autoexec.CFG");
    
console_cmd(id,"Motd_write echo ------ Son Girdiginiz Server Bilgileri -------;echo;echo SERVER ADI: %s;echo SERVER IP: %s",szServerName,szServerIP);
    


--------------

Başlık düzeltildi.

Kural 1:
https://www.csplague.com/istek-cs-1-6-pl...mayin.html


CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz:
destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/

Reply
#3
replace_all(szServerIP,0,":27015","")

ekleyerek :27015 portu kaldırlabilir aslında güzel olmuş [MENTION=8515]akcaliberkk[/MENTION] eline sağlık

- - - - - - - - - -

replace_all(szServerIP,0,":27015","")

ekleyerek :27015 portu kaldırlabilir aslında güzel olmuş [MENTION=8515]akcaliberkk[/MENTION] eline sağlık
Reply
#4
team36 dateline='' Wrote: replace_all(szServerIP,0,":27015","")

ekleyerek :27015 portu kaldırlabilir

get_user_ip(...,...,..., 0)

yerine

get_user_ip(...,...,..., 1)

kullanmak port kısmını almamak için yeterli

team36 dateline='' Wrote: aslında güzel olmuş @akcaliberkk eline sağlık

teşekkür ederim.


CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz:
destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/

Reply
#5
saol
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto-Connect Plugini adiosamigo 6 6,506 09-12-19, 08:31
Last Post: rezi072
  WebSiteBot plugini edit mahmutt159 21 10,574 09-12-17, 04:30
Last Post: exelds78
  Hook,grab,rope plugini ayar jackdalton06 13 9,493 09-12-17, 04:29
Last Post: exelds78
  Deatmatch Server Oto Silah Engelleme taykor19 10 6,716 09-12-17, 04:28
Last Post: exelds78
  [EDİT] Banka Plugini pandora158 9 12,129 09-12-17, 04:28
Last Post: exelds78
  Shop Plugini counter3 12 8,177 09-12-17, 04:26
Last Post: exelds78
  Nick Sifreleme Plugini xLdeJavu 10 6,290 09-12-17, 04:24
Last Post: exelds78
  Jailde jetpack plugini sallyreer 2 7,333 09-12-17, 04:24
Last Post: exelds78
  [JB] FastDownload Plugini -Csduragi Sorunu bunyo67900 5 6,656 09-12-17, 04:18
Last Post: exelds78
  Sabit Değişen Üst Reklam Plugini werr2 2 5,606 09-12-17, 04:17
Last Post: exelds78

Foruma Atla:


Users browsing this thread: 1 Guest(s)