base builder 6.5 human classes menu!
i found human classes menu but i want change some parts and need help this menu is for vips and i want make it for players and i want put text: sorry, you don't have access to use this class if you dont have class access. here is sma text:
---------------------------------------------------------------------------------------------------------------- #include <amxmodx> #include <amxmisc> #include <cstrike> #define PLUGIN "Admin Model Menu" #define VERSION "1.0" #define AUTHOR "Dimision" #define ADMIN_LEVEL_Q public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /race", "admin") } public plugin_precache() { precache_model("models/player/sas/sas.mdl") precache_model("models/player/vip/vip.mdl") precache_model("models/player/sniper/sniper.mdl") precache_model("models/player/ghost/ghost.mdl") precache_model("models/player/tanker/tanker.mdl") precache_model("models/player/hitman/hitman.mdl") precache_model("models/player/deadshot/deadshot.mdl") } public admin(id) { if (get_user_flags(id) & ADMIN_LEVEL_H) { model_menu(id) } else { ChatColor(id, "!n [!g Base Builder !n] Sorry, you don't have access to use this menu") } } public model_menu(id) { new menu = menu_create("\ySelect Your \r[Race]\w", "menu_wybierz") menu_additem(menu, "\wClassic \r[Free]", "1", 0) menu_additem(menu, "\wVIP \r[VIP]", "2", 0) menu_additem(menu, "\wSniper \r[Helper]", "3", 0) menu_additem(menu, "\wGhost \r[Admin]", "4", 0) menu_additem(menu, "\wTanker \r[Full Admin]", "5", 0) menu_additem(menu, "\wHitman \r[Head Admin]", "6", 0) menu_additem(menu, "\wDeadshot \r[Zamenik/Owner]", "7", 0) menu_setprop(menu, MPROP_EXIT, MEXIT_ALL) menu_display(id, menu, 0) } public menu_wybierz(id, menu, item) { if (item == MENU_EXIT) { menu_destroy(menu) return PLUGIN_HANDLED } new data[6], iName[64] new acces, callback menu_item_getinfo(menu, item, acces, data,5, iName, 63, callback) new key = str_to_num(data) switch(key) { case 1 : if(get_user_flags(id) & ADMIN_LEVEL_H) cs_set_user_model(id, "sas") case 2 : if(get_user_flags(id) & ADMIN_LEVEL_H) cs_set_user_model(id, "vip") case 3 : if(get_user_flags(id) & ADMIN_LEVEL_B) cs_set_user_model(id, "sniper") case 4 : if(get_user_flags(id) & ADMIN_LEVEL_C) cs_set_user_model(id, "ghost") case 5 : if(get_user_flags(id) & ADMIN_LEVEL_D) cs_set_user_model(id, "tanker") case 6 : if(get_user_flags(id) & ADMIN_LEVEL_E) cs_set_user_model(id, "hitman") case 7 : if(get_user_flags(id) & ADMIN_LEVEL_F) cs_set_user_model(id, "deadshot") } menu_destroy(menu) return PLUGIN_HANDLED } stock ChatColor(const id, const input[], any:...) { new count = 1, players[32]; static msg[191]; vformat(msg, 190, input, 3); replace_all(msg, 190, "!g", "^4"); // verde replace_all(msg, 190, "!n", "^1"); // galben/alb/negru replace_all(msg, 190, "!t", "^3"); // rosu/albastru/gri replace_all(msg, 190, "!t2", "^0"); // rosu2/albastru2/gri2 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(); } } } } |
Re: base builder 6.5 human classes menu!
PHP Code
|
Re: base builder 6.5 human classes menu!
1 Attachment(s)
I have a Human Classes Menu which i edited for my BaseBuilder server.
You can edit it easily too. Everything u want is added in that plugin. |
Re: base builder 6.5 human classes menu!
1 Attachment(s)
@ DON KHAN - Your plugin have somebugs and i have fixed them + added new features'
@ thebest24 - If i have free time i will make a new features for this plugin like, I will make special things for every class like [Time Money Bonus, gravity, bunnyhop, milti jump, speed.........] |
Re: base builder 6.5 human classes menu!
Quote:
|
Re: base builder 6.5 human classes menu!
this classes menu is good but i need with special things health speed gravity invisibility and x2 damage
|
Re: base builder 6.5 human classes menu!
1 Attachment(s)
Quote:
Ps: I didn't tested it |
Re: base builder 6.5 human classes menu!
Quote:
|
Re: base builder 6.5 human classes menu!
instead of glow invisibility will be better i think
|
Re: base builder 6.5 human classes menu!
i fixed my plugin thx :) now i need new HUD for basebuilder (preptime,buildtime , builder/zombie class , health HUD ).
|
All times are GMT -4. The time now is 02:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.