Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Linear Mode
Best way to detect if players entered text is only digits?
Stinged
High-roller
Posts: 1,578
Threads: 15
Joined: Feb 2013
Reputation:
0
#6
01.08.2016, 21:21
This would work, if you're using sscanf
Код:
if (sscanf(string, "{i}")) // string is not all numbers
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Best way to detect if players entered text is only digits?
- by
Type-R
- 01.08.2016, 20:38
Re: Best way to detect if players entered text is only digits?
- by
PrO.GameR
- 01.08.2016, 20:46
Re: Best way to detect if players entered text is only digits?
- by
Shinja
- 01.08.2016, 20:47
Re: Best way to detect if players entered text is only digits?
- by
Misiur
- 01.08.2016, 20:47
Re: Best way to detect if players entered text is only digits?
- by
Vince
- 01.08.2016, 21:08
Re: Best way to detect if players entered text is only digits?
- by
Stinged
- 01.08.2016, 21:21
Re: Best way to detect if players entered text is only digits?
- by
Luicy.
- 01.08.2016, 21:43
Re: Best way to detect if players entered text is only digits?
- by
Stinged
- 01.08.2016, 21:46
Re: Best way to detect if players entered text is only digits?
- by
NaS
- 02.08.2016, 04:24
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help