ali Posted May 12, 2014 Share Posted May 12, 2014 when you use engineImoportTXD does the model change for the whole person or localPlayer Link to comment
Toffbrown Posted May 12, 2014 Share Posted May 12, 2014 Whole person?? but engineImportTXD is client sided ie the localPlayer But because everyone would download the script to replace the TXD it is show for all players on the server Link to comment
ali Posted May 12, 2014 Author Share Posted May 12, 2014 hmm is there a way for only specific person to get the mod and not others? Link to comment
Toffbrown Posted May 12, 2014 Share Posted May 12, 2014 you could try restricting it Via Acl or getPlayerTeam....... Never tested myself, Link to comment
Saml1er Posted May 12, 2014 Share Posted May 12, 2014 Everything depends on how you trigger it from server side. For example, -- server side local player = getPlayerFromName ("Saml1er") if player then -- if we got the player named Saml1er then triggerClientEvent(player,"LoadModels",player) -- lets trigger it for the player named Saml1er end --client side addEvent("LoadModels",true) addEventHandler("LoadModels",root, function () -- Now this function will work for the player who triggered the event end ) Link to comment
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