I know virtually no one uses Exsto anymore, but do you know how I can go about fixing it up where Pointshop can make it work with it's user group whitelist system?
[lua] self:GetNWString("ExRankHidden") [/lua]
Seems like it should work but it isn't. Here's the template PointShop provides.
[lua]
local Player = FindMetaTable('Player')
-- Because of the huge variaty of admin mods and their various ways of handling usergroups.
-- This had to be done..
function Player:PS_GetUsergroup()
if ( self.EV_GetRank ) then return self:EV_GetRank() end
-- add for each conflicting admin mod.
return self:GetNWString('UserGroup')
end
[/lua]
[QUOTE=Th3applek1d;46671865]I know virtually no one uses Exsto anymore, but do you know how I can go about fixing it up where Pointshop can make it work with it's user group whitelist system?
-code-
Seems like it should work but it isn't. Here's the template PointShop provides.
-code-[/QUOTE]
[url]https://github.com/prefanatic/exsto/blob/master/lua/exsto/shared/sh_groups.lua[/url]
Exsto uses "Rank" as the network string instead of "UserGroup"
I'm pretty sure you can just do Player:GetRank() with exsto. Just do something like: [lua]Player.PS_GetUsergroup = Player.GetRank[/lua]
[QUOTE=StonedPenguin;46671929]I'm pretty sure you can just do Player:GetRank() with exsto. Just do something like: [lua]Player.PS_GetUsergroup = Player.GetRank[/lua][/QUOTE]
Tried that already, doesn't work.
[editline]8th December 2014[/editline]
[QUOTE=Pandaman09;46671905][url]https://github.com/prefanatic/exsto/blob/master/lua/exsto/shared/sh_groups.lua[/url]
Exsto uses "Rank" as the network string instead of "UserGroup"[/QUOTE]
I'll try that in the morning, thanks.
Sorry, you need to Log In to post a reply to this thread.