11.08.2013, 18:14
Sorry for DoublePost
this is my /info command witch shows some information but i want to something for admin that shows other player's info
this is my /info command witch shows some information but i want to something for admin that shows other player's info
Код:
if(strcmp(cmdtext, "/info", true) == 0)
{
new strin[400];
GetPlayerIp(playerid, ip2, sizeof(ip2));
GetPlayerPing(playerid);
format(strin,sizeof(strin),"{990099}===============Informacie===============\n\n",strin);
format(strin,sizeof(strin),"%s{FFFFFF}Nick: {990099}%s\n{FFFFFF}ID: {990099}%i\n{FFFFFF}IP Adresa: {990099}%s\n{FFFFFF}Ping: {990099}%d\n{FFFFFF}Verzia SAMP: {990099}0.3x-R1-2\n{FFFFFF}Score: {990099}%d\n{FFFFFF}Peniaze: {990099}$%d\n{FFFFFF}Zomrel: {990099}%d\n{FFFFFF}Zabil: {990099}%d\n",strin,Jmeno(playerid),playerid,GetPlayerIpEx(playerid),GetPlayerPing(playerid),pScore[playerid],GetPlayerMoney(playerid),pDeaths[playerid],pKills[playerid]);
ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"INFO",strin,"Zavriet","");
return 1;
}

