if(!strcmp not working...
#1

pawn Код:
if(!strcmp("9-2", text, true) && strlen(text)==strlen("10-0") && Code == true)
    {
        SendClientMessageToAll(0xDEEE20FF, "HELP");
    }
The code won't work what I want it to do is when a player types 9-2 it shows Use Cation in the main chat and it says the name of the person who said it etc..

RandomDude[0]: HELP

it would come like that if i type 9-2
Reply


Messages In This Thread
if(!strcmp not working... - by RandomDude - 18.05.2013, 17:26
Re: if(!strcmp not working... - by RandomDude - 18.05.2013, 18:26
Re: if(!strcmp not working... - by Revo - 18.05.2013, 18:45

Forum Jump:


Users browsing this thread: 1 Guest(s)