Read Please
#1

ok well i need help for this ok i got this thing if u die or something it sends a message to all that u got killed by ?



See look


Код:
new string[128], NameKiller[MAX_PLAYER_NAME];
GetPlayerName(killerid,NameKiller,sizeof(NameKiller));
format (string,sizeof(string),"%s (%d) killed %s (%d)",NameKiller,killerid,NameVictim,playerid);
SendClientMessageToAll(COLOR_YELLOW, string);
Reply
#2

What do you want to do?
Reply
#3

Код:
new string[128], NameKiller[MAX_PLAYER_NAME], NameVictim[MAX_PLAYER_NAME];
GetPlayerName(killerid,NameKiller,sizeof(NameKiller));
GetPlayerName(playerid, NameVictim, MAX_PLAYER_NAME);
format (string,sizeof(string),"%s (%d) killed %s (%d)",NameKiller,killerid,NameVictim,playerid);
SendClientMessageToAll(COLOR_YELLOW, string);
Add that under your OnPlayerDeath.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)