PHP код:
CMD:info(playerid, params[])
{
new string[256], playerb, Ping, pIP[16], Float: Armour, Float: Health, Name[MAX_PLAYER_NAME+1];
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLORHERE, "You are not an authorized to use this command.");
if(sscanf(params, "i", playerb)) return SendClientMessage(playerid, COLORHERE, "[Usage]: /info [PlayerID]");
GetPlayerHealth(playerb, Health);
GetPlayerArmour(playerid, Armour);
GetPlayerName(playerid, Name, sizeof(Name));
GetPlayerIp(playerid, pIP, sizeof(pIP));
Ping = GetPlayerPing(playerid);
format(string, sizeof(string), "Name: %s | Ping: %d | IP: %s | Health: %f | Armour: %f", Name, Ping, pIP, Health, Armour);
SendMessageAdmin(COLORHERE, string);
return 1;
}