Posts: 95
Threads: 31
Joined: Jul 2013
Reputation:
0
I downloaded a filterscript that contained a menu for some admin stuff. When i clicked on one of the things in the menu i was suprised that it took me to a car tuning menu that was in my gamemode. Is there a way i can stop making the admin menu from taking me to the car tuning menu without deleting the car tuning menu?.
Posts: 95
Threads: 13
Joined: Jan 2008
Reputation:
0
Are these actual menus? Textdraws or a dialog?
Posts: 95
Threads: 13
Joined: Jan 2008
Reputation:
0
That's not a problem. What you need to do is change the dialog ID of either the gamemode or the filterscript. I advice to change the filterscript one.
What you need to do is check OnDialogResponse and find the dialog ID then change all instances of the dialog ID to something not used - especially ShowPlayerDialog.
Posts: 95
Threads: 13
Joined: Jan 2008
Reputation:
0
Yes then change the same number from any instances of ShowPlayerDialog.
Posts: 95
Threads: 13
Joined: Jan 2008
Reputation:
0
Make sure you also change the dialog ID in OnDialogResponse as well.
ShowPlayerDialog sends an ID to OnDialogResponse which determines the response.