Raised This Month: $ Target: $400
 0% 

[Help] How do I add blank options on the old menu system


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
NaimB77
Member
Join Date: Aug 2012
Old 11-16-2013 , 08:29   [Help] How do I add blank options on the old menu system
Reply With Quote #1

I want to know how I add blank options on the old menu system.
The reason why i'm using the old menu system is, cause i'm editing a plugin
( http://forums.alliedmods.net/showthread.php?p=378952 )

And I don't really want to damage anything of the plugin so, i'm asking help of you guys.

PHP Code:
public display_knife(id) {
    new 
menuBody[512]
    
add(menuBody511"\rKnife Mod\w^n")
    
add(menuBody511"\r1. \wMachete \y[\rMore Damage/Low Speed\y]\w^n")
    
add(menuBody511"\r2. \wBak Knife \y[\rNo Footsteps\y]\w^n")
    
add(menuBody511"\r3. \wPocket Knife \y[\rHigh Speed\y]\w^n")
    
add(menuBody511"\r4. \wButcher Knife \y[\rLow Gravity]\w^n")
    
add(menuBody511"\r5. \wDefault Knife \y[\rHealth Regeneration\y]\w^n^n")
    
add(menuBody511"\r0. \wExit^n")
    
    new 
keys = ( 1<<1<<1<<1<<1<<1<<)
    
show_menu(idkeysmenuBody, -1"Knife Mod")

That's the code, so I want to make a blank option right after "Knife Mod" and Option "5" !

Allthough thx for helping have a nice day !
NaimB77 is offline
 


Thread Tools
Display Modes

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 23:21.


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