I have a remote function, this is how I have been using it before:
move:FireServer("Character")
But now I am in need of another parameter for a different script:
move:FireServer("Character",1)
Do I have to go back and add the parameter to all the other scripts, or is it fine if I just add the parameter for the new script?
majdTRM
(majdTRM)
2
Well if its the same remoteevent, the first line of code will pass nil for the second argument, and the second will pass 1.
Implementation
event.ServerFunction = function(part, num)
print(part, num)
end)
event:FireServer("Character") -- "Character", nil
event:FireServer("Character", 1) -- "Character", 1
1 Like