#1

Hello, when player gets a playerinfo change like there is enum.
enum pInfo
{
pAdmin
}
Y_INI saves the data, file looks like this.
[data]
Admin = 0
I set it to 1, player gets admin, BUT THE ADMIN SAVES ON PLAYER'S ID. Anyone who registers with same id gets admin! what to do?
Reply
#2

Set it 0 when player disconect
PHP код:
public OnPlayerDisconnect(playeridreason)
{
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)