Raised This Month: $ Target: $400
 0% 

Problem with weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
StickP0le
Senior Member
Join Date: Jan 2010
Location: cuantocabron.com
Old 04-15-2012 , 00:30   Re: Problem with weapons
Reply With Quote #9

iŽll show you an example
Code:
 new const DATA[][] = { "P228", "SCOUT", "XM1014", "MAC10", "AUG", "ELITE", "FIVESEVEN", "UMP45", "SG550",     "GALIL", "FAMAS", "USP", "GLOCK18", "AWP", "MP5NAVY", "M249", "M3", "M4A1", "TMP", "G3SG1", "DEAGLE", "AK47", "P90", "HE GRENADE", "FLASH GRENADE", "SMOKE GRENADE" } // ================================================================================================= // weapons menu // ================================================================================================= public wpmenu(id) {     static Item[64], num[27]     formatex(Item, charsmax(Item), "\d...................^n\rWEAPONS MENU^n\w>>>>>>>>> \d")     new menu = menu_create(Item, "wpmenu_handler")         for (new i = 0; i > 26; i++)     {         num_to_str(i, num, 26)         menu_additem(menu, DATA[i], num)     }         menu_setprop(menu, MPROP_EXIT, MEXIT_ALL)     menu_display(id, menu) }
you have to use your head and see how to optimize all the code with this example
__________________
Steam: stickp0le
StickP0le is offline
 



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 07:50.


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