Other Languages
#1

Hello I was thinkin how Can your make so we say that My server Language is English But then your use a Command (/Danish) and all the server Language Changes to Danish ?

-ZutDenOpFraSlap
Reply
#2

By using a variable?
Reply
#3

Quote:
Originally Posted by Ben^
By using a variable?
Yes, as 'Ben' said, use a variable, such as IsDanish, than with a commands like /help do a check such as if(IsDanish[playerid] == 1) show them the Danish version, if they don't have '/danish' enabled simply use else and show them the text in english.
Reply
#4

Ahh so Its Like This

In Top Of Script

Код:
new Danish = false;
Then Ect Under OnPlayerCommand i add This

Код:
if (strcmp("/Info", cmdtext, true, 10) == 0)
{
   SendClientMessage(playerid,COLOR_INFO,"Hello your have The Game Text In English Virson");
   if(Danish == true)
  {
    SendClientMessage(playerid,COLOR_INFO,"Hej Du Har Valgt Den Danske Verson
   }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)