what's this ?
#1

INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);

this - .bExtra = true
and this - extra = playerid

Explain simply I do not understand English well
Reply
#2

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

Quote:
Originally Posted by Raweresh
Посмотреть сообщение
I can not understand yet what these parameters
Reply
#4

From what I've read on the above link:

bExtra toggles the additional data or parameter to be sent with the function called using INI_ParseFile.
extra is that additional data's value.
Reply
#5

Quote:
Originally Posted by Lordzy
Посмотреть сообщение
From what I've read on the above link:

bExtra toggles the additional data or parameter to be sent with the function called using INI_ParseFile.
extra is that additional data's value.
What data, what data? I did not understand
Reply
#6

For example, assume that you've got a public function "LoadUserData" with parameters 'playerid'. So if you want that function to be parsed within INI_ParseFile function, you should note that extra argument data is being passed while parsing, ie : 'playerid'.

It's better to ask such questions related to that include on it's own topic, rather than creating a separate thread.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)