OnPlayerText help
#1

Ok iv been on sa-mp wiki on callbacks and was making my npc, my npc works fine now i just need
like when someone says something ex: hi james (my bot's name is james) it comes error the code is
Код:
if (strfind(text, "hi james") != -1)
    {
        new string[80], name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
        format(string, sizeof(string), "Hi %s", name);
        SendChat(string);
    }
its onplayertext the error:
Код:
C:\Users\james\Desktop\servimm\gamemodes\Gamemode.pwn(597) : error 017: undefined symbol "SendChat"
any clues?
_______________________
[GDZ]leader
Dont ASK! me RolePlay questions
www.mefreeroam.tk
Reply


Messages In This Thread
OnPlayerText help - by FireCat - 28.08.2010, 15:13
Re: OnPlayerText help - by zSuYaNw - 28.08.2010, 15:59
Re: OnPlayerText help - by FireCat - 28.08.2010, 16:15

Forum Jump:


Users browsing this thread: 1 Guest(s)