You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 15, 2022. It is now read-only.
commands.set("getAdmin",(player,args)=>{PlayerInfo[player.name].adminlvl=4;gm.events.onPlayerUpdate(player,function(result){if(result){player.SendChatMessage("[ADMIN] You was promoted to admin level 4");}else{player.SendChatMessage("[ERROR] An error ocurred when trying to upload your player info");}});});
gm.events.updateAllPlayers()
Called when the server updates the info of all players
You can change server update players interval on main.js