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

[One Last HELP] Menu Code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kosidone
Member
Join Date: Aug 2014
Old 11-05-2015 , 06:01   [One Last HELP] Menu Code
Reply With Quote #1

solved

Last edited by Kosidone; 11-11-2015 at 13:59.
Kosidone is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-05-2015 , 07:06   Re: [One Last HELP] Menu Code
Reply With Quote #2

register_cmd => register_clcmd
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Kosidone
Member
Join Date: Aug 2014
Old 11-05-2015 , 08:11   Re: [One Last HELP] Menu Code
Reply With Quote #3

thanks for answer but when i change it to clcmd it doesn't work

i mean it compile but it don't appear the menu !
Kosidone is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-05-2015 , 11:50   Re: [One Last HELP] Menu Code
Reply With Quote #4

What command are you using and does it show any errors in the console?
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Kosidone
Member
Join Date: Aug 2014
Old 11-05-2015 , 12:04   Re: [One Last HELP] Menu Code
Reply With Quote #5

i'm not using any command Code said when you push M "choose_team"

Code:
 register_clcmd("chooseteam", "handler"); 
new menu = menu_create( "\rPlayer Menu!:", "menu_handler" );
btw i have no error when i change this
PHP Code:
 register_cmd("menu""player"); 
to this
PHP Code:
 register_clcmd("menu""player"); 

Last edited by Kosidone; 11-05-2015 at 12:09.
Kosidone is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-05-2015 , 14:32   Re: [One Last HELP] Menu Code
Reply With Quote #6

It would be nice if you tell us what's the error.

Last edited by OciXCrom; 11-05-2015 at 14:32.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Kosidone
Member
Join Date: Aug 2014
Old 11-05-2015 , 14:43   Re: [One Last HELP] Menu Code
Reply With Quote #7

The error is When i change cmd to -> clcmd it run in game but don't appear the menu
and when i change clcmd to -> cmd it said

Code:
M_Menu2.sma(60) : error 017: undefined symbol "register_cmd"
M_Menu2.sma(253) : warning 217: loose indentation
M_Menu2.sma(412) : warning 217: loose indentation
M_Menu2.sma(452) : warning 217: loose indentation

1 Error.
Compilarea failed!

Last edited by Kosidone; 11-05-2015 at 14:43.
Kosidone is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-05-2015 , 17:22   Re: [One Last HELP] Menu Code
Reply With Quote #8

There is no such thing as register_cmd, and your command is "menu".
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Kosidone
Member
Join Date: Aug 2014
Old 11-07-2015 , 09:33   Re: [One Last HELP] Menu Code
Reply With Quote #9

oh thnx but how can i make the "menu" in ChooseTeam ?
Kosidone is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-07-2015 , 17:54   Re: [One Last HELP] Menu Code
Reply With Quote #10

Change the command to "chooseteam"... Why not try and figure it out your self before asking for help?
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 11:55.


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