Talk:Adding the Game Instructor: Difference between revisions
Jump to navigation
Jump to search
(automatically edit) |
No edit summary |
||
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 --> | |||
== HELP about the event == | == HELP about the event == | ||
were should i paste this code ? | |||
IGameEvent *pEvent = gameeventmanager->CreateEvent("instructor_primaryattack"); | |||
if (pEvent) | |||
IGameEvent *pEvent = gameeventmanager->CreateEvent("instructor_primaryattack"); | { | ||
if (pEvent) | pEvent->SetInt("userid", GetUserID()); | ||
{ | gameeventmanager->FireEvent(pEvent); | ||
} | |||
Revision as of 19:29, 17 June 2024
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); }