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

Bread1
Novice
Level:
0
Reputation:
2
Posts:
25
Likes:
7
Credits:
367
OP
26-01-2019, 09:45 AM
This post was last modified: 26-01-2019, 09:50 AM by Bread1
#33
25-01-2019, 05:06 AM
officialarcher Wrote:
Hmmm.. Bit of a weird one, having the sql error a few others had, everything is definitely setup correct, have setup other santos versions before no issues, tried local databases, and remote ones, tymsql, mysqloo etc etc is all setup correctly but still get

[ERROR] gamemodes/santosrp/gamemode/init.lua:63: attempt to index field 'PlayerAnims' (a nil value)
1. unknown - gamemodes/santosrp/gamemode/init.lua:63
[ERROR] gamemodes/santosrp/gamemode/init.lua:68: attempt to index field 'SQL' (a nil value)

Will look into it but i'm gonna test a different version of santos with the same setup and see if that works and then update you all

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


Users browsing this thread: 4 Guest(s)