Talk:Adding the Game Instructor

From Valve Developer Community
Jump to: navigation, search
Icon-message-48px.png
Welcome to Talk:Adding the Game Instructor!
This is the start of the Adding the Game Instructor discussion page.

To add a new message, click on "Add Topic/Reply" button below, and set the "Subject".
To add a Reply, do the same as above, but leave the "Subject" blank.
Icon-user.png
Empty.png
Gamerzlog113:00, 28 May 2019 (UTC)
Please contact the person who wrote the article to see if they can get a link up with the material files.

HELP about the event

Icon-user.png
Empty.png
SADFI2259X15:07, 7 February 2023 (UTC)
were should i paste this code ?
IGameEvent *pEvent = gameeventmanager->CreateEvent("instructor_primaryattack");
if (pEvent)
{
	pEvent->SetInt("userid", GetUserID());
	gameeventmanager->FireEvent(pEvent);
}