Ayuda con y_languages & y_text
#1

Hola lo que pasa es que estoy intentando utilizar el framework de ****** (YSI)
Y encontre este tutorial (Fue el ъnico que encontrй):
https://sampforum.blast.hk/showthread.php?tid=570943

Lo he leнdo muy detenidamente, sin embargo presento los siguientes errores:

Quote:

gamemode.pwn(1169) : error 017: undefined symbol "DEFAULT_TEXT_SET"
gamemode.pwn(1176) : error 017: undefined symbol "DEFAULT_TEXT_SET"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Lineas:
gamemode.pwn(1169) :
Код:
Text_Send(playerid, $RZC_CONN_LOST);
gamemode.pwn(1176) :
Код:
Text_Send(playerid, $RZC_CONN_OK);

Buscando en ****** encontre solo 2 links, en uno respondiу ******
https://github.com/Misiur/YSI-Includ...ment-115484616


Escribiу: "No "loadtext" in that file."

Sin embargo yo ya cuento con esta linea (segъn el tutorial):

Код:
loadtext server_strings[all], server_strings[rzclient];
public OnGameModeInit()
{
    Langs_Add("EN", "English/U.S.A.");
    Langs_Add("ES", "Espaсol/Mexico");
    Langs_Add("PT", "Portugues/Brasil");
...
Tambiйn tengo los siguientes archivos en el directorio: scriptfiles\YSI\text



server_strings.EN
Quote:

[all]
test = funciona!!
[rzclient]
RZC_CONN_LOST_1 = ********
RZC_CONN_LOST_2 = >] RZCLIENT [< {white}The connection to the server has been lost.
RZC_CONN_LOST_3 = ********
RZC_CONN_OK_1 = ********
RZC_CONN_OK_2 = >] RZCLIENT [< {white}You have connected to the server's official client, bonus activated.
RZC_CONN_OK_3 = ********

server_strings.ES
Quote:

[all]
test = funciona!!
[rzclient]
RZC_CONN_LOST_1 = ********
RZC_CONN_LOST_2 = >] RZCLIENT [< {white}La conexiуn con el servidor se ha perdido.
RZC_CONN_LOST_3 = ********
RZC_CONN_OK_1 = ********
RZC_CONN_OK_2 = >] RZCLIENT [< {white}Te has conectado con el el cliente oficial del servidor, bonus activado.
RZC_CONN_OK_3 = ********
server_strings.PT
Quote:

[all]
test = funciona!!
[rzclient]
RZC_CONN_LOST_1 = ********
RZC_CONN_LOST_2 = >] RZCLIENT [< {white}A conexгo com o servidor foi perdida.
RZC_CONN_LOST_3 = ********
RZC_CONN_OK_1 = ********
RZC_CONN_OK_2 = >] RZCLIENT [< {white}Vocк se conectou ao cliente oficial do servidor, bфnus ativado.
RZC_CONN_OK_3 = ********
server_strings_LANG_DATA.yml
Quote:

<YML>
<group name="all">
<entry name="test" style="client" colour="white" />
</group>
<group name="rzclient">
<entry name="RZC_CONN_LOST" style="client" colour="red" />
<entry name="RZC_CONN_OK" style="client" colour="light_green" />
</group>
</YML>

La verdad no entiendo que puede estar mal, tal vez estoy haciendo mal uso de la funciуn Text_Send() o coloquй mal el loadtext. їDonde iriнa?

Gracias y felices fiestas
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)