04.11.2010, 14:52
Hey im having a little problem with a menu system.
MenuGas = CreateMenu("GasStation",2,25.0,200.0,105.0,0.0);
AddMenuItem(MenuGas,0,"Fuel");
AddMenuItem(MenuGas,0,"Fix");
AddMenuItem(MenuGas,0,"Exit");
Now this seems to work perfect when it has the
TogglePlayerControllable(playerid,true); & TogglePlayerControllable(playerid,false);
But i didnt want to have it so the player was frozen as i noticed a bug when i made the checkpoint shorter that if
you drive into the cricle but dont stop on time and go past it shows the menu then closes it but keeps you frozen with only being able to exit the game.
When i change all to (playerid,false); you could only select which option you wanted but not able to apply it so im just wondering is the anyway to remove that so i can drive in and out of the checkpoint without being frozen and the options still work.
Thanks - B.S
MenuGas = CreateMenu("GasStation",2,25.0,200.0,105.0,0.0);
AddMenuItem(MenuGas,0,"Fuel");
AddMenuItem(MenuGas,0,"Fix");
AddMenuItem(MenuGas,0,"Exit");
Now this seems to work perfect when it has the
TogglePlayerControllable(playerid,true); & TogglePlayerControllable(playerid,false);
But i didnt want to have it so the player was frozen as i noticed a bug when i made the checkpoint shorter that if
you drive into the cricle but dont stop on time and go past it shows the menu then closes it but keeps you frozen with only being able to exit the game.
When i change all to (playerid,false); you could only select which option you wanted but not able to apply it so im just wondering is the anyway to remove that so i can drive in and out of the checkpoint without being frozen and the options still work.
Thanks - B.S