how i do this?
#1

how i do SendDeathMassage With Id?
Reply
#2

What do you mean with ID?
Reply
#3

Could you please explain better?
Reply
#4

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason);
    return 1;
}
Reply
#5

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new string[128], kName[MAX_PLAYER_NAME], pName[MAX_PLAYER_NAME];
    GetPlayerName(killerid, kName, sizeof(kName));
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "Player %s(%d) killed player %s(%d)", kName,killerid,pName,playerid);
    SendClientMessageToAll(COLOUR, string);
    return 1;
}
Is that what you meant?
Reply
#6

Quote:
Originally Posted by ExeC
Посмотреть сообщение
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new string[128], kName[MAX_PLAYER_NAME], pName[MAX_PLAYER_NAME];
    GetPlayerName(killerid, kName, sizeof(kName));
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "Player %s(%d) killed player %s(%d)", kName,killerid,pName,playerid);
    SendClientMessageToAll(COLOUR, string);
    return 1;
}
Is that what you meant?
I think it is, otherwise... what kind of ID does he talks about?
Reply
#7

like i kill Eliran with Deagle
Then it will write a table of the killings I (Id) Deagle_Icon then Eliran (id)
Reply
#8

Quote:
Originally Posted by YossiBz
Посмотреть сообщение
like i kill Eliran with Deagle
Then it will write a table of the killings I (Id) Deagle_Icon then Eliran (id)
I think this is impossible, you can only show the name.
Reply
#9

Ah, probably you want to add IDs to the deathboard. I don't think it's possible though, but you could do something similar with textdraws.
Reply
#10

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason);
    return 1;
}
Please. Use this method, it works.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)