Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Filtering Enabled Invoke messed up??

Asked by
RoyMer 301 Moderation Voter
6 years ago

Why is it that this version doesn't work how I want it?

function FE.Add.OnServerInvoke(player, slot)

But here when I invent the "idk" between player and slot, everything works well?

function FE.Add.OnServerInvoke(player, idk, slot)

What could I be not understanding to have this issue?

1
You're passing an extra value before the one you want. On the client side what you want is ...... :InvokeServer(Slot), with nothing before "Slot". The "player" part of onServerInvoke is already handled by the game, so you don't need to pass the player manually. whenallthepigsfly 541 — 6y
0
Thanks! That was the issue! RoyMer 301 — 6y

1 answer

Log in to vote
0
Answered by
F_F 53
6 years ago

Did you try printing it?

0
Make this a comment. whenallthepigsfly 541 — 6y
Ad

Answer this question