hi all im new at programming so i dont know how to be admin in any server help pls :( :(
how to be admin in my own server??
« on February 6th, 2017, 01:47 PM »
learn squirrel
code
code x2
look wiki
search scrripts
????
profit
i was trying to help. i didnt post shit like you do
i was trying to help. i didnt post shit like you do
player.Admin = true;
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?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
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.
As for the UID. Well, that can be stolen and replicated.