Posts: 701
Threads: 91
Joined: Mar 2012
Hi Guys,
I have created this Login script :
http://pastebin.com/LY8pU5vd
when a Player register it says, Relog to save ur stats ! So can someone tell me How can i make it like that, without re-logging, It can save stats ? and when we Register it always Tp us to Here :
Hope you WIll Help me !!
Thanks..............
Posts: 93
Threads: 10
Joined: Apr 2012
Reputation:
0
It already saves your stats, This all means.. that when player logs out, his stats saves.
Posts: 269
Threads: 19
Joined: Apr 2010
Reputation:
0
Well .. For this saving system (
For the Saving stuff issues :
* - I will Create a Timer that repeats so , Every x amount of time it will save
For the Spawn
*- Just Remove the SetPlayerPos(); and add your coords
Posts: 382
Threads: 24
Joined: Apr 2011
Reputation:
0
Just ignore that dialog of 'reconnect', cause when someone disconnects whether it's a crash or /quit, it automatically save his stats, and post - OnPlayerSpawn, if you want to change spawning coords.
EDIT: Wooooooow, they're fast, however change spawn coords from OnPlayerSpawn.
Posts: 701
Threads: 91
Joined: Mar 2012
Guys i have two teams, so when player register it doesnot show Team selection Option
But when Player relogs then it shows.........
Posts: 269
Threads: 19
Joined: Apr 2010
Reputation:
0
The use instead of SpawnPlayer();
Use SetPlayerToClassSelection(playerid);