Weird character using strlen(inputtext)?
#3

Just want to mention that you probably would want to use the AND operator in your structure. If the player types something with length 120, that statement will still hold true because of the last part (> 0). Or use this, which is more straightforward:

pawn Код:
if(0 < strlen(inputtext) < 64)
Reply


Messages In This Thread
Weird character using strlen(inputtext)? - by mSlat3r - 09.11.2012, 00:32
Re: Weird character using strlen(inputtext)? - by [KHK]Khalid - 09.11.2012, 00:59
Re: Weird character using strlen(inputtext)? - by Vince - 09.11.2012, 05:10

Forum Jump:


Users browsing this thread: 1 Guest(s)