problem with the NPC SendChat
#1

hi guys i made a few NPCS and the SendChat command for NPCS it says error 017: undefined symbol "SendChat"

pawn Code:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason);
    new string[80], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));

    format(string, sizeof(string), "Oh no %s! I didn't want you to die that way!", name);
    SendChat(string);
    return 1;
}
Error

pawn Code:
error 017: undefined symbol "SendChat"
Reply


Messages In This Thread
problem with the NPC SendChat - by Zonoya - 10.09.2011, 16:55
Re: problem with the NPC SendChat - by Max_Coldheart - 10.09.2011, 16:59

Forum Jump:


Users browsing this thread: 2 Guest(s)