30.06.2018, 16:41
Quote:
Код:
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 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 id, ip[16], ping, Str[128];