Raised This Month: $ Target: $400
 0% 

Problem With blank


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 05-30-2014 , 13:50   Problem With blank
Reply With Quote #1

Why always, I add it to this line menu
Code:
menu_addblank( iMenu );
So in the server I open the menu, and exit from menu it is always 9 or 10 to Exit -.-

and no 0
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Spawner30
BANNED
Join Date: Dec 2013
Location: I Don't Know Yet
Old 05-31-2014 , 14:34   Re: Problem With blank
Reply With Quote #2

theres 2 method to do a space in menu

1 -
PHP Code:
menu_addblankiMenu 0); 
2 -
PHP Code:
menu_additemiMenu,"^n","",0

Last edited by Spawner30; 05-31-2014 at 14:36.
Spawner30 is offline
Send a message via Skype™ to Spawner30
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 05-31-2014 , 14:38   Re: Problem With blank
Reply With Quote #3

Quote:
Originally Posted by Spawner30 View Post
wtf ! so theres 2 mothed to do a space in menu

1 - Code:
menu_addblank( iMenu,0 );

2 - Code:
menu_additem( "What ever <b>^n</b>", "" ,0 );
Lol Do not be shocked ..

I'm also a bit shocked by what you said
Code:
<b>^n</b>
I know ^n, but I do it
It makes the next case to change with colors, and not work, or if I set the color red, then in server will see a gray in menu..
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Spawner30
BANNED
Join Date: Dec 2013
Location: I Don't Know Yet
Old 05-31-2014 , 14:41   Re: Problem With blank
Reply With Quote #4

Update !
so give me your code here .
Spawner30 is offline
Send a message via Skype™ to Spawner30
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 05-31-2014 , 14:50   Re: Problem With blank
Reply With Quote #5

Quote:
Originally Posted by Spawner30 View Post
Update !
so give me your code here .
I have a question, before I bring you the code.

What is more convenient to use
>
If possible at all, something like this
Code:
menu_additem (iMenu, "Top15", ADMIN_KICK);
Or use what I now use
Code:
menu_additem (iMenu, "Top15", _, _, iCallback);
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Spawner30
BANNED
Join Date: Dec 2013
Location: I Don't Know Yet
Old 05-31-2014 , 14:56   Re: Problem With blank
Reply With Quote #6

this is 2 different code. the first is better . i think the seconde is false . as i think you wan't a callback function ?

Last edited by Spawner30; 05-31-2014 at 14:59.
Spawner30 is offline
Send a message via Skype™ to Spawner30
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-31-2014 , 14:58   Re: Problem With blank
Reply With Quote #7

What exactly are you trying to do?

Quote:
Originally Posted by Spawner30 View Post
this is 2 different code. the first is better because the seconde you have to create a callback function + save it .
The first won't compile
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).

Last edited by YamiKaitou; 05-31-2014 at 14:58.
YamiKaitou is offline
Spawner30
BANNED
Join Date: Dec 2013
Location: I Don't Know Yet
Old 05-31-2014 , 15:03   Re: Problem With blank
Reply With Quote #8

Lol i miss that one ! :v
Spawner30 is offline
Send a message via Skype™ to Spawner30
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 05-31-2014 , 15:36   Re: Problem With blank
Reply With Quote #9

Fixed

Last edited by Fuck For Fun; 07-06-2014 at 12:52. Reason: Solved
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 05-31-2014 , 16:17   Re: Problem With blank
Reply With Quote #10

what are you trying to do in this menu ???
Freezo Begin 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 22:45.


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