Help Lux Admin edit cmds
#1

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
Reply
#2

alguem?
Reply
#3

I can't understand what you are saying.
Reply
#4

have the command X(ex:dcmd_ahelp) I want to make a second command to perform the same function,
Reply
#5

help pls
Reply
#6

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

Код:
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
Reply
#8

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


Forum Jump:


Users browsing this thread: 2 Guest(s)