SA-MP Forums Archive
Small problem - 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: Small problem (/showthread.php?tid=106635)



Small problem - Desert - 04.11.2009

I was trying to make a system when you log out your co-ords gets saved and when you login they get loaded

OnPlayerDisconnect

Код:
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid,X,Y,Z);
	dini_IntSet(file,"Spawnx",X);
	dini_IntSet(file,"Spawny",Y);
	dini_IntSet(file,"Spawnz",Z);
Register

Код:
			  dini_IntSet(file,"Spawnx",1685.8622);
			  dini_IntSet(file,"Spawny",-2333.9329);
			  dini_IntSet(file,"Spawnz",13.5469);
I get 6x tag mismatch on the "Spawn" lines


Re: Small problem - MadeMan - 04.11.2009

It's dini_FloatSet .


Re: Small problem - Desert - 04.11.2009

Thanks man