[Ajuda] Ajuda com esse comando
#6

Quote:
Originally Posted by elTioFrame
Посмотреть сообщение
Код:
CMD:ip(playerid, params[])
{
	if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "[!] Vocк nгo й ADM [!]");
    new id;, ip[16];, ping;, Str[128];
    if(sscanf(params, "u", id)) return SendClientMessage(playerid, CINZA, "Use: /ip [ID do Player]");
    if(!IsPlayerConnected(id)) return SendClientMessage(playerid, VERMELHO, "[!] ID Offline [!]");
    GetPlayerIp(id, ip, sizeof(ip));
    ping = GetPlayerPing(id);
    format(Str, sizeof(Str), "Informaзoes do player IP:%d PING:%d " ip,ping);
    SendClientMessage(playerid, VERDE, Str);
    return 1;
}
C:\Users\usъario\Documents\Daniel\Server Files\LifeRolePlay\gamemodes\LRP.pwn(264) : error 029: invalid expression, assumed zero
C:\Users\usъario\Documents\Daniel\Server Files\LifeRolePlay\gamemodes\LRP.pwn(264) : error 017: undefined symbol "ip"
C:\Users\usъario\Documents\Daniel\Server Files\LifeRolePlay\gamemodes\LRP.pwn(264) : warning 215: expression has no effect
C:\Users\usъario\Documents\Daniel\Server Files\LifeRolePlay\gamemodes\LRP.pwn(264) : error 001: expected token: ";", but found "]"
C:\Users\usъario\Documents\Daniel\Server Files\LifeRolePlay\gamemodes\LRP.pwn(264) : fatal error 107: too many error messages on one line

poxa :/
PHP код:
new id;, ip[16];, ping;, Str[128];   ????????? 
PHP код:
new idip[16], pingStr[128]; 
Reply


Messages In This Thread
Ajuda com esse comando - by elTioFrame - 30.06.2018, 07:17
Re: Ajuda com esse comando - by AdrianoStk - 30.06.2018, 12:50
Re: Ajuda com esse comando - by elTioFrame - 30.06.2018, 16:09
Re: Ajuda com esse comando - by powerths - 30.06.2018, 16:33
Re: Ajuda com esse comando - by elTioFrame - 30.06.2018, 16:38
Re: Ajuda com esse comando - by Cauezin - 30.06.2018, 16:41
Re: Ajuda com esse comando - by AllanSG - 30.06.2018, 16:42
Re: Ajuda com esse comando - by elTioFrame - 30.06.2018, 16:48
Re: Ajuda com esse comando - by FerrariL - 30.06.2018, 17:02
Re: Ajuda com esse comando - by AdrianoStk - 30.06.2018, 17:08

Forum Jump:


Users browsing this thread: 1 Guest(s)