os_clock
(os_clock)
#1
So I’m working on a game for someone right now and I cannot manage to fix this.
code deleted cause i dont want to leak it
Whenever I try to print the player it just gives me random numbers between 500-650 in the console.
Please help me fix this.
2 Likes
ar_qx
(ar_qx)
#2
if it prints random numbers then arenaowners value is random numbers look into how the function takes in arenaowner print its value as you set it
1 Like
os_clock
(os_clock)
#3
No but in the RequestFight function i print the requester and it works fine.
It just prints random numbers when I try to call the Accept function.
1 Like
ar_qx
(ar_qx)
#4
what script calls accept(player) i dont see it in your clip
os_clock
(os_clock)
#5
AcceptButton.MouseButton1Up:Connect(Accept,requester.Name)
ar_qx
(ar_qx)
#6
oh i see and how do you get the requester
value? is this connected to a remoteevent?
os_clock
(os_clock)
#7
I get it through this function below:
code deleted cause i dont want to leak it.
os_clock
(os_clock)
#8
Nevermind I fixed it myself it was just a dumb mistake.
I used AcceptButton.MouseButton1Up:Connect(Accept,requester.Name)
instead of:
AcceptButton.MouseButton1Up:Connect(function()
Accept(requester)
end)
Sorry for wasting your time.
1 Like
system
(system)
Closed
#9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.