CremeLover Posted June 14, 2015 Share Posted June 14, 2015 (edited) Hi, I finished this mod, and it works just fine, it does what is supposed to do... when I host a server. I'm using AddTag() to add a tag to a player, which makes him able to do certain actions, to do that I'm using this functionDivineJustice = function(inst) for k,v in pairs(GLOBAL.AllPlayers) do if inst.userid == v.userid then if not v:HasTag("Blocked") then v:AddTag("Blocked") else v:RemoveTag("Blocked") end end endendBut no matter what I do I can only get it to work locally. Is there a function or a parameter im missing?mod.zip Edited June 15, 2015 by CremeLover Link to comment Share on other sites More sharing options...
CremeLover Posted June 15, 2015 Author Share Posted June 15, 2015 Sorry about the bad explanation, this should clean things up. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now