View Single Post
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 03-26-2018 , 06:33   Re: CommandExists crashing server
Reply With Quote #6

Quote:
Originally Posted by OSWO View Post
Is "text" a variable you made inside your listener, or do you pull that from the arguments?
from the arguments

PHP Code:
public Action Command_Chat(int client, const char[] commandint args)
{
    if(
IsValidClient(client))
    {
        
char text[512], textcolor[1024];

        
text[0] = '\0';

        
GetCmdArgString(textsizeof(text));
        
StripQuotes(text);
        
TrimString(text);
... 
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX