Ulysses Stuff > General Chat & Help and Support

BINDINGS

(1/1)

darkdeath:
ok another question becouse i am working on a big project to make a cool plugin for ulx... and update to 2.0 if its out...
i wan't to know how to make this code below right:


--- Quote ---      if _GetConVar_Bool( "bind slot" ) then
         addOption( userid, "Bind 1/2/3/4/5/6/7/8 to 1/2/3/4/5/6/7/8", "bind 1 slot1", "bind 2 slot2", "bind 3 slot3", "bind 4 slot4", "bind 5 slot5", "bind 6 slot6", "bind 7 slot7", "bind 8 slot8", ACCESS_CVAR )   
      else
         addOption( userid, "Bind 1/2/3/4/5/6/7/8 to 1/2/3/4/5/6/7/8", "bind 1 slot1", "bind 2 slot2", "bind 3 slot3", "bind 4 slot4", "bind 5 slot5", "bind 6 slot6", "bind 7 slot7", "bind 8 slot8", ACCESS_CVAR )   
      end
--- End quote ---

how to set it like this:
Bind On

so that key 7 will work as an option to choose...
its not bad if there is only a on button it don't have to be set as off
only on..

thx in forward...
i think ULX U GUY ROCK !...
ure cool becouse i always get an answer !

Megiddo:
You can't execute client commands, only server commands

darkdeath:
thx man :) ;D
now i know more

Navigation

[0] Message Index

Go to full version