General > Developers Corner
Listing Players Weapons by String
JamminR:
What's the client side code you're using to deliver the string to player's attention?
Bite That Apple:
--- Quote from: JamminR on January 16, 2015, 10:21:34 AM ---What's the client side code you're using to deliver the string to player's attention?
--- End quote ---
--- Code: ---function PlayerSpawnNoKill(data)
chat.AddText(Color(255,255,0),data:ReadString())
end
usermessage.Hook("PlayerSpawnNoKill", PlayerSpawnNoKill)
--- End code ---
JamminR:
Did you grab from the wrong client side code of your file?
Your noclip user message is named "PlayerNoNoclipKill"
Client side code you posted looks like its from another user message regarding spawn instead of noclip.
Bite That Apple:
--- Quote from: JamminR on January 21, 2015, 06:52:22 PM ---Did you grab from the wrong client side code of your file?
Your noclip user message is named "PlayerNoNoclipKill"
Client side code you posted looks like its from another user message regarding spawn instead of noclip.
--- End quote ---
I have three user messages in the client side code, I just copied the first one, because I just thought it was relating to the server side, but it looks like I did it out of order. Either way, it still gives an error.
Navigation
[0] Message Index
[*] Previous page
Go to full version