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
23-01-2019, 11:19 PM
#31
Is this the version where it displays the players ID above their head and not their name?

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

Zigbomb
Playermeta.net
Level:
1
Reputation:
4
Posts:
105
Likes:
18
Credits:
360
25-01-2019, 05:06 AM
#32
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

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

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

Zigbomb
Playermeta.net
Level:
1
Reputation:
4
Posts:
105
Likes:
18
Credits:
360
26-01-2019, 02:02 PM
#34
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


You're a god! Any idea where I can find the legacy version? done abit of searching but no luck

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

gbmv33
Novice
Level:
0
Reputation:
0
Posts:
49
Likes:
1
Credits:
3
29-01-2019, 12:05 AM
This post was last modified: 29-01-2019, 01:12 AM by gbmv33
#35
Can Someone help me solve this?

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


[ERROR] gamemodes/santosrp/gamemode/init.lua:108: attempt to index field 'FireSystem' (a nil value)
1. unknown - gamemodes/santosrp/gamemode/init.lua:108
[Image: giphy.gif]

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

Bread1
Novice
Level:
0
Reputation:
2
Posts:
25
Likes:
7
Credits:
367
OP
31-01-2019, 12:44 AM
This post was last modified: 31-01-2019, 11:41 PM by Bread1
#36
29-01-2019, 12:05 AM
gbmv33 Wrote:
Can Someone help me solve this?

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


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

sql problem.

edit: correct version of tmysql has been posted in the thread check there and post back results.

26-01-2019, 02:02 PM
officialarcher Wrote:
You're a god! Any idea where I can find the legacy version? done abit of searching but no luck

legacy version has been added to the thread.

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

Zigbomb
Playermeta.net
Level:
1
Reputation:
4
Posts:
105
Likes:
18
Credits:
360
14-02-2019, 07:29 PM
#37
Got it working perfectly, very good version, few little things (they do not break the gamemode) would be good if it wasn't all setup for that communities directories, had to change all the hud directorys over for the images, and also not sure if i'm missing something but the SWAT van and the Garbage truck don't spawn but I have added the addons to my collection for them. Unless there are addons needed to go into garrysmod/addons on the server

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!

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

lifeisgreat
Novice
Level:
0
Reputation:
0
Posts:
27
Likes:
1
Credits:
0
20-02-2019, 01:35 PM
#39
there also a server leak on here to with SANTOSRP files what the diffrance

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

Magnusmm1999
Newbie
Level:
0
Reputation:
0
Posts:
15
Likes:
0
Credits:
2
09-03-2019, 03:41 AM
#40
Thanks for sharing santosRP might check it out see how it is

Users browsing this thread: 12 Guest(s)