Y_Ini explanation?
#1

So I have been looking to convert several gamemodes to Y_ini, and so far it all seems pretty straight forward but the loading.. People create it in a function and call the function like so

pawn Код:
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
But I don't understand the fucking line, I'd rather know what I am doing rather than just doing it.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=175565
Reply
#3

INI_ParseFile
filename[] - The file to load.
remoteFormat[] - What function to call.
bool:bFileFirst - What order to format the function.
bool:bExtra - Send additional data.
extra - Additional data to send.
bLocal - Call local functions instead of gloabal ones.
bool:bPassTag - What extra data to pass.


Copied straight from the Y_INI thread.
Reply
#4

Quote:
Originally Posted by Gazmull
Посмотреть сообщение
But I don't understand the whole %s text replacement of the function name, He doesn't explain it in his thread (Or not well enough that I understand it)

and you're sure as hell not helping by referring me to his thread.


edit: Thanks Steven but I don't understand WHAT they do, like the bExtra, what additional? what extra...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)