Dawntide Posted August 31, 2012 Author Share Posted August 31, 2012 hi,i want to change the set sprite in the admin window so i can target a player or enter his name and change his sprite.thanks for your help1 Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 31, 2012 Share Posted August 31, 2012 Add the player's name to the packet, and then use FindPlayer(name) to convert it into an index. Then use SetPlayerSprite(FindPlayer(name), number) to set it. The packet is sent in SendSetSprite, so search for that sub to see where it is called (two places). 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