david1337hax

PC NonHost Kick (für Daniel)

Jul 13th, 2018
560
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. //look for trigger value in the fm_race_controler.c decompiled scripts
  2.  
  3. char nonh_str = "Kick NonHost"
  4. union trig_arg { unsigned int p0; float f; int i; char *str; };
  5.  
  6. if(Menu::Option(nonh_str)) {
  7. int CEventGroupScriptNetwork = 1;
  8. int args = 0; //?
  9. int eventtype = 0; //?
  10. unsigned int pB = ( 1 << GET_PLAYER_PED(selectedPlayer) );
  11. trig_arg goto_argument[3] = { args , GET_PLAYER_PED(selectedPlayer) , eventtype };
  12. TRIGGER_SCRIPT_EVENT(CEventGroupScriptNetwork , goto_argument, 3 , pB);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment