PHP- Kodu:
/* Plugin generated by AMXX-Studio */
#include <amxmodx> #include <amxmisc>
#define PLUGIN "Ts3" #define VERSION "1.1" #define AUTHOR "Ke$`h"#define SERVER "Ke$`h | Gaming"/////////////////////////////////////////new kgts;/////////////////////////////////////////public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /ts3menu","ts3menu") set_task(100.0, "kgts3", 0, _, _, "b") /*============================================================ Cvar Ayarlari. ============================================================*/ kgts = register_cvar("ts3menu", "1");} /////////////////////////////////////////public kgts3(){ client_printc(0, "!g[%s] !nSlotluk almak icin !t/ts3menu !nYaziniz..",SERVER) }/////////////////////////////////////////public Ts3menu(id){ new menu = menu_create("\r[\yTeamSpeak\w3\r]\w-\r[\yMenu\r]", "tmenu") menu_additem(menu, "\y TeamSpeak3 Adresimize \r[\wBaglan\r]", "1", 0); menu_additem(menu, "\y TeamSpeak3 \r[\windir\r] \r[\d32bit\r]", "2", 0); menu_additem(menu, "\y TeamSpeak3 \r[\windir\r] \r[\d64bit\r]", "3", 0); formatex(Menuz, charsmax(Menuz), "\yCikis") menu_setprop(menu,MPROP_EXITNAME,Menuz) menu_display(id, menu, 0) }/////////////////////////////////////////public tmenu(id, menu, item){ if( item == MENU_EXIT ){ menu_destroy(menu); return PLUGIN_HANDLED; } new data[6], iName[64]; new access, callback; menu_item_getinfo(menu, item, access, data,5, iName, 63, callback); new key = str_to_num(data); new adminismi[32] get_user_name(id,adminismi,31) switch(key){ case 1: { console_cmd(id,"say /ts3") Ts3menu(id) } case 2: { ////////TS3 Indir////////32Bit//////// Ts3menu(id) show_motd(id,"https://dl.4players.de/ts/releases/3.0.16/TeamSpeak3-Client-win32-3.0.16.exe","Hosgeldiniz") } case 3: { Ts3menu(id) ////////TS3 Indir////////64Bit//////// show_motd(id,"https://dl.4players.de/ts/releases/3.0.16/TeamSpeak3-Client-win64-3.0.16.exe","Hosgeldiniz") } } menu_destroy(menu); return PLUGIN_HANDLED;}/////////////Chat_Color/////////////stock client_printc(const id, const input[], any:...) { new count = 1, players[32]; static msg[191]; vformat(msg, 190, input, 3); replace_all(msg, 190, "!n", "^x01"); // Default Renk(Sarı) replace_all(msg, 190, "!g", "^x04"); // Yeşil Renk replace_all(msg, 190, "!t", "^x03"); // Takım Renk( CT mavi , T kırmızı ) if (id) players[0] = id; else get_players(players, count, "ch"); { for (new i = 0; i < count; i++) { if (is_user_connected(players[i])) { message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]); write_byte(players[i]); write_string(msg); message_end(); } } } }/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }*/
- - - - - - - - - -
PHP- Kodu:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Ts3"
#define VERSION "1.1"
#define AUTHOR "Ke$`h"
#define SERVER "Ke$`h | Gaming"
/////////////////////////////////////////
new kgts;
/////////////////////////////////////////
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /ts3menu","ts3menu")
set_task(100.0, "kgts3", 0, _, _, "b")
/*============================================================
Cvar Ayarlari.
============================================================*/
kgts = register_cvar("ts3menu", "1");
}
/////////////////////////////////////////
public kgts3(){
client_printc(0, "!g[%s] !nSlotluk almak icin !t/ts3menu !nYaziniz..",SERVER)
}
/////////////////////////////////////////
public Ts3menu(id){
new menu = menu_create("\r[\yTeamSpeak\w3\r]\w-\r[\yMenu\r]", "tmenu")
menu_additem(menu, "\y TeamSpeak3 Adresimize \r[\wBaglan\r]", "1", 0);
menu_additem(menu, "\y TeamSpeak3 \r[\windir\r] \r[\d32bit\r]", "2", 0);
menu_additem(menu, "\y TeamSpeak3 \r[\windir\r] \r[\d64bit\r]", "3", 0);
menu_setprop(menu,MPROP_EXIT,MEXIT_ALL)
menu_display(id,menu,0)
}
/////////////////////////////////////////
public tmenu(id, menu, item){
if( item == MENU_EXIT ){
menu_destroy(menu);
return PLUGIN_HANDLED;
}
new data[6], iName[64];
new access, callback;
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
new key = str_to_num(data);
new adminismi[32]
get_user_name(id,adminismi,31)
switch(key){
case 1: {
console_cmd(id,"say /ts3")
Ts3menu(id)
}
case 2: {
////////TS3 Indir////////32Bit////////
Ts3menu(id)
show_motd(id,"https://dl.4players.de/ts/releases/3.0.16/TeamSpeak3-Client-win32-3.0.16.exe","Hosgeldiniz")
}
case 3: {
Ts3menu(id)
////////TS3 Indir////////64Bit////////
show_motd(id,"https://dl.4players.de/ts/releases/3.0.16/TeamSpeak3-Client-win64-3.0.16.exe","Hosgeldiniz")
}
}
menu_destroy(menu);
return PLUGIN_HANDLED;
}
/////////////Chat_Color/////////////
stock client_printc(const id, const input[], any:...) {
new count = 1, players[32];
static msg[191];
vformat(msg, 190, input, 3);
replace_all(msg, 190, "!n", "^x01"); // Default Renk(Sarı)
replace_all(msg, 190, "!g", "^x04"); // Yeşil Renk
replace_all(msg, 190, "!t", "^x03"); // Takım Renk( CT mavi , T kırmızı )
if (id) players[0] = id; else get_players(players, count, "ch");
{
for (new i = 0; i < count; i++)
{
if (is_user_connected(players[i]))
{
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
write_byte(players[i]);
write_string(msg);
message_end();
}
}
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
*/