Raised This Month: $ Target: $400
 0% 

[HELP] Player say message?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-07-2014 , 11:45   Re: [HELP] Player say message?
Reply With Quote #1

Code:
register_clcmd("say", "ClientCommandSay") register_clcmd("say_team", "ClientCommandSay") public ClientCommandSay(id) {     new PlayerMessage[192]     read_args(PlayerMessage, charsmax(PlayerMessage))     remove_quotes(PlayerMessage)         if(PlayerMessage[0] == '!')     {         format(PlayerMessage, charsmax(PlayerMessage), "%s", PlayerMessage[1])         new Number = str_to_num(PlayerMessage)     } }
Something like that..
__________________

Last edited by HamletEagle; 12-07-2014 at 11:49.
HamletEagle 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 15:20.


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