Hello everyone.
I’ve been checking around at this website some days, and today I decided to register!
I’m a GMod Dark RP server owner, and I appreciate a little help!
First, about Jobs.
AddExtraTeam( "<NAME OF THE CLASS>", Color(<red>, <Green>, <blue>, 255), "<Player model>" , [[<the description(it can have enters)>]], { "<first extra weapon>","<second extra weapon>", etc...}, "<chat command to become this class (WITHOUT THE "/" OR "VOTE"!)>", <maximum amount of this team>, <the salary he gets>, 0/1/2 = public /admin only / superadmin only, <1/0/true/false Do you have to vote to become it>, true/false DOES THIS TEAM HAVE A GUN LICENSE?, TEAM: Which team you need to be to become this team)
Thats the code to make a job, but, HOW do you make them avaible to buy some things? I mean, Gun Dealers can hit the F4 button, Enteties/Weapons and buy a gunlab, or some weapons.
I would like to create a custom drug dealer, how?!
Secondly, how to change the MOTD to SHOW up (AssMod)?
I have already gone into data/assmod/motd.txt and changed it to fit my needs, but still it doesn’t update, its still the original one.
Anyone can help me?
Thanks!
FIXED :
What I did was, for jobs, I went into the folder and found addentities.lua, opened it and it was
//AddCustomShipment(“HL2pistol”, “models/weapons/W_pistol.mdl”, “weapon_pistol”, 500, 10, false, 200, false, {TEAM_GUN, TEAM_MEDIC}), example there, I just edited it to be as I wanted!
And about motd, ahven’t fixed that lol.