Replacing with "str..."
#3

Well here is a example..tho it uses strcmp:
pawn Код:
//OnPlayerText
        if(strcmp(text, "haha", true) == 0)
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "%s laughs out loud.", sendername);
            ProxDetector(20.0, playerid, string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            return 0;
        }
Reply


Messages In This Thread
Replacing with "str..." - by Mechscape - 02.02.2010, 14:35
Re: Replacing with "str..." - by Mechscape - 03.02.2010, 01:44
Re: Replacing with "str..." - by s0nic - 03.02.2010, 02:57
Re: Replacing with "str..." - by Mechscape - 04.02.2010, 21:04
Re: Replacing with "str..." - by Niixie - 04.02.2010, 21:07
Re: Replacing with "str..." - by Jefff - 04.02.2010, 22:18
Re: Replacing with "str..." - by s0nic - 05.02.2010, 00:23

Forum Jump:


Users browsing this thread: 5 Guest(s)