SA-MP Forums Archive
Help with Admin script [+1 rep] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with Admin script [+1 rep] (/showthread.php?tid=322271)



Help with Admin script [+1 rep] - sniperwars - 01.03.2012

Hi all,

I scripted an Admin script with a register system in dcmd. The problem is that it will not save the players stats to an .ini file in the following directory (/admin/users/%s.ini") I have created those folders and defined it in the script but still no luck. Can anyone help me with this ? Anyone that helps me with this will get a reputation point from me. If you want me to post any parts of the script, please ask.

Regards, Sniperwars aka Fr3ak.


AW: Help with Admin script [+1 rep] - Drebin - 01.03.2012

Show us the code.


Re: Help with Admin script [+1 rep] - sniperwars - 01.03.2012

Which code do you want to see ?


Re: Help with Admin script [+1 rep] - sniperwars - 01.03.2012

*Bump.


Re: Help with Admin script [+1 rep] - Twisted_Insane - 01.03.2012

Did you read the message I've posted on your profile?


Re: Help with Admin script [+1 rep] - brett7 - 01.03.2012

Why are you using DCMD? I thought everyone used ZCMD now.


AW: Re: Help with Admin script [+1 rep] - Drebin - 01.03.2012

Quote:
Originally Posted by sniperwars
Посмотреть сообщение
Which code do you want to see ?
Well, since you have problems with saving a player file, show us the code where you attempt to save a player file.


Re: Help with Admin script [+1 rep] - sniperwars - 01.03.2012

Do you have MSN ?

If so, please add me: fr3ak2011@hotmail.co.uk and I'll send you the pwn file of the script.


Re: Help with Admin script [+1 rep] - Twisted_Insane - 01.03.2012

You'll have to create these "user-folders" in the folder "scriptfiles", this is where everything gets saved!

I wrote this on the page of your profile, right?


Re: Help with Admin script [+1 rep] - sniperwars - 01.03.2012

Man, I have the folders created in my scriptfiles but when I register on a test server, It doesn't make the .ini file.