![]() ![]() Script that can teleport between places, you can specify a job - GitHub - qalle-git/esxteleports: Script that can teleport between places, you can specify a job. SetEntityVelocity(ped, 0.0001, 0.0001, 0. 1) Add start esxteleports to your server.cfg 2) Drag it into your resources 3) Done. Local x = -math.sin(heading*math.pi/180.0) a list of spawn points for drops, etc.) It quickly becomes time consuming. I often find myself running around and copying down a bunch of coordinates from vMenu or another HUD for usage in my resources (e.g. Figured I would throw up this pretty simple dev tool I wrote for collecting coordinates. Local pitch = GetGameplaåamRelativePitch() Note: This is a resource for script developers, not anything you should be putting in your gamemode. Local heading = GetGameplaåamRelativeHeading()+GetEntityHeading(GetPlayerPed(-1)) Local x,y,z = table.unpack(GetEntitåoords(GetPlayerPed(-1),true)) If havePermission(xPlayer, ) thenĬan you add that? esx_adminplus\client\mainĪddEventHandler("esx_admin:noclip", function() RegisterCommand("announce", function(source, args, rawCommand)Īnd add second argument to havePermission like below: You want to exclude moderator from sending announcements, so : If you want to view all configured bindings in your console, you can list them using the bind command. If you donât know what that means, lets do an example : By using this code, the client console will be automatically disconnected from the FiveM game dedicated server and go back to the main menu option. You can exclude rank(s) from accessing to a command by passing a table of ranks as second argument to havePermission() Onesync needed for teleport / bring / goto / coords commands ( TLDR : anything that need coordination) There is no UI like es_admin, all commands are easy to use already Open up a in esx_adminplus folder and config it as you want Ä®SX V1 final || alternative : ExtendedMode Special thanks to Cold Cat!!!#8585 for helping me on debugging and testingÄ®xtract esx_adminplus-master to your resources folder and remove -master from folder nameĪdd start esx_adminplus AFTER es_extended(or ExtendedMode) and esx_ambulancejob in your server config warn | warn a player and kick if execeed max warns ![]() a | admin only chat with ranks and names reviveall | revive all dead player on server (completely serversided, so no exploit can be done) freeze | freezing and making player invincible kill | instantly kill player with given ID goback | teleport you back where you was before /goto goto | teleport you to player with given ID bringback | teleport player back to where he was before /bring announce | send announcement to all online players report | send message to all online admins coords | print ped coords in serverconsole and F8 tpm | teleport you to selected waypoint on map say | send announcement to all online players.reviveall | will revive all dead players.players | will return ID/name/group of online players. Usage: sedebug Useful to see why some people do or donât have access to certain commands, example output: TEST ACL nsole -> command.resmon ACE nsole command -> ALLOW TEST ACL nsole -> command.This script also will work on ExtendedMode, a community edition fork of ESX The sedebug command enables verbose logging for security features (like the ACL). I just make this script for ESX V1 Legacy First of all, this my first time releasing something on forum, so take it easy on me! ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |