Posts: 418
Threads: 167
Joined: Sep 2010
Reputation:
0
i need help from you guys
how i can make /tune command when enter car for example sultan only show you the componets for sultan only and hide other not show all MenuItem help!
Posts: 144
Threads: 10
Joined: Mar 2010
Reputation:
0
Use an if statement that checks if the vehicle model of the player's vehicle is the same as the Sultan's model, then add the menu with the specific components to it. I assume that is what you want to achieve.
Posts: 418
Threads: 167
Joined: Sep 2010
Reputation:
0
how i can do this with this code :
Exhausts = CreateMenu("TuningMenu",1,20,120,150,40);
SetMenuColumnHeader(Exhausts,0,"Exhausts");
AddMenuItem(Exhausts,0,"Wheel Arch Alien Exhaust");
AddMenuItem(Exhausts,0,"Wheel Arch X-Flow Exhaust");
AddMenuItem(Exhausts,0,"Locos Low Chromer Exhaust");