10.09.2011, 16:55
hi guys i made a few NPCS and the SendChat command for NPCS it says error 017: undefined symbol "SendChat"
Error
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;
}
pawn Code:
error 017: undefined symbol "SendChat"