Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: ShaKur on Jan 03, 2019, 07:31 AM

Title: How To Make Me Admin On My ſerver, ſomeone Who Teaches Me?
Post by: ShaKur on Jan 03, 2019, 07:31 AM
:-[ :(  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 :/
Title: Re: How To Make Me Admin On My ſerver, ſomeone Who Teaches Me?
Post by: Xhefri on Jan 03, 2019, 09:22 AM
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
Title: Re: How To Make Me Admin On My ſerver, ſomeone Who Teaches Me?
Post by: MEGAMIND on Jan 03, 2019, 09:44 AM
Wrong board