Raised This Month: $ Target: $400
 0% 

Announce


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
RuRuRu612754
Senior Member
Join Date: Sep 2011
Old 01-18-2013 , 21:02   Announce
Reply With Quote #1

hello.

type console in "anno abc123" to print chat "[] 123"
i want type console in "anno abc123" to print chat "[] abc123"
where is the problem?
help me.

thanks.

source code here:
PHP Code:
#include <amxmodx>
#include <fun>

public plugin_init()
{
    
register_clcmd("/anno""cmdAnno")
    
register_clcmd(".anno""cmdAnno")
}

public 
cmdAnno(id)
{
    new 
MessageText[4], PrintText
    read_argv
(1MessageTextcharsmax(MessageText))
    
PrintText str_to_num(MessageText)
    
client_print(idprint_chat"[prifix] %s"PrintText)

    return 
PLUGIN_HANDLED

RuRuRu612754 is offline
 



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 13:39.


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