Raised This Month: $ Target: $400
 0% 

Read certain part of chat message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Buckshot
Senior Member
Join Date: Mar 2014
Location: Sweden
Old 03-29-2014 , 16:13   Read certain part of chat message
Reply With Quote #1

So, i am making this plugin where a player types "/command playername description", and i want to get the playername and string separately and place each of them in a separate variable which i am going to use, which does not work with read_args since read_args reads everything after the command at once. How do i do this? I guess you gotta read the information before the space, and then put the rest in description variable.. but i don't know how.
__________________
PM me for private work.



Last edited by Buckshot; 03-29-2014 at 16:16.
Buckshot is offline
Send a message via Skype™ to Buckshot
 


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 05:56.


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