Talk:Adding the Game Instructor: Difference between revisions
Jump to navigation
Jump to search
Dr. Orange (talk | contribs) m (unsigned) |
SADFI2259X (talk | contribs) (→HELP about the event: new section) |
||
Line 1: | Line 1: | ||
Please contact the person who wrote the article to see if they can get a link up with the material files. <small>—[[Wikipedia:Wikipedia:Signatures|Unsigned]] comment added by [[User:Gamerzlog11|Gamerzlog11]] ([[User talk:Gamerzlog11|talk]] • [[Special:Contributions/Gamerzlog11|contribs]]). Please use four tildes (<code><nowiki>~~~~</nowiki></code>) to sign your username.</small><!-- Template:Unsigned --> | Please contact the person who wrote the article to see if they can get a link up with the material files. <small>—[[Wikipedia:Wikipedia:Signatures|Unsigned]] comment added by [[User:Gamerzlog11|Gamerzlog11]] ([[User talk:Gamerzlog11|talk]] • [[Special:Contributions/Gamerzlog11|contribs]]). Please use four tildes (<code><nowiki>~~~~</nowiki></code>) to sign your username.</small><!-- Template:Unsigned --> | ||
== 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); | |||
} |
Revision as of 08:07, 7 February 2023
Please contact the person who wrote the article to see if they can get a link up with the material files. —Unsigned comment added by Gamerzlog11 (talk • contribs). Please use four tildes (~~~~
) to sign your username.
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); }