OnPlayerDeath
#6

use strings then
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new string[128],killed[MAX_PLAYER_NAME],killer[MAX_PLAYER_NAME];
    GetPlayerName(playerid,killed,sizeof(killed));
    GetPlayerName(killerid,killer,sizeof(killer));
    format(string,sizeof(string),"%s has been killed by %s",killed,killer);
    SendClientMessage(playerid,0xAA3333AA,string);
    return 1;
}
Reply


Messages In This Thread
OnPlayerDeath - by yoan103 - 08.03.2011, 11:09
Re: OnPlayerDeath - by Stigg - 08.03.2011, 11:19
Re: OnPlayerDeath - by yoan103 - 08.03.2011, 11:22
Re: OnPlayerDeath - by Roomeo - 08.03.2011, 11:24
Re: OnPlayerDeath - by yoan103 - 08.03.2011, 11:27
Re: OnPlayerDeath - by tuuker - 08.03.2011, 11:42
Re: OnPlayerDeath - by Stigg - 08.03.2011, 11:48
Re: OnPlayerDeath - by tuuker - 08.03.2011, 11:52
Re: OnPlayerDeath - by Davz*|*Criss - 08.03.2011, 11:56
Re: OnPlayerDeath - by HyperZ - 08.03.2011, 12:10

Forum Jump:


Users browsing this thread: 1 Guest(s)