Tockra Posted May 2, 2010 Posted May 2, 2010 Hello Guys, i fixxed all my least problems but i have a problem/question with/about Gameguids... I want create a Edit Box in which i cant writte only numbers (integer). Is this doable? And if i writte in my EditBox the Word "Tockra" the game open the chat by the"T" of Tockra, how can i disable it ? I hope you can help me...
Remp Posted May 2, 2010 Posted May 2, 2010 guiSetInputEnabled will stop 't' from opening the chat box (and other things) To only allow numbers in an edit box, i think you would need to check the text in onClientGUIChanged and remove anything that isnt a number yourself
Tockra Posted May 2, 2010 Author Posted May 2, 2010 guiSetInputEnabled will stop 't' from opening the chat box (and other things)To only allow numbers in an edit box, i think you would need to check the text in onClientGUIChanged and remove anything that isnt a number yourself Ah thx One other question, how can i kick a player about a client side script?
dzek (varez) Posted May 2, 2010 Posted May 2, 2010 trigger event handler to server, then server should kick player
Tockra Posted May 3, 2010 Author Posted May 3, 2010 trigger event handler to server, then server should kick player ? How? I found no client side command or event to kick a player
dzek (varez) Posted May 3, 2010 Posted May 3, 2010 trigger event handler to server, then server should kick player ? How? I found no client side command or event to kick a player i told you to TRIGGER SERVER event.. -- click function name to go to the wiki for help -- on the serverside you need: addEvent addEventHandler -- on the clientside you need: triggerServerEvent
Tockra Posted May 3, 2010 Author Posted May 3, 2010 real? I have no idea how. Your example is a little bit emptyy.
Jason_Gregory Posted May 3, 2010 Posted May 3, 2010 Its not a example dude its a Request Theres a good example at Wiki, try it BEFORE asking for existing examples
Tockra Posted May 3, 2010 Author Posted May 3, 2010 Its not a example dude its a Request Theres a good example at Wiki, try it BEFORE asking for existing examples okey then tell me how i can find an good example in the wiki, because i have no idea how i can make it, because this i ask you ^^
dzek (varez) Posted May 3, 2010 Posted May 3, 2010 Its not a example dude its a Request Theres a good example at Wiki, try it BEFORE asking for existing examples okey then tell me how i can find an good example in the wiki, because i have no idea how i can make it, because this i ask you ^^ i told you.. CLICK on the function names in posts above.. or here -- CLICK BELOW VVV triggerServerEvent -- CLICK ABOVE ^^^
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now