SA-MP Forums Archive
Registered and login 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)
+--- Thread: Registered and login problem (/showthread.php?tid=395077)



Registered and login problem - Morkano - 25.11.2012

i made a register command i registered in my server but the problem is when i restart the server it will lost all database system anyone help me please.


Quote:

D:\Server\pawno\MYSCRIPT.pwn(73) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

help
Problem
Quote:

if(gPlayerInfo[playerid][PLAYER_REGGED] == 0) SendClientMessage(playerid,COLOUR_ORANGE,"You're username is recognised on this server, but you have not registered. Please /register to continue.");

Help


Re: Registered and login problem - iTzZh - 25.11.2012

You're not saving the user under OnPlayerDisconnect.


Re: Registered and login problem - cessil - 25.11.2012

you're probably not saving when regularly and when you restart the server