Advertisement
Samatter

CCFE

Nov 30th, 2021 (edited)
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None
  1. Event OnInit()
  2. RegisterNewModEvent("MyCommandName", "MCN", "MyPersonalEvent")
  3. EndEvent
  4.  
  5. Event OnPlayerLoadGame()
  6. RegisterNewModEvent("MyCommandName", "MCN", "MyPersonalEvent")
  7. EndEvent
  8.  
  9. Event MyPersonalEvent(String EventName, String sArgument, Float fArgument, Form Sender)
  10. String[] CommandArray = StringUtil.Split(sArgument, " ")
  11. ; event body here
  12. EndEvent
Advertisement
RAW Paste Data Copied
Advertisement