PDA

View Full Version : a few questions


Fire_optikz001
19th July 2009, 21:58
ok so i was looking at the languages and i was wondering about it cause idk how to code this part as all i know is english =/ so i would have a hard time translating

or can i make it so that it only uses 1 language?

and i was looking at the kick comand and i noticed it had a 1 and i noticed a few other things

CASE "!kick":
IF( UserInGroup( "admin",$userName ) == 1 )
THEN
privMsg( langEngine( "%{main_kick}%", GetCurrentPlayerVar( "Nickname" ), GetPlayerVar( $argv, "Nickname" ) >)<);
cmdLFS( "/kick " . $argv . >>>" 1"<<< see );
ENDIF
BREAK;

shouldnt it be

CASE "!kick":
IF( UserInGroup( "admin",$userName ) == 1 )
THEN
privMsg( langEngine( "%{main_kick}%", GetCurrentPlayerVar( "Nickname" ), GetPlayerVar( $argv, "Nickname" ) );
cmdLFS( "/kick " . $argv );
ENDIF
BREAK;
?

Gai-Luron
19th July 2009, 22:41
hello,

a - Remove all other language
or do not create new idk for other lang.
LFSLapper search first if idk exist in player language, if no use english idk.

b - for 1 is a copy of the ban command who need and ither arg, ok i remove it for the next release

Bye

Gai-Luron

Fire_optikz001
20th July 2009, 06:41
ok thanks i just ended up leaving the stuff that will stay default and replace the others