need Answer for this questions please
#2

Quote:
Originally Posted by IbeatS
Посмотреть сообщение
First one is :I want the server reserved all commands until the player register or login ,cuz the commands work if he didn't login
Second: if I got a VPS ,How to change the players slots and if the server closed ,how to open it or how to restart it
I suppose for the commands, you could do for example;
pawn Код:
static LoggedIn[MAX_PLAYERS];
Then once they've logged in,
pawn Код:
LoggedIn[playerid] = 1;

Then in each of the commands,
pawn Код:
If(LoggedIn[playerid] == 1)
{
    //Do something here
}
Reply


Messages In This Thread
need Answer for this questions please - by IbeatS - 22.02.2014, 21:22
Re: need Answer for this questions please - by Ryan_Undering - 22.02.2014, 21:51
Re: need Answer for this questions please - by Mattakil - 22.02.2014, 22:45
Re: need Answer for this questions please - by Scenario - 23.02.2014, 05:01
Re: need Answer for this questions please - by IbeatS - 26.02.2014, 17:34

Forum Jump:


Users browsing this thread: 1 Guest(s)