19.06.2010, 02:21
Entгo eu estou querendo fazer um fs de adm invez de usar IsPlayerAdmin
vou usar RconLogged2
entгo eu fiz um cmd para o adm logar .
Mas da uns erros
Compilando Admin.pwn...
C:\Users\glauco\Desktop\Nova Pasta\Desktop\Admin.pwn(116) : error 012: invalid function call, not a valid address
C:\Users\glauco\Desktop\Nova Pasta\Desktop\Admin.pwn(116) : error 029: invalid expression, assumed zero
C:\Users\glauco\Desktop\Nova Pasta\Desktop\Admin.pwn(116) : error 012: invalid function call, not a valid address
C:\Users\glauco\Desktop\Nova Pasta\Desktop\]Admin.pwn(116) : fatal error 107: too many error messages on one line
Compilation aborted.
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
vou usar RconLogged2
entгo eu fiz um cmd para o adm logar .
pawn Код:
new ChecarNick[MAX_PLAYERS];
pawn Код:
if(strcmp(cmd, "/admlogin", true) == 0)
{
if((ChecarNick("[BKs]Roger_",PlayerName(playerid) == 1) || IsPlayerAdmin(playerid) || RconLogged2(playerid);
SendClientMessageToAll(playerid, 0x00FF00AA, "%s Admin Logado!");
return 1;
}
Compilando Admin.pwn...
C:\Users\glauco\Desktop\Nova Pasta\Desktop\Admin.pwn(116) : error 012: invalid function call, not a valid address
C:\Users\glauco\Desktop\Nova Pasta\Desktop\Admin.pwn(116) : error 029: invalid expression, assumed zero
C:\Users\glauco\Desktop\Nova Pasta\Desktop\Admin.pwn(116) : error 012: invalid function call, not a valid address
C:\Users\glauco\Desktop\Nova Pasta\Desktop\]Admin.pwn(116) : fatal error 107: too many error messages on one line
Compilation aborted.
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.