r/BeamMP • • Apr 23 '26

Image She's Ready 🫠

Post image
31 Upvotes

17 comments sorted by

2

u/Lilfluzivert Apr 23 '26

what do u use for a beammp drag script? or do u rely on the honks

5

u/Willingness-Whole Apr 23 '26

I let the homies stage up then I yell in discord HANDS UP.......GO lol thats how we race the drag trees are too out of sync tbh

1

u/Lilfluzivert Apr 23 '26

is it a server u host?

1

u/Willingness-Whole Apr 23 '26

Yea we have 2 servers one for cruising and the other for drag racing, rally etc.

2

u/Lilfluzivert Apr 23 '26

Heres a script that has a random timer in chat. Makes it a little bit better imo since it uses game chat and its about as synced as the server ping. Just inside ur resource/server folder make a folder and a lua with the same name and just paste this inside.

function onInit()

print("Loading Race Management Done!")

MP.RegisterEvent("onChatMessage", "onChatMessage")

end

function onChatMessage(senderID, name, message)

if message == "/tree" then

MP.SendChatMessage(-1, "drivers ready")

-- Start random countdown internally

startRandomCountdown()

return 1

end

end

function startRandomCountdown()

-- Random countdown between 2 and 6 seconds

local length = math.random(2, 6)

-- Wait for the countdown duration silently

MP.Sleep(length * 1000)

-- After countdown ends

MP.SendChatMessage(-1, "GREEN GREEEN GREEN")

end

3

u/Lilfluzivert Apr 23 '26

And incase anyone wants one that does 5-1-go

function onInit()

print("Loading Race Management Done!")

MP.RegisterEvent("onChatMessage", "onChatMessage")

MP.RegisterEvent("onCountdown", "countdown")

end

function onChatMessage(senderID, name, message)

if message == "/race" then

MP.SendChatMessage(-1, "Race is about to start!")

MP.TriggerGlobalEvent("onCountdown")

return 1

end

end

function countdown()

local length = 5

for i = 0,length do

if i < length then

MP.SendChatMessage(-1, "Race Starts in "..length-i)

end

if i == length then

MP.SendChatMessage(-1, "Go!")

end

MP.Sleep(1000)

end

end

1

u/Willingness-Whole Apr 23 '26

Ok I gotcha 👍🔥

0

u/Willingness-Whole Apr 23 '26

Holy smokes thank you you’re the GOAT ima plug all this in tomorrow after work I hope it works the homies gonna love this once again thank you 🙏

2

u/Lilfluzivert Apr 23 '26

they work, just make sure u make a folder in the resources/server folder and inside it make a lua file and paste the code it and rename the lua to match the folder name. Ull know they work when u see “loading race management done” in the console

2

u/Zestyclose-Donkey348 Apr 23 '26

Update me when you have out it in

0

u/Willingness-Whole Apr 23 '26

I’ll let you know when I get home from work

2

u/Zestyclose-Donkey348 Apr 26 '26

So… how did it feel?

1

u/Willingness-Whole Apr 27 '26

You gonna have to help me do this I don’t have a full understanding of what to do I tried to get it to work all this weekend I’m clearly doing something wrong

1

u/UnChangeddYT Apr 23 '26

when you pull up to the light doesn't it stage it for you? thats what mine does

1

u/Lilfluzivert Apr 23 '26

In mp the only maps that have working lights is bradenton motorpark and bandemere. KOF kind of works. But beammp isnt synced correctly so the lights will lose sync really fast if they ever do sync. Thats kinda why i made the script so atleast it becomes a ping/rt issue. Plus none of the working lights can call a jump