02.09.2009, 18:15
The bots can be killed?
Originally Posted by Don Correlli
https://sampwiki.blast.hk/wiki/NPC:OnPlayerDeath
What does this tell you? |
Originally Posted by Mowgli
NPC:OnPlayerDeath sounds more like a bot killing a player
|
format(string, sizeof(string), "Oh no %s! I didn't want you to die that way!", name);
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;
}
Originally Posted by Don Correlli
At wiki, i see this code for NPC:OnPlayerDeath:
pawn Код:
|