Little help
#1

hey guys

SendClientMessage(playerid,0xAA3333AA, "%s has been killed by %s |Weapon :,playerid,killerid,weaponid");

see example

ppopzr has been killed by %s (killername) weapon what symbol for weapon, like for killer name is %s?
Reply
#2

Killername = killerid, so it would be

pawn Код:
GetPlayerName(killerid, sizeof(something?);
Note: Killerid is only called under OnPlayerDeath
Reply
#3

No man, i actually mean how to display a killed player weapon..

Ex.SendClientMessage(playerid,0xAA3333AA, "%s has been killed by %s |Weapon : M3,playerid,killerid,weaponid");
Reply
#4

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


Forum Jump:


Users browsing this thread: 2 Guest(s)