kill board - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: kill board (
/showthread.php?tid=98776)
kill board -
[HKS]dlegend - 22.09.2009
how do i set it so wen a player dies it displays at the right side of the screen so it would be killcon weapon image that killed him then killer
Re: kill board -
_Vortex - 22.09.2009
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid == INVALID_PLAYER_ID) {
SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
} else {
SendDeathMessage(killerid,playerid,reason);
}
return 1;
}
Re: kill board -
Peter_Corneile - 22.09.2009
pawn Код:
public OnPlayerDeath(playerid , killerid , reason)
{
{
(SendDeathMessage(killerid,playerid,reason);
}
return 1:
}
Re: kill board -
_Vortex - 22.09.2009
Quote:
Originally Posted by ►►►Peter Corneile◄◄◄
pawn Код:
public OnPlayerDeath(playerid , killerid , reason) { { (SendDeathMessage(killerid,playerid,reason); } return 1: }
|
That's a problem if the person doesn't have a killer, it's best to use the one I supplied.
Re: kill board -
[HKS]dlegend - 22.09.2009
ok thanks alot man
Re: kill board -
legendario - 22.09.2009
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
SendDeathMessage(killerid, playerid, reason);
GivePlayerMoney(playerid, -100);
return 1;
}
Re: kill board -
_Vortex - 22.09.2009
Quote:
Originally Posted by »ŁegenĐ«
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); SendDeathMessage(killerid, playerid, reason); GivePlayerMoney(playerid, -100); return 1; }
|
Ugh, stop posting usles stuff after it's alreaddy been solved. You're adding things in that he may not even need.
Re: kill board -
legendario - 22.09.2009
Quote:
Originally Posted by [B
Vortex ]
Quote:
Originally Posted by »ŁegenĐ«
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); SendDeathMessage(killerid, playerid, reason); GivePlayerMoney(playerid, -100); return 1; }
|
Ugh, stop posting usles stuff after it's alreaddy been solved. You're adding things in that he may not even need.
|
shutup
Re: kill board -
ilikepie2221 - 22.09.2009
Quote:
Originally Posted by [B
Vortex ]
Quote:
Originally Posted by »ŁegenĐ«
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); SendDeathMessage(killerid, playerid, reason); GivePlayerMoney(playerid, -100); return 1; }
|
Ugh, stop posting usles stuff after it's alreaddy been solved. You're adding things in that he may not even need.
|
If you look carefully, he posted it 20ish seconds after you posted, so he wouldn't have known I suppose.
Re: kill board -
_Vortex - 23.09.2009
Quote:
Originally Posted by ilikepie2221
Quote:
Originally Posted by [B
Vortex ]
Quote:
Originally Posted by »ŁegenĐ«
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); SendDeathMessage(killerid, playerid, reason); GivePlayerMoney(playerid, -100); return 1; }
|
Ugh, stop posting usles stuff after it's alreaddy been solved. You're adding things in that he may not even need.
|
If you look carefully, he posted it 20ish seconds after you posted, so he wouldn't have known I suppose.
|
Actually, 7 mins after I posted my code.