26.02.2018, 14:44
PHP код:
new str[128], name[MAX_PLAYER_NAME];
new Float:hp;
GetPlayerName(playerid, name, sizeof(name));
format(str,sizeof(str), "{c3c3c3}(INFO) %s ( %d ) has left the game (with %s hp left)",PlayerName[playerid], playerid, hp);
SendClientMessageToAll(-1,str);
EDIT:
nvm forgot to add
PHP код:
new Float:hp = GetPlayerHealth(playerid, hp);