Script problem (/guide takes you to wrong place)
#1

Well when you do /guide and press "CellPhone Company" it takes you to the black market and that's the only problem I have
Here's the script
Код:
Guide2M = CreateMenu("Locations", 1, 50.0, 180.0, 200.0, 200.0);
	AddMenuItem(Guide2M, 0, "Driver License Place (DMV)");
	AddMenuItem(Guide2M, 0, "Police Station");
	AddMenuItem(Guide2M, 0, "Gas Station");
	AddMenuItem(Guide2M, 0, "Materials Factory");
	AddMenuItem(Guide2M, 0, "Black Market");
	AddMenuItem(Guide2M, 0, "Cellphone Company");
	AddMenuItem(Guide2M, 0, "Exit");
That's all the comes out when I try searching "Cellphone Company" and I need to edit the location to
Код:
 AddPlayerClass(240,1631.7738,-1166.0717,24.0781,184.8052,0,0,0,0,0,0); // Cell Phone
Here's the IP to test it 174.34.131.138:7777
Reply
#2

If you're using 0.3a or 0.3b you have the simpler dialog system. Unfortunately menus were before my time as a scripter. So I cannot do more then say "Use Dialogs!".
Reply
#3

Got fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)