SA-MP Forums Archive
How to make a player 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: How to make a player admin? (/showthread.php?tid=63781)



How to make a player admin? - Zack9764 - 31.01.2009

Alright so, when I login to Rcon I'm logged in as a admin and stuff. Then when I try to /makeadmin me it says I'm not authorized. I don't know any other way to do it then editting the scriptfiles. So I go to them and set my admin. When I come in game and try to login it says my password does not match. So I look at the scriptfiles and change the "key" to my password. Still doesn't work.

How do I make myself admin? I use the godfather script. And I know what your gonna say. "Put this in the GF thread!!!" Well this doesn't really relate to the GF that much I don't think.


Re: How to make a player admin? - Snyper18 - 31.01.2009

It does relate the the GF Script, But hell with it, i'll help you.

1) Delete your account.
2) Go in the account and put the ADMINLevel to 1337
3) Then Close the ini file and Save it
4) Then reconnect to the server
5) Enjoy.




Re: How to make a player admin? - Zack9764 - 31.01.2009

You mean like delete my account then make a new one and go into it and change the admin?

If so I tried that. When I saved it and then went IG it says my password doesn't match. And I'm doing this with a FTP. Gta24.net


Re: How to make a player admin? - [4k]Wang - 31.01.2009

No.

Go in your FTP or if your Dedicated hosting go in your pc.
In the server file's then copy your account change the name,
Then just edit admin level,
Then restart server and reconnect
Then login to rcon and then /makeadmin.


Re: How to make a player admin? - Zack9764 - 31.01.2009

Will the restart fix my password? And how do I make a new .ini file?


Re: How to make a player admin? - [4k]Wang - 31.01.2009

No the restart wont fix your password it will just active your account..
And Just do it in notepad, or copy one you have delete stuff in and edit name.



Re: How to make a player admin? - ICECOLDKILLAK8 - 31.01.2009

Or edi your script so /makeadmin asks for
Код:
if(IsPlayerAdmin(playerid))
instead of
Код:
if(PlayerInfo[playerid][pAdmin] == w/e)



Re: How to make a player admin? - [4k]Wang - 31.01.2009

Yeah but there's no need to edit the pwn file,
It should be a simple process of a ini file and a direct command.


Re: How to make a player admin? - sc3n1ck - 31.01.2009

Or go in the scriptfiles go to the player you want to make admin and at adminlevel : put 1337 ,1338 , 4 , 3 ,2 , 1 ,you know what !


Re: How to make a player admin? - Zack9764 - 31.01.2009

wow sc3n1ck can you read? I have did that.

And that didn't work either socketz.

What is "Key" in a account? Your password?