Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //look for trigger value in the fm_race_controler.c decompiled scripts
- char nonh_str = "Kick NonHost"
- union trig_arg { unsigned int p0; float f; int i; char *str; };
- if(Menu::Option(nonh_str)) {
- int CEventGroupScriptNetwork = 1;
- int args = 0; //?
- int eventtype = 0; //?
- unsigned int pB = ( 1 << GET_PLAYER_PED(selectedPlayer) );
- trig_arg goto_argument[3] = { args , GET_PLAYER_PED(selectedPlayer) , eventtype };
- TRIGGER_SCRIPT_EVENT(CEventGroupScriptNetwork , goto_argument, 3 , pB);
- }
Advertisement
Add Comment
Please, Sign In to add comment