using strtok to set a price
#1

Is it possible to use an strtok to set a price? I want my command "/bizforsale <price>" to work, but i dont want them to be able to do "/bizforsale <words here, not numbers>". Could someone help me do an if that wont crash the server?

like a
Код:
if (strval(tmp))
kind of thing? thanks. I tried but I cant seem to get it right.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)