[url]http://gyazo.com/cb4588dd895dc1729fca8c6f4d4f9d41[/url]
It looks like that, if anybody knows any downloads please tell me.
It's not a released addon, it's just a simple script that could be made in 2 minutes.
[QUOTE=code_gs;43039552]It's not a released addon, it's just a simple script that could be made in 2 minutes.[/QUOTE]
Would you be able to make it and send to me please?
Free or a very small payment as you says its easy and quick to make
[lua]hook.Add( "PlayerDisconnected", "SteamIDDisconnect", function(ply)
PrintMessage( HUD_PRINTTALK, ply:GetName() .. " (" ..ply:SteamID().. ") has disconnected." )
end )[/lua]
Wohoa!
Thanks alot I will add when im on pc tommorow.
I just create a .lua and add to addons right?
[editline]1st December 2013[/editline]
Also could you make a player connect one please.
Thanks so much
Basically, take that code and use this instead:
[url]http://wiki.garrysmod.com/page/GM/PlayerConnect[/url]
Also, if I recall, something like this should go in lua/autorun/server
[QUOTE=Ozar;43040110]Wohoa!
Thanks alot I will add when im on pc tommorow.
I just create a .lua and add to addons right?
[editline]1st December 2013[/editline]
Also could you make a player connect one please.
Thanks so much[/QUOTE]
[video=youtube;fl62hq-IeVg]http://www.youtube.com/watch?v=fl62hq-IeVg[/video]
[code]hook.Add( "PlayerConnect", "SteamIDConnect", function(ply)
PrintMessage( HUD_PRINTTALK, ply:GetName() .. " (" ..ply:SteamID().. ") has connected." )
end )[/code]
:)
Haha.
Thanks alot for the help
i have tried adding to lua>autorun and lua>autorun>server and nothing happens in game
[QUOTE=code_gs;43039937][lua]hook.Add( "PlayerDisconnected", "SteamIDDisconnect", function(ply)
PrintMessage( HUD_PRINTTALK, ply:GetName() .. " (" ..ply:SteamID().. ") has disconnected." )
end )[/lua][/QUOTE]
When I add this to lua-auto run or lua-autorun-server it does not work or say anything when somebodys joins or disconnects
code_gs or anybody Where do i install it?
it wont work in lua>autorun>server or lua>autorun any help?
did u make sure that you called it file (.LUA) ?
[QUOTE=bobo1332;43066179]did u make sure that you called it file (.LUA) ?[/QUOTE]
Yes where do I install?
lua/autorun should do the trick.
Btw, a folder inside /addons is a virtualization of the root of the garrysmod server. (You learn something every day! :v:)
Sorry, you need to Log In to post a reply to this thread.