My SWEP has 3 state types (1 - none, 2 - fists, 3 - pistol). Reload switches between them. When player reloads, it's holdtype changes, but other players don't see him change.
I think, It would be easy to do with usermessages, when player changes holdtype, send the player and state index to all players, but I heard, DTVars are better for this. So, should I use usermessages, or somehow use DTVars (I think, I should compare in SWEP:Think() if they changed, and then call function to set it, right?)?
P.S.: I don't need code, I'll do it myself, just need a suggestion.
bump
no idea, maybe someone will respond
Sorry, you need to Log In to post a reply to this thread.