Posts: 6,129
Threads: 36
Joined: Jan 2009
If you're going to try out "normal scripting," you're best off starting from new.pwn (clicking the new button in Pawno). That's the exact same as editing a pre-created mode, taking something partially completed and adding to it.
Every scripter has their own unique indentation style and scripts differently - you're going to learn much more trying to make something yourself than using someone else's work.
Posts: 423
Threads: 41
Joined: May 2011
Reputation:
0
Yea but Im sure I wont be able to make dynamic stuff like some blank scripts have because I can see while using dynamic it is more easier to add stuff and I bet making dynamic stuff is hard?
Posts: 6,129
Threads: 36
Joined: Jan 2009
Making "dynamic stuff" is easy, it's logic.
Look over the code you see in the released modes to see how they've done things, if you get confused.
Posts: 6,129
Threads: 36
Joined: Jan 2009
dini is used as a function wrapper for file reading and file writing, Dini is effective but it is slow, if you write/read multiple values to/from the same file. See, the thing is with dini is that every time you read or write to a file with dini, the file is opened, the read/write operation is processed then the file is closed - say you're saving a player account, we've got 254 variables like "playerAdminLevel" and "playerFish" to save (but they all retain unique names/values obviously), the file would be opened and closed 254 times - whereas using more advanced systems like Y_Ini or SII opens the file once and does all of the tasks required then closes it when you're done.
If I were you, I'd look up some tutorials on Y_Ini as that appears to be the most popular system right now, or if you've got the time to learn SQL - take a look in to SQLite in SA-MP or MySQL in SA-MP.
Posts: 423
Threads: 41
Joined: May 2011
Reputation:
0
uhh I was never good in SQL and MySQL but is it better than normal scripting?
Posts: 6,129
Threads: 36
Joined: Jan 2009
SQL is not a scripting language, it's not a replacement for scripting - it's merely another system for saving/loading data.
SQLite is probably the most powerful way of loading/saving data in SA-MP depending on your usage for it.
Posts: 423
Threads: 41
Joined: May 2011
Reputation:
0
I think I will go with normal one ^^.
And as well as you told me to it is betetr to look for Y_Ini, Im looking for register & login tutorial and I cannot find any, however would DJson be good for it as well?
As well im trying to make roleplay script, I see on few register & login tutorials stuff like AdminLevel - whish prob if player do /stats it willl say, when u do the register and login system and u edit and add more stuff into it? I mean like Money,AdminLevel,Phone Number and stuff like that?