• deathrun donator icon on tab menu
    4 replies, posted
i put this in cl_init.lua and it just fucks everything up [CODE]function GM:GetScoreboardIcon( ply ) if ply:IsDonator() then return "icon16/coins.png" end end[/CODE] pls lua gods help me
[code]ply:IsDonator()[/code] I don't think this is a thing
[QUOTE=NiandraLades;43460087][code]ply:IsDonator()[/code] I don't think this is a thing[/QUOTE] ye most likely i dont know anything about the point shop (or much lua) i want it so when someone is in the ulx group donator they get that icon on the score board
[QUOTE=sofa king;43459816]i put this in cl_init.lua and it just fucks everything up [CODE]function GM:GetScoreboardIcon( ply ) if ply:IsDonator) then return "icon16/coins.png" end end[/CODE] pls lua gods help me[/QUOTE] Well if you are using ULX the correct code would be [CODE]function GM:GetScoreboardIcon( ply ) if ply:IsUserGroup("Donator") then return "icon16/coins.png" end end[/CODE]
[QUOTE=ilovereno99;43461853]Well if you are using ULX the correct code would be [CODE]function GM:GetScoreboardIcon( ply ) if ply:IsUserGroup("Donator") then return "icon16/coins.png" end end[/CODE][/QUOTE] that worked but now the admin shield doesnt show up but it doesnt matter anyway thank you! [editline]9th January 2014[/editline] dw i figured it out
Sorry, you need to Log In to post a reply to this thread.