SA-MP Forums Archive
[HELP] My registering system - 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: [HELP] My registering system (/showthread.php?tid=232823)



[HELP] My registering system - tuuker - 28.02.2011

Hello,
how can i make player to save their position and skin? So if player logs in then he will start at place where he left and with same skin. I wanna make it to save hes Team also, i got 2 teams, Police and Civilians.

Thanks,


Re: [HELP] My registering system - maramizo - 28.02.2011

Use Y_ini.


Re: [HELP] My registering system - tuuker - 28.02.2011

im using dini and dudb


Re: [HELP] My registering system - maramizo - 28.02.2011

pawn Код:
dini_IntSet(file, "skin", GetPlayerSkin);



Re: [HELP] My registering system - tuuker - 01.03.2011

It dosen't store info somehow :S And still how to save pos?

EDIT: Oke i found my mistake, it stores information.

If player logs in sould then pawn say that:
pawn Код:
SetPlayerSkin(playerid, dini_Int(file, "Skin")-GetPlayerSkin(playerid));