View Single Post
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 04-29-2018 , 21:20   Re: [INC] Client MethodMap
Reply With Quote #4

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.indexteam);
        }
    } 
__________________
Over-engineering is underrated.

GitHub
BTC
ETH

Retired
Scag is offline