Quote:
Originally Posted by Ragenewb
Very nice!
Don't forget you can have a setter for your 'Team' property to change teams as well, like so:
PHP Code:
property int Team { public get() { return GetClientTeam(this.index); } public set(int team) { ChangeClientTeam(this.index, team); } }
|
I was actually considering doing that, but I guess it was an oversight. I'll update the include once I can. I'll probably end up doing this for client's health, armor, etc. (along with adding (potentially) a few other useful stocks for managing clients). Thanks for the feedback btw!
EDIT: File updated!