Raised This Month: $51 Target: $400
 12% 

Class Menu


Post New Thread Reply   
 
Thread Tools Display Modes
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 12-29-2012 , 07:14   Re: Class Menu
Reply With Quote #11

Quote:
Originally Posted by caked View Post
I did the code this way because i started coding from this website which helped me - https://forums.alliedmods.net/showth...6364#BasicMenu
You should post there when you able to create some difficult and userfull stuff yourself, not this newbie things.
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)

aaarnas is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 01-19-2013 , 02:07   Re: Class Menu
Reply With Quote #12

Quote:
Originally Posted by caked View Post
Class Menu

v2.6

By Caked

I wanted to release my Class Menu ive made took me forever ! im sorry if wrong section. Enjoy anyways bugs just tell me. My first coding ive ever done so please dont get me wrong!

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <hamsandwich>
#include <engine>
#include <fakemeta>
#include <fakemeta_util>
#include <colorchat>
 
 
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
 
 
public plugin_init() {
 
 
register_plugin(PLUGINVERSIONAUTHOR)
register_clcmd"say /class""ClassMenu" );
}
public 
ClassMenu(id)
{
new 
menu 
menu_create("\rClass Menu :""menu_handler");
 
 
menu_additem(menu"\wLeone""1"0);
menu_additem(menu"\wCommando""2"0);
menu_additem(menu"\wMachine Gun""3"0);
menu_additem(menu"\wRambo""4"0);
menu_additem(menu"\wSchmidt""5"0);
menu_additem(menu"\wKrieg""6"0);
menu_additem(menu"\wIDF Defender""7"0);
menu_additem(menu"\wRifle""8"0);
menu_additem(menu"\wMaverick""9"0);
menu_additem(menu"\wClarion""10"0);
menu_additem(menu"\wBullpup""11"0);
 
 
menu_setprop(menuMPROP_EXITMEXIT_ALL);
menu_display(idmenu0);
 
 
}
public 
menu_handler(idmenuitem)
{
if( 
item == MENU_EXIT 
)
{
menu_destroy(menu);
return 
PLUGIN_HANDLED;
 
 
}
new 
data[6], iName[64];
new 
accesscallback;
 
 
menu_item_getinfo(menuitemaccessdata,5iName63callback);
new 
key str_to_num(data);
switch(
key)
 
 
{
case 
1:
{
ColorChat(idRED,"^x04[ Class ]^x01 You Have Chosen The Class ^x03Leone^x03 ^x04[Shotgun][Deagle][HE Grenade]^x04");
give_item(id"weapon_xm1014");
give_item(id"weapon_deagle");
give_item(id"weapon_hegrenade");
cs_set_user_bpammoidCSW_XM1014200 );
cs_set_user_bpammoidCSW_DEAGLE200 );
}
case 
2:
{
ColorChat(idRED,"^x04[ Class ]^x01 You Have Chosen The Class^x03 Commando^x03 ^x04[Dak Dak][Usp][HE Grenade]^x04");
give_item(id"weapon_sg550");
give_item(id"weapon_usp");
give_item(id"weapon_flashbang");
cs_set_user_bpammoidCSW_SG550200 );
cs_set_user_bpammoidCSW_USP200 );
}
case 
3
 
