Help me ! Automatically admin.
#1

I have one question for you.

When I do someone admin and he was with ID 0 and the next user who enters this ID, automatically becomes an administrator.

How can I fix this problem?

Please help.
Reply
#2

Make a save function for the players wich saves the level.
Or something like that.

/Artix
Reply
#3

Quote:
Originally Posted by [RiFA
Artix ]
Make a save function for the players wich saves the level.
Or something like that.

/Artix
How ?
Reply
#4

Use dini to save player stats.
Search for the topic about it.
There is a tutorial of it to.

/Artix
Reply
#5

http://dracoblue.net/download/dini-16/35/
I think you are talking for this ? And what i must do. I don't understand :S
Reply
#6

HELP ME !!
Reply
#7

OnPlayerDisconnect Remove admin
Reply
#8

pawn Код:
public OnPlayerDisconnect(playerid)
{
  pPlayerIsAdmin[playerid] = 0; // Or however you define as not being an admin
}
Change pPlayerIsAdmin to however you define as not being an admin, because the way PWN works, the variables don't clear whenever a player disconnects.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)