Raised This Month: $ Target: $400
 0% 

Solved read messages from messagemode


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 02-05-2019 , 05:20   read messages from messagemode
Reply With Quote #1

PHP Code:
new authid[80],name[32]
            
get_user_authid(id,authid,charsmax(authid))
            
get_user_name(id,name,charsmax(name))
            new 
content[155]
            
client_cmd(id"messagemode MYTEXT");
            
format(content,charsmax(content),"^"ABC^" ^"%s^" ^"[%s]^" ^"%s^"",authidMYTEXTname)
            
write_file("addons/amxmodx/configs/myfiles.ini",content,-1
how im supposed to add my text from messagemode MYTEXT between "[%s]" on format content?
i tried from some examples but those weren't good
__________________
a simple act of caring creates an endless ripple.

Last edited by Nutu_; 02-05-2019 at 17:35.
Nutu_ is offline
 


Thread Tools
Display Modes

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 07:33.


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