Login & Register system
#1

Guys I need your help

I wanna put on my server a register & login system like this:
-If a player enter on my server to not spawn until they not logged(to spawn him after /login [password])

and more much...
Reply
#2

On top:
pawn Код:
new LoggedIn[MAx_PLAYERS] = 0;
When he logs in:
pawn Код:
LoggedIn[playerid] = 1;
For onplayerspawn:
pawn Код:
if(LoggedIn[playerid] == 0) return SendClientMessage(playerid,color,"You cannot spawn if you are not logged in! */login password*");
Reply
#3

thx much man i tried this now
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)