Raised This Month: $51 Target: $400
 12% 

Error 017 Undefined symbol "Client_InfoPanel" + others


Post New Thread Reply   
 
Thread Tools Display Modes
adma
Senior Member
Join Date: Oct 2015
Old 03-30-2019 , 19:06   Re: Error 017 Undefined symbol "Client_InfoPanel" + others
Reply With Quote #11

Quote:
Originally Posted by hiiamu View Post
I have the infopanel code in the main sp, as "public CenterHudAlive(client)" with all the information I want to be in the hud, do I need to trigger that part of the code when said command is executed?
No, Sourcemod triggers the command function when a player does the command. You just tell Sourcemod what to do when you register your commands using RegConsoleCmd() and RegAdminCmd(). You can think that when you register a command, you are pairing a command with an action. Whenever someone sends a command in chat, Sourcemod checks if their command has a paired action and then will execute it if it exists.
adma is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode