Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- worldGlobals.CreateRPC("client", "reliable", "RequestImportantVariable",
- function()
- -- I use worldGlobals.worldInfo here, because worldInfo variable is not bound in a replicated call
- if worldGlobals.worldInfo:NetIsHost() then
- worldGlobals.SetImportantVariable(importantVariable)
- end
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement