Talk:Adding the Game Instructor

From Valve Developer Community
Jump to: navigation, search
Icon-message-48px.png
This is the discussion page of Adding the Game Instructor. To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.

Please contact the person who wrote the article to see if they can get a link up with the material files. --Gamerzlog11 (talk) 03:00, 28 May 2019

HELP about the event

were should i paste this code ?

IGameEvent *pEvent = gameeventmanager->CreateEvent("instructor_primaryattack");
if (pEvent)
{
	pEvent->SetInt("userid", GetUserID());
	gameeventmanager->FireEvent(pEvent);
}

--SADFI2259X (talk) 15:07, 7 Feb 2023