[Ajuda]Com um Comando
#1

Eu tenho o LAdmin4v2 e nгo tem nenhum comando para /adminhelp, alguem me ajuda a fazer um comando assim?
Reply
#2

Exprimenta:

/level1
/level2
/level3
/level4
/level5
Reply
#3

Quote:
Originally Posted by tshadow
Eu tenho o LAdmin4v2 e nгo tem nenhum comando para /adminhelp, alguem me ajuda a fazer um comando assim?
GF :

Quote:

if(strcmp(cmd, "/ahelp", true) == 0 || strcmp(cmd, "/ah", true) == 0 || strcmp(cmd, "/aa", true) == 0 || strcmp(cmd, "/adminajuda", true) == 0)
{
if(IsPlayerConnected(playerid))
{
//SendClientMessage(playerid, COLOR_GREEN,"_____________________________________ _________________________________________");
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if(admtrampando[playerid] < 1)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/administrar)");
return 1;
}
SendClientMessage(playerid, COLOR_GRAD1, "*1* MODERADOR *** /CMD /CMD /CMD /CMD /setint /CMD /CMD /CMD /CMD /CMD CMD ");
SendClientMessage(playerid, COLOR_GRAD1, "*1* MODERADOR *** /CMD /CMD /CMD /CMD /CMD /CMD /CMD /CMD ");
SendClientMessage(playerid, COLOR_GRAD1, "*1* MODERADOR *** /CMD /CMD /CMD /CMD /CMD /CMD /CMD /CMD r");
}
if (PlayerInfo[playerid][pAdmin] >= 2)
{
SendClientMessage(playerid, COLOR_GRAD2,"*2* ADMIN *** /CMD /CMD /CMD /CMD /CMD /CMD /CMD /CMD ");
}
if (PlayerInfo[playerid][pAdmin] >= 4)
{
SendClientMessage(playerid, COLOR_GRAD4,"*4* ADMIN MASTER*** /CMD /CMD /CMD /CMD /CMD /CMD /CMD /CMD /CMD ");
SendClientMessage(playerid, COLOR_GRAD4,"*4* ADMIN MASTER*** /CMD /CMD /CMD /CMD CMD /CMD /CMD /CMD ");
}
if (PlayerInfo[playerid][pAdmin] >= 1337)
{
SendClientMessage(playerid, COLOR_GRAD5,"***ADMIN GERAL*** /CMD /CMD /CMD /CMD /CMD /CMD /CMD /CMD /CMD ");
SendClientMessage(playerid, COLOR_GRAD5,"***ADMIN GERAL*** /CMD /CMD /CMD /CMD /CMD /CMD /CMD /CMD ");
}
//SendClientMessage(playerid, COLOR_GREEN,"_____________________________________ _________________________________________");
}
return 1;
}

cmd = Comandos...procure no seu pwn os comandos e troque pelo "/CMD"
Reply
#4

dб me estes erros todos
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4550) : error 017: undefined symbol "pAdmin"
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : error 017: undefined symbol "admtrampando"
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : warning 215: expression has no effect
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : error 001: expected token: ";", but found "]"
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply
#5

Quote:
Originally Posted by tshadow
dб me estes erros todos
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4550) : error 017: undefined symbol "pAdmin"
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : error 017: undefined symbol "admtrampando"
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : warning 215: expression has no effect
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : error 001: expected token: ";", but found "]"
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Passa os includes pra versao 0.3
Reply
#6

Quote:
Originally Posted by Flavinho153
Quote:
Originally Posted by tshadow
dб me estes erros todos
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4550) : error 017: undefined symbol "pAdmin"
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : error 017: undefined symbol "admtrampando"
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : warning 215: expression has no effect
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : error 001: expected token: ";", but found "]"
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\server\Server\filterscripts\ladmin4v2.pwn(4552) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Passa os includes pra versao 0.3
Sabes o que estбs a dizer ao menos? Tem nada haver com os includes, os erros sгo porque o gajo te passou as definiзхes do GF.
Reply
#7

Mas alguem me pode ajudar?
Reply
#8

Primero , se vc ta usando o Ladmin , loga no Rcon , da adm pra voce lvl 5 , e para saber os comandos use m /level1 /level2 /level3 /level4 /level5 , assim e o normal , o Ladmin e feito por DCMD , ai fika mais dificil de traduzir ele , mas DCMD e bem melhor ^^
Reply
#9

eu sу quero um comando que alguйm fassa por exemplo /adminhelp, e faz um aviso a todos os admins para o ajudarem, tal como um server normal, mas o meu sistema de admins nгo tem, mas gostava de por, alguйm me pode ajudar?
Reply
#10

Epah vк o exemplo de um comando e faz tu um mesmo.
Reply


Forum Jump:


Users browsing this thread: