Help Lux Admin edit cmds -
kawaco - 09.01.2011
Hello I am Brazilian and I would translate the command but that does not have some of the example
Код:
dcmd_ahelp
dcmd_setarmour
dcmd_enable
among many others ..
not even need to delete just want to translate
ex:
/ajudaadmin
/darcolete
/ativar
Код:
if(strcmp(cmd, "/governo", true) == 0 || strcmp(cmd, "/gov", true) == 0)
-------------------------------------------
Olб sou do brasil e eu gostaria de fazer comandos traduzidos porem nao vi como traduzir pois o comandos estao assim
Код:
dcmd_ahelp
dcmd_setarmour
dcmd_enable
oque eu preciso pra que fique por exemplo
Код:
/ajudaadmin
/darcolete
/ativar
na vdd й criar um segundo comando exemplo
Код:
if(strcmp(cmd, "/governo", true) == 0 || strcmp(cmd, "/gov", true) == 0)
obrigado
Re: Help Lux Admin edit cmds -
kawaco - 09.01.2011
alguem?
Re: Help Lux Admin edit cmds -
_rAped - 09.01.2011
I can't understand what you are saying.
Re: Help Lux Admin edit cmds -
kawaco - 09.01.2011
have the command X(ex:dcmd_ahelp) I want to make a second command to perform the same function,
Re: Help Lux Admin edit cmds -
kawaco - 10.01.2011
help pls
Re: Help Lux Admin edit cmds -
Mr.Stranger - 10.01.2011
i think you are trying to say how to translate the english commands in brazillian language. If so then:
pawn Код:
dcmd(ajudaadmin, 10, cmdtext);
dcmd(darcolete, 8, cmdtext);
dcmd(ativar, 6, cmdtext);
pawn Код:
dcmd_ajudaadmin(playerid, params[])
{
// Your command
return 1;
}
pawn Код:
dcmd_darcolete(playerid, params[])
{
// Your command
return 1;
}
pawn Код:
dcmd_ativar(playerid, params[])
{
// Your command
return 1;
}
Re: Help Lux Admin edit cmds -
kawaco - 10.01.2011
Код:
C:\Users\Hawk\Downloads\samp03c\filterscripts\LuxAdmin.pwn(7484) : error 017: undefined symbol "dcmd_setarmour"
C:\Users\Hawk\Downloads\samp03c\filterscripts\LuxAdmin.pwn(12235) : warning 203: symbol is never used: "dcmd_darcolete"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
If you are not understood at all I want to translate from English to Portuguese commands LuX AdminScript System
So that there's this error by changing
Re: Help Lux Admin edit cmds -
Mr.Stranger - 10.01.2011
try this
Under OnPlayerCommandText
pawn Код:
dcmd(setarmour, 10, cmdtext);
dcmd(darcolete, 8, cmdtext);
At last write this:
pawn Код:
dcmd_setarmour(playerid, params[])
{
// Your command
return 1;
}
pawn Код:
dcmd_darcolete(playerid, params[])
{
// Your command
return 1;
}