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
Checking if a string is empty, shouldn't this do it?
Dokins
Banned
Posts: 1,648
Threads: 482
Joined: Jun 2010
#1
10.05.2015, 23:55
pawn Код:
if
(
strcmp
(
password, inputtext, false
)
==
0
)
{
I may be ill informed, but shouldn't a returned 0 strcmp return 0?
If I hit enter, it allows access to the server without a password! (MAJOR EXPLOIT!)
Thanks for any assistance.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Checking if a string is empty, shouldn't this do it?
- by
Dokins
- 10.05.2015, 23:55
Re: Checking if a string is empty, shouldn't this do it?
- by
ChromeAmazing
- 11.05.2015, 00:09
Re: Checking if a string is empty, shouldn't this do it?
- by
Abagail
- 11.05.2015, 00:20
Re: Checking if a string is empty, shouldn't this do it?
- by
MP2
- 11.05.2015, 00:33
Re: Checking if a string is empty, shouldn't this do it?
- by
Dokins
- 11.05.2015, 00:49
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