Garry's Mod Leaks

Updated SantosRP Source | Trunks | SWAT | RP_FLORIDA Support

Submitted by Bread1, , Thread ID: 101687

Thread Closed

RE: Updated SantosRP Source | Trunks | SWAT | RP_FLORIDA Support

Zigbomb
Playermeta.net
Level:
1
Reputation:
4
Posts:
105
Likes:
18
Credits:
360
16-02-2019, 12:08 AM
#38
26-01-2019, 09:45 AM
Bread1 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!

Users browsing this thread: 41 Guest(s)