{
ColorChat(idRED,"^x04[ Class ]^x01 You Have Chosen The Class ^x03Machine Gun^x03 ^x04[Mp5][Glock][Smoke Grenade]^x04");
give_item(id"weapon_mp5navy");
give_item(id"weapon_glock18");
give_item(id"weapon_smokegrenade");
cs_set_user_bpammoidCSW_MP5NAVY200 );
cs_set_user_bpammoidCSW_GLOCK18200 );
}
case 
4:
{
ColorChat(idRED,"^x04[ Class ]^x01 You Have Chosen The Class ^x03Rambo^x03 ^x04[Ak47][Five-Seven][HE Grenade]^x04");
give_item(id"weapon_ak47");
give_item(id"weapon_fiveseven");
give_item(id"weapon_hegrenade");
cs_set_user_bpammoidCSW_AK47200 );
cs_set_user_bpammoidCSW_FIVESEVEN200 );
}
case 
5:

 
ColorChat(idRED,"^x04[ Class ]^x01 You Have Chosen The Class ^x03Schmidt^x03 ^x04[Scout][Deagle][Flash Bang]^x04");
give_item(id"weapon_scout");
give_item(id"weapon_deagle");
give_item(id"weapon_flashbang");
cs_set_user_bpammoidCSW_SCOUT200 );
cs_set_user_bpammoidCSW_DEAGLE200 );
}
case 
6:
{
ColorChat(idRED,"^x04[ Class ]^x01 You Have Chosen The Class ^x03Krieg^x03 ^x04[Krieg 552][Usp][Smoke Grenade]^x04");
give_item(id"weapon_sg552");
give_item(id"weapon_usp");
give_item(id"weapon_smokegrenade");
cs_set_user_bpammoidCSW_SG552200 );
cs_set_user_bpammoidCSW_USP200 );
}
case 
7:
{
ColorChat(idRED,"^x04[ Class ]^x01 You Have Chosen The Class ^x03IDF Defender^x03 ^x04[Galil][Glock][He Grenade]^x04");
give_item(id"weapon_galil");
give_item(id"weapon_glock18");
give_item(id"weapon_hegrenade");
cs_set_user_bpammoidCSW_GALIL200 );
cs_set_user_bpammoidCSW_GLOCK18200 );
}
case 
8:
{
ColorChat(idRED,"^x04[ Class ]^x01 You Have Chosen The Class ^x03Rifle^x03 ^x04[Sniper][Five-Seven][Flash Bang]^x04");
give_item(id"weapon_awp");
give_item(id"weapon_fiveseven");
give_item(id"weapon_flashbang");
cs_set_user_bpammoidCSW_AWP200 );
cs_set_user_bpammoidCSW_FIVESEVEN200 );
}
case 
9:
{
ColorChat(idRED,"^x04[ Class ]^x01 You Have Chosen The Class ^x03Maverick^x03 ^x04[M4a1][Deagle][Smoke Grenade]^x04");
give_item(id"weapon_m4a1");
give_item(id"weapon_deagle");
give_item(id"weapon_smokegrenade");
cs_set_user_bpammoidCSW_M4A1200 );
cs_set_user_bpammoidCSW_DEAGLE200 );
}
case 
10:
{
ColorChat(idRED,"^x04[ Class ]^x01 You Have Chosen The Class^x03 Clarion^x03 ^x04[Famas][Usp][He Grenade]^x04");
give_item(id"weapon_famas");
give_item(id"weapon_usp");
give_item(id"weapon_hegrenade");
cs_set_user_bpammoidCSW_FAMAS200 );
cs_set_user_bpammoidCSW_USP200 );
}
case 
11:
{
ColorChat(idRED,"^x04[ Class ]^x01 You Have Chosen The Class^x03 Bullpup^x03 ^x04[Aug][Glock][Flash Bang]^x04");
give_item(id"weapon_aug");
give_item(id"weapon_glock18");
give_item(id"weapon_flashbang");
cs_set_user_bpammoidCSW_AUG200 );
cs_set_user_bpammoidCSW_GLOCK18200 );
}
}

First of all buddy... you didnt MAKE this plugin.... you used code from my plugin i made for you as you asked me for a classes menu with HUD display... all you have done is take away the hud and just leave the menu.

plus this is the Code/Tutorial section Not new plugin submissions.

next time you think of releasing a plugin that is 90% my code please add me as Author

My CODE

Spoiler
Blizzard_87 is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 01-21-2013 , 23:37   Re: Class Menu
Reply With Quote #13

And your both code came from here http://forums.alliedmods.net/showthread.php?t=46364 so no one is better.
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)


Last edited by aaarnas; 01-21-2013 at 23:38.
aaarnas is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 01-22-2013 , 04:36   Re: Class Menu
Reply With Quote #14

Quote:
Originally Posted by aaarnas View Post
And your both code came from here http://forums.alliedmods.net/showthread.php?t=46364 so no one is better.
in that case anyone who has read anything on this forum and then released a plugin didn't code it themselves.
Blizzard_87 is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 01-23-2013 , 15:11   Re: Class Menu
Reply With Quote #15

There is a line between when you doing by tutorial and then you understand why you have to do like this or even do better yourself.
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)

aaarnas is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode