Remote event doesn't fire correct parameters

I had a remote event (server script with client runContext) and I made it fire the player, a item, and 2 string vars but when the server script received it, it said that all the received parameters were the player

did you put all the things you wanted to transfer in the brackets of both ends of the event?
e.g:
RemoteEventName:FireServer/FireClient(Argument1, argument2, argument3, argument 4)
RemoteEvent.OnServerEvent/OnClientEvent:Connect(function(Argument1, argument2, argument3, argument 4))

sry if dat didnt help, im also still learning how to script, i was just tryna see if i can help

yes, i did that that doesn’t work

oh, sry i dont know then, i hope u do find the solution soon!

Have you tried debugging? You can try printing the arguments to see if everything is correct

thats how i figured it out in the first place

Are you sure you’re not firing nil args from the client?

So what’s wrong then? A remote event sends whatever arguments you put inside, try to print all the arguments before and after firing the remote event

idk what happened but it somehow fixed itself…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.