kill list
#1

guys please some1 give me the code for kill list ...
i make one but dont work fine :/

pawn Code:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid == INVALID_PLAYER_ID)
    {
        SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
    }
    return 1;
}
Thanks...
Reply
#2

Add this to "OnPlayerDeath".

Code:
SendDeathMessage(killerid, playerid, reason);
Reply
#3

pawn Code:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid == INVALID_PLAYER_ID)
    {
        SendDeathMessage(killerid, playerid, reason);
    }
    return 1;
}
like this :S
Reply
#4

Quote:
Originally Posted by ExeC
View Post
Add this to "OnPlayerDeath".

Code:
SendDeathMessage(killerid, playerid, reason);
Yeh, you only need 1 line nothing special .
Reply
#5

Quote:
Originally Posted by Hayden_Bruin
View Post
Yeh, you only need 1 line nothing special .
Yeah.
Reply
#6

search for OnPlayerDeath in your gamemode, if it's not there use
Code:
public OnPlayerDeath(playerid, killerid, reason)
{
       SendDeathMessage(killerid, playerid, reason);
}
And if you do have OnPlayerDeath, just copy and paste this somewhere under OnPlayerDeath.

Code:
SendDeathMessage(killerid, playerid, reason);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)