26-01-2019, 09:45 AMBread1 Wrote: Make sure you are using the legacy version of tmysql
also;
this doesnt showcase the id above their head but you can do it yourself.
use: pPlayer:GetCharacterID() in cl_buddies.lua
copy & paste code:
if( self:IsBuddyWith( pPlayer ) ) then
surface.DrawText( pPlayer:Nick() .. " (#" .. tostring(pPlayer:GetCharacterID()) .. ")" )
elseif( admin check here ) then
surface.SetTextColor( 255, 255, 255, 255 )
surface.DrawText( pPlayer:Nick() .. " (#" .. tostring(pPlayer:GetCharacterID()) .. ")" )
else
surface.DrawText( "#" .. tostring(pPlayer:GetCharacterID()) .. "" )
end
Didn't manage to get the id thing working, tried a few things could you provide abit of a "handhold" way of doing it, sorry!