The bots can be killed?
#6

At wiki, i see this code for NPC:OnPlayerDeath:
pawn Код:
public OnPlayerDeath(playerid)
{
  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;
}
And SendChat works only for bots.
Reply


Messages In This Thread
The bots can be killed? - by CTCCoco - 02.09.2009, 18:15
Re: The bots can be killed? - by Correlli - 02.09.2009, 18:16
Re: The bots can be killed? - by CTCCoco - 02.09.2009, 18:20
Re: The bots can be killed? - by Mowgli - 02.09.2009, 18:22
Re: The bots can be killed? - by XtremeChio - 02.09.2009, 18:23
Re: The bots can be killed? - by Correlli - 02.09.2009, 18:24
Re: The bots can be killed? - by (.Aztec); - 02.09.2009, 20:07
Re: The bots can be killed? - by Double-O-Seven - 02.09.2009, 20:10
Re: The bots can be killed? - by TMasters - 02.09.2009, 20:12
Re: The bots can be killed? - by ded - 02.09.2009, 20:34

Forum Jump:


Users browsing this thread: 1 Guest(s)