Killing npc
#1

Код:
		

OnPlayerDeath
.....

....

 if(playerid == IsPlayerNPC(playerid)) 
				 {
                  new string3[256];
	              format(string3, sizeof(string3), "~g~You killed NPC : %s ~w~ ~r~+1",GetPlayerNameEx(playerid));
                  GameTextForPlayer(killerid,string3, 3000, 4);

				 }
The message didn't show.

in facts i want a message with gametextforplayer when you kill a NPC
anyone can help me?
Reply


Messages In This Thread
Killing npc - by Riccardomen - 09.11.2016, 10:53
Re: Killing npc - by Pearson - 09.11.2016, 12:09
Re: Killing npc - by Riccardomen - 09.11.2016, 13:03
Re: Killing npc - by Riccardomen - 09.11.2016, 21:26
Re: Killing npc - by Pearson - 09.11.2016, 23:47
Re: Killing npc - by Riccardomen - 07.12.2016, 00:01

Forum Jump:


Users browsing this thread: 1 Guest(s)