Raised This Month: $ Target: $400
 0% 

how messagemod works ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JusTGo
Veteran Member
Join Date: Mar 2013
Old 05-14-2014 , 13:25   how messagemod works ?
Reply With Quote #1

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.
__________________
JusTGo is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-14-2014 , 13:31   Re: how messagemod works ?
Reply With Quote #2

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().
__________________
fysiks is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 05-15-2014 , 07:11   Re: how messagemod works ?
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
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.
__________________
JusTGo 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 09:45.


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