11.08.2010, 04:47
i want to make it so when a player dies it shows to all players "player X" Is now a Hunter! playerx is the player that died is this possible if so how can i do this?
OnPlayerDeath(playerid, killerid, reason){ new Player[MAX_PLAYER_NAME]; GetPlayerName(playerid,Player,sizeof(Player)); format(string, sizeof(string), "\"%s\" is now a hunter!",Player); SendClientMessageToAll(0xAA3333AA,string); }
OnPlayerDeath(playerid, killerid, reason){ new Player[MAX_PLAYER_NAME]; Player = GetPlayerName(playerid,Player,sizeof(Player)); format(string, sizeof(string), "\"%s\" is now a hunter!",Player); SendClientMessageToAll(0xAA3333AA,string); }