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
Threaded Mode
0 Problem
Ugaustin
Huge Clucker
Posts: 307
Threads: 88
Joined: Feb 2015
Reputation:
0
#1
08.06.2015, 21:41
can I make a thing to disallow first number 0 .. so people cant use 0 as first number..please help!!!!!fast
Find
Reply
KillerDVX
Banned
Posts: 561
Threads: 27
Joined: Sep 2012
#2
08.06.2015, 22:20
Didn't understand,
Could you explain more ?
Find
Reply
Threshold
High-roller
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
#3
09.06.2015, 03:19
Well yes... just check if the first element is 0.
pawn Код:
if
(
params
[
0
]
==
'0'
)
// The first number was 0.
This is an example, but if it's not what you're looking for, then I suggest you post an example code.
Find
Reply
Ugaustin
Huge Clucker
Posts: 307
Threads: 88
Joined: Feb 2015
Reputation:
0
#4
09.06.2015, 19:01
thanks everybody .. best forum samp.com!!
Find
Reply
Ugaustin
Huge Clucker
Posts: 307
Threads: 88
Joined: Feb 2015
Reputation:
0
#5
09.06.2015, 19:06
fixed!
Find
Reply
Konstantinos
Spam Machine
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
#6
09.06.2015, 19:10
it's
==
, not =.
Find
Reply
Ugaustin
Huge Clucker
Posts: 307
Threads: 88
Joined: Feb 2015
Reputation:
0
#7
09.06.2015, 19:11
yes
thanks
Find
Reply
«
Next Oldest
|
Next Newest
»
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: 3 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help