12.06.2011, 17:55
Que tal a todos, siento molestarlos pero esto no me anda como deberнa..
їAlguien sabe porquй?
EDIT: XD Olvidй mencionarles el problema hha el problema es que uso /ayuda y todo bien, cambio el lenguaje al inglйs y deberнa mostrarme el dialog en inglйs pero no lo hace, sigue mostrando el ayuda normal ._.
pawn Код:
new ayuda[] = "{FFFFFF}Ejemplo de un proceso exacto";
new help[] = "{FFFFFF}Example of a exact process";
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp( cmdtext, "/ayuda", true) || !strcmp(cmdtext, "/help", true))
{
if(GetPVarInt(playerid, "Lenguage") == IDIOMA_ESPAСOL)
{
ShowPlayerDialog(playerid, 500, DIALOG_STYLE_MSGBOX, "{CCFFFF}Panel de Ayuda", ayuda, "Aceptar", "");
} else if(GetPVarInt(playerid, "Lenguage") == IDIOMA_INGLES)
{
ShowPlayerDialog(playerid, 501, DIALOG_STYLE_MSGBOX, "{CCFFFF}Help..", help, "Accept", "");
}
return 1;
}
EDIT: XD Olvidй mencionarles el problema hha el problema es que uso /ayuda y todo bien, cambio el lenguaje al inglйs y deberнa mostrarme el dialog en inglйs pero no lo hace, sigue mostrando el ayuda normal ._.


