View Single Post
  #1  
Old 11-09-2011, 01:10 AM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
Limiting options

Okay, so I have this lovely GUI I'm working on, everything works wonders, except this one issue. I want to limit what a player can enter in the GuiTextEditCtrl.

This is the only thing I've been able to get working..
PHP Code:
if (! (UserPrice.text == "Offer")) {
  return;

I only want the following text order to be allowed, other than offer:
PHP Code:
this.format "$" amount "k"
How would I go about do something like this?
__________________

Last edited by Tim_Rocks; 11-09-2011 at 01:38 AM..
Reply With Quote