SA-MP Forums Archive
Help Lux Admin edit cmds - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help Lux Admin edit cmds (/showthread.php?tid=208980)



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;
}