30.06.2018, 16:48
Код:
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(269) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\usъario\Documents\Daniel\Server Files\LifeRolePlay\gamemodes\LRP.pwn(269) : warning 215: expression has no effect
C:\Users\usъario\Documents\Daniel\Server Files\LifeRolePlay\gamemodes\LRP.pwn(269) : warning 215: expression has no effect
C:\Users\usъario\Documents\Daniel\Server Files\LifeRolePlay\gamemodes\LRP.pwn(269) : error 001: expected token: ";", but found ")"
C:\Users\usъario\Documents\Daniel\Server Files\LifeRolePlay\gamemodes\LRP.pwn(269) : error 029: invalid expression, assumed zero
C:\Users\usъario\Documents\Daniel\Server Files\LifeRolePlay\gamemodes\LRP.pwn(269) : fatal error 107: too many error messages on one line