Open GoogleCodeExporter opened 8 years ago
Don't use ASSMod, it's extremely outdated and very incompatible, use ULX,
FAdmin or Evolve. There is documented instructions on using donator jobs with
those admin mods.
Original comment by drakehawke@gmail.com
on 24 Aug 2011 at 4:08
Im using assmod, a custom version by myself, and its setup with auto donator
system from website, so i need to use assmod, so can anyone help?
Original comment by deluxser...@live.dk
on 24 Aug 2011 at 5:07
Find however you check what rank a player is, and use that as part of the
condition function in the team set-up.
Original comment by drakehawke@gmail.com
on 24 Aug 2011 at 5:31
This should be the function - function(ply) return ply:IsDonator() or
ply:IsAdmin() end
in shared.lua , but its not working peoples can still join job when their not
donator..
Here is job.
TEAM_SGUN = AddExtraTeam("Speciel Gun Dealer", Color(100, 0, 0, 255),
"models/player/eli.mdl", [[A gun dealer is the only person who can sell guns to
other
people.
However, make sure you aren't caught selling guns that are illegal to
the public.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols
Donator Job!]], {"weapon_fists"}, "sgundealer", 3, 45, 0, false, false,
function(ply) return ply:IsDonator() or ply:IsAdmin() end)
Original comment by deluxser...@live.dk
on 24 Aug 2011 at 5:35
Try this:
TEAM_SGUN = AddExtraTeam("Speciel Gun Dealer", Color(100, 0, 0, 255),
"models/player/eli.mdl", [[A gun dealer is the only person who can sell guns to
other
people.
However, make sure you aren't caught selling guns that are illegal to
the public.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols
Donator Job!]], {"weapon_fists"}, "sgundealer", 3, 45, 0, false, false, nil,
function(ply) return ply:IsDonator() or ply:IsAdmin() end)
Original comment by drakehawke@gmail.com
on 24 Aug 2011 at 5:48
Still not working, you can still go job when not donator and just normal player.
Original comment by deluxser...@live.dk
on 24 Aug 2011 at 6:03
I even tryed with ULX and thats not working too.
Original comment by deluxser...@live.dk
on 24 Aug 2011 at 6:45
I tried with this:
TEAM_SGUN = AddExtraTeam("Speciel Gun Dealer", Color(100, 0, 0, 255),
"models/player/eli.mdl", [[A gun dealer is the only person who can sell guns to
other
people.
However, make sure you aren't caught selling guns that are illegal to
the public.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols
Donator Job!]], {"weapon_fists"}, "sgundealer", 3, 45, 0, false, false, nil,
function(ply) return ply:IsAdmin() end)
And it worked fine, if I removed my admin it wouldn't let me become the job.
It's a problem with your IsDonator function.
Original comment by drakehawke@gmail.com
on 24 Aug 2011 at 7:35
Do i need to add anything else than this function to job?
Because its still not working :S
Original comment by deluxser...@live.dk
on 24 Aug 2011 at 7:43
Did you add a nil before the function?
Original comment by drakehawke@gmail.com
on 24 Aug 2011 at 7:46
I added the latest one you wrote..
TEAM_SGUN = AddExtraTeam("Speciel Gun Dealer", Color(100, 0, 0, 255),
"models/player/eli.mdl", [[A gun dealer is the only person who can sell guns to
other
people.
However, make sure you aren't caught selling guns that are illegal to
the public.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols
Donator Job!]], {"weapon_fists"}, "sgundealer", 3, 45, 0, false, false, nil,
function(ply) return ply:IsAdmin() end)
Original comment by deluxser...@live.dk
on 24 Aug 2011 at 7:59
Now remove your admin, and try and become that job. Does it block you?
Original comment by drakehawke@gmail.com
on 24 Aug 2011 at 8:09
Nope it doesnt block me.
Original comment by deluxser...@live.dk
on 24 Aug 2011 at 8:22
It blocks me just fine, try this:
TEAM_SGUN = AddExtraTeam("Speciel Gun Dealer", Color(100, 0, 0, 255),
"models/player/eli.mdl", [[A gun dealer is the only person who can sell guns to
other
people.
However, make sure you aren't caught selling guns that are illegal to
the public.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols
Donator Job!]], {"weapon_fists"}, "sgundealer", 3, 45, 0, false, false, nil,
function(ply) return false end)
Original comment by drakehawke@gmail.com
on 24 Aug 2011 at 8:39
Peoples with normal status can still go job.
Original comment by deluxser...@live.dk
on 24 Aug 2011 at 9:13
So what can the issue be then? i tryed with assmod and the ULX instruction for
ULX, none worked.
Original comment by deluxser...@live.dk
on 24 Aug 2011 at 9:25
Put your player.lua and MakeThings.lua on pastebin and post the link.
Original comment by drakehawke@gmail.com
on 24 Aug 2011 at 9:56
Are you /sure/ you updated to the latest revision of DarkRP?
If you don't update, this method will fail silently.
Original comment by fpeijnen...@gmail.com
on 25 Aug 2011 at 8:59
I have latest svn version.
Here is links:
Player.lua - http://pastebin.com/Uvjz8wHH
MakeThings.lua - http://pastebin.com/b55c1RKP
Original comment by deluxser...@live.dk
on 27 Aug 2011 at 8:48
I can't see any of the donator jobs code in either of those files. They aren't
on the latest SVN.
Original comment by drakehawke@gmail.com
on 27 Aug 2011 at 12:33
I just updated SVN again, and it says its latest version.
Original comment by deluxser...@live.dk
on 27 Aug 2011 at 2:24
Its says i got latest..
Original comment by deluxser...@live.dk
on 27 Aug 2011 at 3:31
Nevermind then, i just finished my own little system in darkrp that have more
features than just donator jobs. Thanks for the help anyways.
Original comment by deluxser...@live.dk
on 27 Aug 2011 at 4:36
Well you're obviously not on the latest SVN because your files don't match the
SVN ones.
Original comment by drakehawke@gmail.com
on 27 Aug 2011 at 5:09
I cant make a supporter job(like donator) i can only make the admin job, Plz
help
Original comment by manofwar...@gmail.com
on 16 Dec 2011 at 8:46
Original issue reported on code.google.com by
deluxser...@live.dk
on 24 Aug 2011 at 3:46