Starting to get pissed...Menu help (cant select while in vehicle)
#1

Why is it that most of the time I cannot select a menu item while in a car. WTF is going on?

Is there a particular bug that causes this? The menu loads and everything just fine, but if im in a vehicle I can scroll thru the items but CANT SELECT anything. On foot...I can select items in the menu just fine.

I don't understand this. Other servers let you select menu items while in a vehicle...why won't mine? I don't have ANYTHING that checks if the player is in a vehicle in regards to menus (ie nothing on OnPlayerSelectedMenuRow or OnPlayerExitedMenu) so....what in the HELL is going on.

I've tried re-downloading the compiler as well. No change.
Reply
#2

Did you created the menu correctly? I had a problem that it skipped menu's :/

Or show me the create menu's lines
Reply
#3

It never happened to me.
Reply
#4

Quote:
Originally Posted by TheATheBTheC..
Did you created the menu correctly? I had a problem that it skipped menu's :/

Or show me the create menu's lines
Will NOT let you select while in a vehicle:
Код:
	WheelsM = CreateMenu("WheelsM",1,125,150,200);
	if(IsValidMenu(WheelsM)) {
		AddMenuItem(WheelsM,0,"Off-Road"); //1025
		AddMenuItem(WheelsM,0,"Shadow"); //1073
		AddMenuItem(WheelsM,0,"Mega");//1074
		AddMenuItem(WheelsM,0,"Rimshine");//1075
		AddMenuItem(WheelsM,0,"Wires");//1076
		AddMenuItem(WheelsM,0,"Classic");//1077
		AddMenuItem(WheelsM,0,"Twist");//1078
 		AddMenuItem(WheelsM,0,"Cutter");//1079
		AddMenuItem(WheelsM,0,"Switch");//1080
		AddMenuItem(WheelsM,0,"MORE WHEELS");
	}
	Wheels2M = CreateMenu("Wheels2M",1,125,150,200);
	if(IsValidMenu(Wheels2M)) {
		AddMenuItem(Wheels2M,0,"Grove");//1081
		AddMenuItem(Wheels2M,0,"Import");//1082
		AddMenuItem(Wheels2M,0,"Dollar");//1083
		AddMenuItem(Wheels2M,0,"Trance");//1084
		AddMenuItem(Wheels2M,0,"Atomic");//1085
		AddMenuItem(Wheels2M,0,"Ahab");//1096
		AddMenuItem(Wheels2M,0,"Virtual");//1097
		AddMenuItem(Wheels2M,0,"Access");//1098
		AddMenuItem(Wheels2M,0,"MORE WHEELS");
	}

WILL let you select while in car (not my code):
Код:
	Wheels1 = CreateMenu("TuningMenu",1,20,120,150,40);
	SetMenuColumnHeader(Wheels1,0,"Wheels");
	AddMenuItem(Wheels1,0,"Trance");
	AddMenuItem(Wheels1,0,"Shadow");
	AddMenuItem(Wheels1,0,"Rimshine");
	AddMenuItem(Wheels1,0,"Classic");
	AddMenuItem(Wheels1,0,"Cutter");
	AddMenuItem(Wheels1,0,"Switch");
	AddMenuItem(Wheels1,0,"Dollar");
	AddMenuItem(Wheels1,0,"Main Menu");
As I said menus display just fine, but the top one (mine) won't let you select anything if you are in a vehicle. If tested with toggling the person controllable/not controllable...makes no difference.
Reply
#5

I am not sure but your createmenu is missing a parameter? Or maybe the WheelsM in your createmenu is bugging the variable WheelsM?(I had that with something, don't know if it was exactly like this)
Reply
#6

This happens to me 10000 times hehe

only press w instead of space...
Reply
#7

When player controllable toggle use W, otherwise you can use SPACE without problems.
Reply
#8

Shit. I did not read the 3rd post.
Reply
#9

The select menu key may be different when your in a vehicle, check your controls.
Reply
#10

Quote:
Originally Posted by Norn
The select menu key may be different when your in a vehicle, check your controls.
But he has used TogglePlayerControlable so that cant be it
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)