AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Menu help (https://forums.alliedmods.net/showthread.php?t=27082)

wokkel 04-14-2006 14:52

Menu help
 
I need some help with my menu script

i got the command
client_print(id, print_chat, "You have selected choice number 1")

but i want to change that to a console command
for example i want the console command listmaps in my menu
what line of code would i have to enter then?

(please give me examples, they work better for me)

v3x 04-14-2006 14:54

What? Do you have anything done so far?

wokkel 04-14-2006 15:30

re
 
no, i did not released anything yet, well not in public but i hope it will come later

the thing is, i need the command to use a console command

not the clientprint command
or the show_motd command

Kensai 04-14-2006 16:06

Code:
register_concmd

??

Xanimos 04-14-2006 16:08

client_cmd(id, "Command to run on client")

NewUser 04-14-2006 16:08

Well maybe if you posted more code we might be able to assist you?

wokkel 04-14-2006 16:42

Quote:

Originally Posted by Suicid3
client_cmd(id, "Command to run on client")

Thank you soo much suicid3, omg you are the best :wink:


:D


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

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