Please Help,Dealer help!!
#1

Fixed
Reply
#2

As you've wrote there, "new iFaction", It means you defined it there, So this would return zero(0).
Reply
#3

Are you saving the player's data at all?
Reply
#4

yes , i want player to save data but idk
Reply
#5

You forget to update his stats.
Reply
#6

how :/ ?
Reply
#7

You should first know how the rest of the player's data is saved in the gamemode. Is it making use of a relational database such as MySQL, SQLite or is it using a file processing library such as Y_ini, Dini..? Once you've concluded that, you should learn how these libraries work. You can then edit your gamemode so that it saves the player's data.

Tutorial MySQL: https://sampforum.blast.hk/showthread.php?tid=574714
Tutorial SQLite: https://sampforum.blast.hk/showthread.php?tid=262417
Tutorial Y_INI: https://sampforum.blast.hk/showthread.php?tid=570912
Tutorial DINI/DUDB (Deprecated, I don't recommend using this): https://sampforum.blast.hk/showthread.php?tid=270787
Reply
#8

@AndySendeyn thanks for your help ^_^

i fixed it i just added
Reply
#9

i have and here same error but dont work like dealer
Reply
#10

Update the 'forumname' field in your file to the new value like you have done previously.

EDIT: I have posted a tutorial for DINI, it shows how to update a string value in your file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)