[Release] Area of Play / Patrol (Textdraw/Server Sync)

4d708db267b1280c2f75d40d666ccc7ad348c3d3

could you give me this script? I would be very grateful

Player Location Display

1 Like

Here it is…

2 Likes

What would be the coordinates to place it right over the map?
If yo know could you help me thankyou

Are you able to make this whitelist by steam ID? That would be most helpful.

Is there a way to change what font it uses?

If you own or develop a server you should learn Lua and how to do this yourself.

It’s pretty easy to do

Server.lua

admins {
'steam:id',
}

function isAdmin(player)
    local allowed = false
    for i,id in ipairs(admins) do
        for x,pid in ipairs(GetPlayerIdentifiers(player)) do
            if string.lower(pid) == string.lower(id) then
                allowed = true
            end
        end
    end
    return allowed
end

Client.lua

AddEventHandler('chatMessage', function(source, name, msg)
	local args = stringsplit(msg, " ")
	if args[1] == "/aop" and isAdmin true then
	if tablelength(args) > 2 then
	CancelEvent()
	CurrentAOP = args[2]
	CurrentAOP2 = args[3]
	TriggerEvent('aop:requestSync')
	TriggerClientEvent('chatMessage', -1, '^1[!]', {255, 255, 255}, " ^7AOP has been changed to ^1" .. CurrentAOP .. " " .. CurrentAOP2 .. '^7.\n Please finish your current RP and move.')
	else
	TriggerClientEvent('chatMessage', -1, '', {255, 255, 255}, '^7Incorrect syntax.')
    end
	end
end)
   

Something like that.

Change the font your chat resource uses.

How do I get that text under the AOP?

Is there a way I can chance the colour from white to red?

what do i need to put in to make the text red?

also how can i moce the text down like 5inch

Hey, Every time i change the color the AOP At the bottom does not show
Its like it breaks

the draw text doesn’t work for me after i put this text in do you know how do i fix that while keeping the admin whitelisting?

HELP How Can I Remove This whats is the script name please ???

Hey! I’m having a problem. The text in game is nearly transparent and hard to see. I"ve tried everything to change it but nothing fixes it.

Looking forward for your help! :slight_smile:

Do ~r~ before the text in “client” text doc.

How do i whitelist someone in the first place with Steam? I Cant chnage the AOP it says insufficient Perms

image
how to do this?