ahmedzead

  • Jr. Member
  • Posts: 50

Kewun

  • Hero Member
  • Posts: 785

DizzasTeR

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,206
Re: how to be admin in my own server??
« Reply #2, on February 6th, 2017, 02:49 PM »
Quote from Kewun on February 6th, 2017, 01:50 PM
learn squirrel
code
code x2
look wiki
search scrripts
????
profit
Kindly don't post shit like this again.

@ahmedzead, To be admin in your server you firstly need a Account system. There are some released ones in the Released scripts section so you can try to look for it.

Kewun

  • Hero Member
  • Posts: 785

EK.IceFlake

  • Hero Member
  • "We are the champions my fellahs" - Sufyan/VK.SuFy
  • Posts: 1,760

Eva

  • Full Member
  • Posts: 167

Pasorzyt

  • New Member
  • Posts: 1

Xmair

  • Wiki Contributor
  • Posts: 953

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

iReaL

  • Newbie
  • Posts: 9
Re: how to be admin in my own server??
« Reply #8, on February 10th, 2017, 01:39 AM »
SIMPLE CODE FOR ADMIN XD


    if ( cmd == "YOUR CMD" )
    {
         if ( player.Name == "YOUR NAME FOR ACESS THE COMMAND" )
         {
                The function () // The command
         }
    }   else MessagePlayer( "YOU NO ARE ADMIN", player );


For more security on your server you can change the player.Name to
player.UniqueID , player.IP , player.UniqueID2 , or create one data base XD

ℛḝξ☂

  • Full Member
  • Posts: 107
I may be a slow walker but I am always walking.

vito

  • Sr. Member
  • Posts: 404
Re: how to be admin in my own server??
« Reply #10, on February 10th, 2017, 11:02 AM »
you can use your uid instead  making account system, maybe someone able to change his uid to your one and 'hack' your server, but i think nobody will do that.

jWeb

  • Full Member
  • Posts: 145
Re: how to be admin in my own server??
« Reply #11, on February 10th, 2017, 02:20 PM »Last edited on February 10th, 2017, 02:22 PM
Quote from iReaL on February 10th, 2017, 01:39 AM
SIMPLE CODE FOR ADMIN XD


    if ( cmd == "YOUR CMD" )
    {
         if ( player.Name == "YOUR NAME FOR ACESS THE COMMAND" )
         {
                The function () // The command
         }
    }   else MessagePlayer( "YOU NO ARE ADMIN", player );


For more security on your server you can change the player.Name to
player.UniqueID , player.IP , player.UniqueID2 , or create one data base XD
So if I join with your name. Does that make me an admin on your server?

And also, how primitive that can be. If I want to use a different nickname, I have to search and edit the scripts and reboot the server.

This is the worst of the worst of the worst examples that could be given for something like this.

iReaL

  • Newbie
  • Posts: 9
Re: how to be admin in my own server??
« Reply #12, on February 10th, 2017, 03:11 PM »
Quote from jWeb on February 10th, 2017, 02:20 PM
Quote from iReaL on February 10th, 2017, 01:39 AM
SIMPLE CODE FOR ADMIN XD


    if ( cmd == "YOUR CMD" )
    {
         if ( player.Name == "YOUR NAME FOR ACESS THE COMMAND" )
         {
                The function () // The command
         }
    }   else MessagePlayer( "YOU NO ARE ADMIN", player );


For more security on your server you can change the player.Name to
player.UniqueID , player.IP , player.UniqueID2 , or create one data base XD
So if I join with your name. Does that make me an admin on your server?

And also, how primitive that can be. If I want to use a different nickname, I have to search and edit the scripts and reboot the server.

This is the worst of the worst of the worst examples that could be given for something like this.
Not the worst, the worst would be if the admin needs a level ()
I said that it can become more secure with the .uniqueID, .IP, and other commands.

jWeb

  • Full Member
  • Posts: 145
Re: how to be admin in my own server??
« Reply #13, on February 10th, 2017, 03:58 PM »
Quote from iReaL on February 10th, 2017, 03:11 PM
Not the worst, the worst would be if the admin needs a level ()
I said that it can become more secure with the .uniqueID, .IP, and other commands.
That implies you have a static IP address. And most people don't. As for the UID. Well, that can be stolen and replicated. Thus exposing you even further.

vito

  • Sr. Member
  • Posts: 404