Help me ! Automatically admin. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help me ! Automatically admin. (
/showthread.php?tid=95310)
Help me ! Automatically admin. -
[GDT]FreedoM - 03.09.2009
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.
Re: Help me ! Automatically admin. -
Doppeyy - 03.09.2009
Make a save function for the players wich saves the level.
Or something like that.
/Artix
Re: Help me ! Automatically admin. -
[GDT]FreedoM - 03.09.2009
Quote:
Originally Posted by [RiFA
Artix ]
Make a save function for the players wich saves the level.
Or something like that.
/Artix
|
How ?
Re: Help me ! Automatically admin. -
Doppeyy - 03.09.2009
Use dini to save player stats.
Search for the topic about it.
There is a tutorial of it to.
/Artix
Re: Help me ! Automatically admin. -
[GDT]FreedoM - 03.09.2009
http://dracoblue.net/download/dini-16/35/
I think you are talking for this ? And what i must do. I don't understand :S
Re: Help me ! Automatically admin. -
[GDT]FreedoM - 04.09.2009
HELP ME !!
Re: Help me ! Automatically admin. -
Sew_Sumi - 04.09.2009
OnPlayerDisconnect Remove admin
Re: Help me ! Automatically admin. -
ilikepie2221 - 04.09.2009
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.