Ulysses Stuff > Releases

Player Connect/Disconnect Message [1.11v]

<< < (8/37) > >>

Bite That Apple:

--- Quote from: night650 on September 30, 2013, 10:57:17 PM ---where would i put this file? im having difficulties installing. sounds like a great concept.

--- End quote ---

you put the entire unzipped folder in the addons folder :p

Nkrow:
Hi chaos, thanks for this amazing plugin!

But, I want (like another user over there) to add the steam ID to the message. I tried this:


--- Code: ---function player_spawn( data )
local name1 = data:ReadString()
local nickteamcolour1 = team.GetColor(data:ReadShort())
local steamid1 = data:ReadString()
chat.AddText( nickteamcolour1, name1, Color( 255, 255, 255 ), " has joined to the server.", "(" .. ply:SteamID() .. ")")
surface.PlaySound( "garrysmod/save_load1.wav" )
end
usermessage.Hook("player_spawn", player_spawn)

--- End code ---

But it gave me error... =(

I hope you can help me :3 Thanks!

MrPresident:
What was the error?

Nkrow:

--- Quote from: MrPresident on October 03, 2013, 05:44:55 PM ---What was the error?

--- End quote ---



:(

MrPresident:
Post the contents of your cl_player.lua file.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version