Community Forum

fruitregister whats wrong ??

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created27.10.2016 14:01


Tobiasgo (tobiasgo) 27.10.2016 14:09
Hello ,
I wanted to perform the fruit register for a modmap, and always get the same error message
(Error: D: /LS17/mods/GoldCrest_M/maps/Scripts/xyz.lua: 23: ')' expected near ',')

The registration I do as follows:

Local registerFillType ( "fruitname", g_i18n: getText ( "fruitname"), nil, 1.220865, false, HudFile, HudFile_sml, 1, nil);

Where is the error I despair slowly no matter how I write it and change it is wrong

Emil Drefers (Unknown) 28.10.2016 08:32
Hi,

well that error message points out a typo.
Check your code again.

Also make sure what you wanna register.
A fruit type or a fill type.

Cheers,
Emil

Tobiasgo (tobiasgo) 28.10.2016 11:15
@emil The fruittype to be registered here was only anonymized, which is here a typocheck I know since 2009 itself thus I am very pleased about this sinister professional arrival I had hoped that one can argue here technical arguments and possibly a hinweis is what The string is false. Because otherwise one would not turn to giants as modders. But it has been known for years that a game is thrown on the market and one only experiences help with other modders.

so long

Emil Drefers (Unknown) 01.11.2016 08:51
Hi,

in your code line shown a bove I can see at least one mistake (a space too much)

Cheers,
Emil



Note: Log in to post. Create a new account here.