Undefined symbol playerid O.o
#6

Quote:
Originally Posted by CarltonTheGG
Посмотреть сообщение
pawn Код:
public OnRconLoginAttempt(ip[], password[], success) {
    if(!success) {
          for(new i = 0; i < GetMaxPlayers(); i ++ ) {
                new ipx[16];
                GetPlayerIp(i, ipx, 16);
                if(!strcmp(ipx, ip)) {
                      new PlayerName[MAX_PLAYER_NAME], string[128];
                      GetPlayerName(i, PlayerName, sizeof(PlayerName)); // playerid unfefined here
                      format(string, sizeof(string), "%s has tried to rcon login.", PlayerName);
                      SendClientMessageToAll(COLOR_RED, string);
                      break;
                }
          }
     }
}


beat me to it! ARG!!
Reply


Messages In This Thread
Undefined symbol playerid O.o - by FireCat - 16.08.2010, 17:56
Re: Undefined symbol playerid O.o - by (.Aztec); - 16.08.2010, 17:58
Re: Undefined symbol playerid O.o - by akis_tze - 16.08.2010, 17:58
Re: Undefined symbol playerid O.o - by FireCat - 16.08.2010, 18:02
Re: Undefined symbol playerid O.o - by Carlton - 16.08.2010, 18:06
Re: Undefined symbol playerid O.o - by Kevin_Joshen - 16.08.2010, 18:15

Forum Jump:


Users browsing this thread: 1 Guest(s)