SA-MP Forums Archive
Save Score - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Save Score (/showthread.php?tid=275760)



Save Score - Admigo - 11.08.2011

Hee guys,
How can i save score when the server restarts?


Re: Save Score - Kingunit - 11.08.2011

Using INI or DINI.


Re: Save Score - Admigo - 11.08.2011

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
Using INI or DINI.
I know but i tried some admin scripts and they dont save on server restart


Re: Save Score - Kingunit - 11.08.2011

Do you have already INI or DINI and a Register + Login script?


Re: Save Score - Admigo - 11.08.2011

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
Do you have already INI or DINI and a Register + Login script?
Yeah i use ladmin4v2 script


Re: Save Score - Kingunit - 11.08.2011

I don't know anything about ladmin4v2, it's using DINI or INI?


Re: Save Score - Admigo - 11.08.2011

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
I don't know anything about ladmin4v2, it's using DINI or INI?
Its using dini. I dont know how all that works.


Re: Save Score - Kingunit - 11.08.2011

What is your current enum


Re: Save Score - Admigo - 11.08.2011

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
What is your current enum
You mean this:
Код:
enum PlayerData
{
	Registered,
	LoggedIn,
	Level,
	Muted,
	Caps,
	Jailed,
	JailTime,
	Frozen,
	FreezeTime,
	Kills,
	Deaths,
	hours,
	mins,
	secs,
	TotalTime,
	ConnectTime,
 	MuteWarnings,
	Warnings,
	Spawned,
	TimesSpawned,
	Score,
	God,
	GodCar,
	DoorsLocked,
	SpamCount,
	SpamTime,
	PingCount,
	PingTime,
	BotPing,
	pPing[PING_MAX_EXCEEDS],
	blip,
	blipS,
	pColour,
	pCar,
	SpecID,
	SpecType,
	bool:AllowedIn,
	FailLogin,
};



Re: Save Score - Kush - 11.08.2011

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
Using INI or DINI.


Quote:
Originally Posted by admigo
Посмотреть сообщение
lol i dunno how to make it:P I am not good with ini
No need to, I've done it for you ----> https://sampforum.blast.hk/showthread.php?tid=273088

Download the Full Package.