Raised This Month: $ Target: $400
 0% 

Hacker gamemode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kuuichi
Junior Member
Join Date: May 2016
Location: los angeles
Old 11-25-2016 , 03:52   Re: Hacker gamemode
Reply With Quote #1

Quote:
Originally Posted by Mitchell View Post
quick tip, CPS_SetSkin returns the skin index and will remove any previous skin on the client.
HTML Code:
CPS_RemoveSkin(client);
CPS_SetSkin(client, model, CPS_RENDER);
int skin = CPS_GetSkin(client);
So all of that was redundant and could've been one line?

I made this a little while ago so I'm pretty sure I copied this off of some other person's plugin to get an XRAY working, but thanks for the tip! Mostly just posting this because I don't write plugins anymore and I thought (maybe) someone might want to play with this.
__________________
i guess i have a picture of jon skeet as my avatar
kuuichi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode