Coder Social home page Coder Social logo

y_text error about ysi-includes HOT 6 CLOSED

pawn-lang avatar pawn-lang commented on June 11, 2024
y_text error

from ysi-includes.

Comments (6)

AndiChs avatar AndiChs commented on June 11, 2024

I have the following function:
FUNCTION:SetPlayerDMVCheckpoint(playerid, CP)
{
if(CP < 16)
{
inline OnDMVDialog(pid, dialogid, response, listitem, string:inputtext[])
{
// some code
return 1;
}
//SetPlayerRaceCheckpointEx(playerid, 0,DMV_CHECKPOINT[CP][0], DMV_CHECKPOINT[CP][1], DMV_CHECKPOINT[CP][2], DMV_CHECKPOINT[CP+1][0], DMV_CHECKPOINT[CP+1][1], DMV_CHECKPOINT[CP+1][2], 5, CP);
if(CP == 5)
{
Text_MessageBox(playerid, using inline OnDMVDialog, $DMV_DIALOG_TITLE, $FIFTH_CHECKPOINT_DMV_DIALOG, $DIALOGS_OK, $DIALOGS_CANCEL);
}
else if(CP == 10)
Text_Send(playerid, $TENTH_CHECKPOINT_DMV);
}
else
SetPlayerCheckpointEx(playerid, DMV_CHECKPOINT[CP][0], DMV_CHECKPOINT[CP][1], DMV_CHECKPOINT[CP][2], 5, CP);
return 1;
}

I receive error on line:
Text_MessageBox(playerid, using inline OnDMVDialog, $DMV_DIALOG_TITLE, $FIFTH_CHECKPOINT_DMV_DIALOG, $DIALOGS_OK, $DIALOGS_CANCEL);

Errors:
Carabines.pwn(272) : error 017: undefined symbol "DEFAULT_TEXT_SET"
Carabines.pwn(272) : error 017: undefined symbol "FIFTH_CHECKPOINT_DMV_DIALOG"
Carabines.pwn(272) : error 029: invalid expression, assumed zero
Carabines.pwn(272) : fatal error 107: too many error messages on one line

from ysi-includes.

Y-Less avatar Y-Less commented on June 11, 2024

Two problems:

  1. No "loadtext" in that file.

  2. You aren't using the latest version - the second error was fixed a while ago.

from ysi-includes.

AndiChs avatar AndiChs commented on June 11, 2024

I am sorry for this dumb question. From where i can download the newest version? My version is from here:https://github.com/Misiur/YSI-Includes .

from ysi-includes.

Y-Less avatar Y-Less commented on June 11, 2024

Oh, I thought the fix had been committed after this issue:

https://github.com/Misiur/YSI-Includes/issues/17

The solution is in there and tested, but it seems it never made it to this repo.

from ysi-includes.

AndiChs avatar AndiChs commented on June 11, 2024

Thanks a lot Y!

from ysi-includes.

Misiur avatar Misiur commented on June 11, 2024

Hey, just merged that into our repo: https://github.com/Misiur/YSI-Includes/pull/23

from ysi-includes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.