Need Help With Death Window
#4

Quote:
Originally Posted by ChillaX
Quote:
Originally Posted by DarkPhoenix
You need to use
pawn Код:
SendDeathMessage
Yea i know that code but what picture is those two?
i have when you connect, it shows your name and a AK-47, i want it to look like this!!
Hmm maybe ->
Код:
new playercash;
	if(killerid == INVALID_PLAYER_ID) {

    ResetPlayerMoney(playerid);
	} else {
	  	SendDeathMessage(killerid,playerid,reason);
			SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
			playercash = GetPlayerMoney(playerid);
			if (playercash > 0) {
				GivePlayerMoney(killerid, playercash);
				ResetPlayerMoney(playerid);
			}
			else
			{
			}
   	}
Put it under "OnPlayerDeath, But what you want is it to show a deathmessage of ak47's when u connect?



So put this under "OnPlayerConnect" SendDeathMessage(killerid, playerid, reason);



And get the reason here ->


https://sampwiki.blast.hk/wiki/Weapons
Reply


Messages In This Thread
Need Help With Death Window - by Chilliad - 12.05.2010, 16:43
Re: Need Help With Death Window - by Andy_McKinley - 12.05.2010, 16:52
Re: Need Help With Death Window - by Chilliad - 12.05.2010, 17:21
Re: Need Help With Death Window - by Jay. - 12.05.2010, 19:25
Re: Need Help With Death Window - by Zimon95 - 12.05.2010, 19:30
Re: Need Help With Death Window - by Chilliad - 13.05.2010, 08:08

Forum Jump:


Users browsing this thread: 1 Guest(s)