28.08.2010, 15:13
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
its onplayertext the error:
any clues?
_______________________
[GDZ]leader
Dont ASK! me RolePlay questions
www.mefreeroam.tk
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); }
Код:
C:\Users\james\Desktop\servimm\gamemodes\Gamemode.pwn(597) : error 017: undefined symbol "SendChat"
_______________________
[GDZ]leader
Dont ASK! me RolePlay questions
www.mefreeroam.tk