09.04.2018, 15:37
Suprise. It's me again...
What the hell is the problem with this command, I'm geting some errors in format line
What the hell is the problem with this command, I'm geting some errors in format line
Код:
error 029: invalid expression, assumed zero error 017: undefined symbol "name" error 001: expected token: ";", but found "return" fatal error 107: too many error messages on one line
Код:
CMD:aka(playerid,params[]) { new player1, playername[MAX_PLAYER_NAME], str[128], ip[16]; player1 = strval(params); if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) { GetPlayerIp(player1, ip, sizeof(ip)); format(str,sizeof(str),"|- %s's AKA -|", GetName(player1)); SendClientMessage(playerid,-1,str); format(str,sizeof(str), "Id: %d Ip: %s Names: %s", GetName(player1), ip, INI_Int("/Korisnici/%s.ini",ip)); SendClientMessage(playerid, -1, str); } else return SendClientMessage(playerid, -1, "Player is not connected or is yourself"); return 1; }