How To Make Me Admin On My ſerver, ſomeone Who Teaches Me?

Dominio

  • Newbie
  • Ayúdame,en algún momento,necesitarás ayuda...
  • Posts: 8
:-[ :(  I am in the process of building an exclusive server, so I do not know how to be admin on my server, someone who can give me a help, tell me how to do admin and full commands.  Excuse me my bad english :/

Xhefri

  • Newbie
  • Posts: 32
Re: How To Make Me Admin On My ſerver, ſomeone Who Teaches Me?
« Reply #1,  »Last edited
Code: [Select]
else if ( cmd == "admin" || cmd == "owner")
{
if ( player.Name == "Dominio" || player.Name == "Dominio2" || player.Name == "Dominio3" )
{
if ( !player.IsSpawned ) MessagePlayer("[#FF0000]You need to spawn first",player);
else {
Stats[ player.ID ].Level = 5;  //Use your account system to set level
MessagePlayer("[#FF0000]You set yourself as server admin", player)
}
}
else MessagePlayer("[#FF0000]You are not allowed to use this command", player)
}

Edit: Also move your request here: https://forum.vc-mp.org/?board=37.0 since this is not the place to request script help

MEGAMIND

  • Hero Member
  • Developer of "Web-Net" search engine
  • Posts: 671