Right so anyway, I have become more interested in programming in LUA that I have decided to crack open the OA files and have a look through the technique of learning by doing, now there is one thing that I can't wrap my head around and I believe if I can understand how this one thing is done then it might help me understand LUA a bit more. Anyway I was looking in the HL2RP sv_hooks file and I came across this line. if (selflayerIsCombine(player) or player:QueryCharacter("faction") == FACTION_ADMIN) then Right so let me see if I got this right and if not correct me If (basic if statement not much to say) self: (so You the player not some other player on the server) PlayerIsCombine (Seeing if it's one of the combine factions? Rather ambigious, why not OTA? MPF? Or is this one umbrella term used for all factions.) (player) -This meaning the players name? E.g OTA-King.1993 or whatever you name them? or (Not much to say here either.) Player:QueryCharacter (Don't know what this means.) ("faction") -Again not sure. Is "faction" just meaning any faction name, but then it's in quotation marks which is usually associated with actually text like "You are dead." == FACTION_ADMIN (Okay so whatever the last statement meant, equals the Administrator faction. Then (Then do whatever comes next.) So any help would be appreciated, there is one thing I want to ask. How can it understand this part: "PlayerIsCombine" is it declared somewhere? I looked in the factions but it says something different FACTION.isCombineFaction = true; so then how does it understand what it means by "PlayerIsCombine" is it two things put together? Player then somewhere in the faction code it would be IsCombine = true. I feel if I could figure out what this means I would be on my way too understanding LUA a bit more. Also can you change it so like PlayerIsCombine to something like PlayerIsVortigaunt how would you do that? Any answers to any of my questions would be much appreciated. I also wasn't sure where to post this since it's not really a support issue, if it's in the wrong place I apologise.