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
Array Must be indexed, text
Walsh
Big Clucker
Posts: 189
Threads: 1
Joined: Feb 2012
Reputation:
0
#2
03.03.2012, 17:08
Код:
==
Is for comparisons on integer values, in this case text is a string, not an integer.
You would use strcmp.
pawn Код:
public
OnPlayerText
(
playerid, text
[
]
)
{
if
(
strcmp
(
text,NumberToWrite,true
)
==
0
)
{
}
return
1
;
}
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Array Must be indexed, text
- by
Larry123
- 03.03.2012, 17:04
Re: Array Must be indexed, text
- by
Walsh
- 03.03.2012, 17:08
Re: Array Must be indexed, text
- by
DarkScripter
- 03.03.2012, 17:11
Re: Array Must be indexed, text
- by
Larry123
- 03.03.2012, 17:15
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: 2 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help