Register Problem
#1

Players Can just Come on the server and skip the registration BY CLicking spawn or LShift, How can i make it so they cant. Like that Have to register?
Reply
#2

do a variable which check if player registered or not like

Код:
new Registered[MAX_PLAYERS];
then under ur register command add :

Код:
Registered[playerid] = 1;
then under OnPlayerRequestSpawn :

Код:
if(Registered[playerid] == 0)
{
SendClientMessage(playerid,COLOR,"You Have To Register");
return 0;
}
Reply
#3

Quote:
Originally Posted by Etch ❽ H
do a variable which check if player registered or not like

Код:
new Registered[MAX_PLAYERS];
then under ur register command add :

Код:
Registered[playerid] = 1;
then under OnPlayerRequestSpawn :

Код:
if(Registered[playerid] == 0)
{
SendClientMessage(playerid,COLOR,"You Have To Register");
return 0;
}
Thanks Bro!
Reply
#4

np anytime
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)