Gamemode with 2 Languages Help!
#3

have you put
pawn Код:
return 0;
in OnPlayerCommandText callbacks on your script?
and put
pawn Код:
return 1;
after commands? example:
Quote:
Originally Posted by HotPlayer
Посмотреть сообщение
Hello all,
4. And here its 1 of my commands with these 2 languages :
pawn Код:
if(strcmp(cmd, "/minigames", true) == 0)
{
    if(PlayerInfo[playerid][pLang1] == 1)
    {
        ShowPlayerDialog(playerid, 656454, DIALOG_STYLE_MSGBOX, "Here is the text with language 1", "Ok", "" );
    }
    else if(PlayerInfo[playerid][pLang2] == 1)
    {
        ShowPlayerDialog(playerid, 656454, DIALOG_STYLE_MSGBOX, "Here is the text with language 2", "Ok", "" );
    }
    return 1;
}
Reply


Messages In This Thread
Gamemode with 2 Languages Help! - by HotPlayer - 17.10.2011, 09:32
Re: Gamemode with 2 Languages Help! - by nilanjay - 17.10.2011, 09:44
Re: Gamemode with 2 Languages Help! - by RoboN1X - 17.10.2011, 09:56
Re: Gamemode with 2 Languages Help! - by HotPlayer - 17.10.2011, 12:35
Re: Gamemode with 2 Languages Help! - by XFlawless - 17.10.2011, 12:37
Re: Gamemode with 2 Languages Help! - by SmiT - 17.10.2011, 12:41
Re: Gamemode with 2 Languages Help! - by HotPlayer - 17.10.2011, 14:01
Re: Gamemode with 2 Languages Help! - by HotPlayer - 17.10.2011, 16:58

Forum Jump:


Users browsing this thread: 1 Guest(s)