CSPLague
/fiyat | .amxxx - Printable Version

+- CSPLague (https://www.csplague.com)
+-- Forum: CS 1.6 Plugin (Eklenti) Bölümü (https://www.csplague.com/forumdisplay.php?fid=6)
+--- Forum: [İSTEK] Cs 1.6 Plugin İstek Bölümü (https://www.csplague.com/forumdisplay.php?fid=80)
+---- Forum: Çözülmüş İstekler (https://www.csplague.com/forumdisplay.php?fid=87)
+---- Thread: /fiyat | .amxxx (/showthread.php?tid=4203)



/fiyat | .amxxx - teddY - 28-07-12

Beyler Oyundayken /fiyat Yazinca Sunlarin cikmasini İstiyorum

[1 AY] ADMINLIK 5 TL
[2 AY] ADMİNLİK 10TL
lot+koruma+map 3TL

Simdiden Teşkrler Cok lazm Beyler Wink


Cevap: /fiyat | .amxxx - akcaliberkk - 28-07-12

PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Adminlik Bilgileri"
#define VERSION "1.0"
#define AUTHOR "akcaliberk"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /fiyat","ShowMotd")
    
register_clcmd("say_team /fiyat","ShowMotd")
    
    
register_dictionary("fiyat_bilgileri.txt")
}
public 
ShowMotd(id) {


    static 
motd[2048]
    
formatex(motd2047"%L"id"ABOUT_ADMIN")
    
    
show_motd(idmotd"Adminlik Fiyatlari")
    return 
PLUGIN_HANDLED


Üstteki kaynak kod pluginadi.amxx e çevrilip: amxmodx/plugins klasörüne atılacak
amxmodx/configs içindeki plugins.ini dosyasına

pluginadi.amxx şeklinde satir eklenecek.

Alttaki linkten inen fiyat_bilgileri.txt -> amxmodx/data/lang klasörüne atılacak.

https://rapidshare.com/files/168426716/fiyat_bilgileri.txt


Cevap: /fiyat | .amxxx - alendragon - 29-07-12

///edit. Emeğe saygısızlık !