Login System Help ! (+1 REp ) !!
#1

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..............
Reply
#2

It already saves your stats, This all means.. that when player logs out, his stats saves.
Reply
#3

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
Reply
#4

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.
Reply
#5

Guys i have two teams, so when player register it doesnot show Team selection Option But when Player relogs then it shows.........
Reply
#6

The use instead of SpawnPlayer();

Use SetPlayerToClassSelection(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)