22.09.2009, 22:53
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
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid == INVALID_PLAYER_ID) {
SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
} else {
SendDeathMessage(killerid,playerid,reason);
}
return 1;
}
public OnPlayerDeath(playerid , killerid , reason)
{
{
(SendDeathMessage(killerid,playerid,reason);
}
return 1:
}
Originally Posted by ►►►Peter Corneile◄◄◄
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;
}
Originally Posted by »ŁegenĐ«
pawn Код:
|
Originally Posted by [B
Vortex ]
Quote:
|
Originally Posted by [B
Vortex ]
Quote:
|
Originally Posted by ilikepie2221
Quote:
|