Raised This Month: $ Target: $400
 0% 

messagemode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-30-2010 , 18:34   Re: messagemode
Reply With Quote #1

Hey i realy thank u but one more question

If i type something like: Hello

the output is: °hello°

something like quotes. i tried that:

PHP Code:
#include <amxmodx> 
public plugin_init() 

    
register_clcmd("say /wordhere""cmdWord"
    
register_clcmd("_mm_wordhere""mmWord"


public 
cmdWord(id

    
client_cmd(id"messagemode _mm_wordhere"


public 
mmWord(id

    new 
szTemp[64
    
read_args(szTempcharsmax(szTemp)) 
    
client_print(idprint_chat"You just said: %s"remove_quotes(szTemp)) //<------------------- HERE

Look in comment, but it didnt work the it just remove the output.
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-30-2010 , 19:05   Re: messagemode
Reply With Quote #2

In my code, add remove_quotes(szTemp) after read_args() and before client_print().
__________________
fysiks is online now
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 00:06.


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