AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how messagemod works ? (https://forums.alliedmods.net/showthread.php?t=240393)

JusTGo 05-14-2014 13:25

how messagemod works ?
 
hi, so i want to make menu where there is option that player can leave a note.
client_cmd(id, "messagemode Something")
but i didn't know how it works.








_________________________
sorry for my bad english.

fysiks 05-14-2014 13:31

Re: how messagemod works ?
 
client_cmd(id, "messagemode myCommand") will put up a chat-like dialog. When they hit enter, it will call the "myCommand" function that is registered with register_clcmd().

JusTGo 05-15-2014 07:11

Re: how messagemod works ?
 
Quote:

Originally Posted by fysiks (Post 2137713)
client_cmd(id, "messagemode myCommand") will put up a chat-like dialog. When they hit enter, it will call the "myCommand" function that is registered with register_clcmd().

thnx was missing the register_clcmd part.


All times are GMT -4. The time now is 09:45.

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