Sorry , ze tak pisze ale sam osobiscie nie mam jak sprawdzic tego pluginu , ktory zrobilem bo jestem u wujka na komputerze a on nie pozwala mi sciagac gier
A wiec tak . Mam pytanie , czy plugin tak napisany bedzie dzialal i czy wyswietli sie opcja ? Jezeli nie to moglby ktos poprawic i go podac ? Prosilbym bardzo
Za pomoc/dobra odpowiedz daje "pomogl"
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
#define MENU_KEY_1 (1<<0)
#define MENU_KEY_2 (1<<1)
#define MENU_KEY_3 (1<<2)
#define MENU_KEY_4 (1<<3)
#define MENU_KEY_5 (1<<4)
#define MENU_KEY_6 (1<<5)
#define MENU_KEY_7 (1<<6)
#define MENU_KEY_8 (1<<7)
#define MENU_KEY_9 (1<<8)
#define MENU_KEY_0 (1<<9)
#define MYMENU_KEYS MENU_KEY_1|MENU_KEY_2
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("mymenu","mymenu");
}
public mymenu(id){
show_menu(id,MENU_KEY_1| MENU_KEY_2, "yLubisz Bizmuta ?^n^nw1. Tak^t2. Nie");
return PLUGIN_HANDLED;
}
public cbMyMenu(id, key){
switch(key){
case 0:{
client_print(id, print_chat, "Wybrales opcje Tak");
}
case 1:{
client_print(id, print_chat, "Wybrales opcje Nie");
}
}
}
// Add your code here


Dodatki SourceMod



Temat jest zamknięty









