Advertisement
SSN-ATomIC

Ultra Donor Models

Oct 1st, 2014
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Ultra: in player.lua you can add some code to GM:PlayerSetModel() to check a list of steam ids and allow a model based on that
  2. Ultra: something basic like this can work:
  3. if not CoolGuys[ply:SteamID()] and CoolPlayerModels[modelname] then
  4. modelname = self.DefaultPlayerModel
  5. end
  6. Ultra: where CoolGuys is a table of steamids { ["STEAM_0:0:000"] = true, ["STEAM_0:0:001"] = true } and CoolPlayerModels is a list of models { ["models/mdl1.mdl"] = true, ["models/mdl2.mdl"] = true }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement