14.11.2010, 13:30
Oi queria saber como й que eu traduzo um comando tipo tem o comando /ips que й para ver ip dai que qero transformar em /verip sу que nao sei em qual coisa mecher no codigo eu vou mandar ai olha ai e me ajudem please
Quote:
{ if(PlayerInfo[playerid][pAdmin] >= 1 || IsPlayerAdmin(playerid)) { if(!strlen(params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /ips [playerid]"); new player1, playername[MAX_PLAYER_NAME], str[128]; player1 = strval(params); if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) { GetPlayerName(player1, playername, sizeof(playername)); format(str,sizeof(str),"IPs Used for %s (%d) are: %s", playername, player1, dini_Get("LARP/Users/Aliases/ips.txt",playername) ); return SendClientMessage(playerid,COLOR_GREY,str); } else return SendClientMessage(playerid, COLOR_GREY, "* Player is not connected or is yourself"); } else return SendClientMessage(playerid,COLOR_GREY,"* ERROR: You are not a high enough level to use this command"); } |