Uhm how to...
#4

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new VictimName[24], KillerName[24], Msg[128];

    GetPlayerName(playerid, VictimName, sizeof(VictimName));
    GetPlayerName(killerid, KillerName, sizeof(KillerName));
    format(Msg, 128, "{FF0000}You've killed %s!", VictimName);
    SendClientMessage(killerid, 0xFFFFFFFF, Msg);
    format(Msg, 128, "{FF0000}%s has killed you!",KillerName);
    SendClientMessage(playerid, 0xFFFFFFFF, Msg);
    return 1;
}
Something like this would work.
Reply


Messages In This Thread
Uhm how to... - by Twinki1993 - 22.03.2012, 22:34
Re: Uhm how to... - by Twisted_Insane - 22.03.2012, 22:57
AW: Uhm how to... - by Tigerkiller - 22.03.2012, 22:58
Re: Uhm how to... - by nickdodd25 - 22.03.2012, 22:59
Re: Uhm how to... - by Twisted_Insane - 22.03.2012, 23:02
Re: Uhm how to... - by ReneG - 22.03.2012, 23:11
Re: Uhm how to... - by Twisted_Insane - 22.03.2012, 23:27

Forum Jump:


Users browsing this thread: 1 Guest(s)