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
Help Archive
Threaded Mode
Phonebook
borba
Little Clucker
Posts: 14
Threads: 5
Joined: Apr 2011
Reputation:
0
#1
24.04.2011, 15:44
(
Последний раз редактировалось borba; 24.04.2011 в 16:00. Причина: solved by myself.
)
Solved.
Find
Reply
Anteino
Big Clucker
Posts: 133
Threads: 26
Joined: Dec 2010
Reputation:
0
#2
24.04.2011, 15:57
Well with strfind you look for a string in another string, so if you search "text" in "this is some text.. etc" it will return true. Instead you should use strcmp:
pawn Код:
if
(
strcmp
(
givenplayername, inputtext, false
)
==
0
)
{
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: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive