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
Comparing value of a string with another number
mamorunl
High-roller
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
#2
25.10.2012, 21:34
Since when is a Z position saved in a String? You can just compare them with if(val1==val2) (unless it really is a String. Then just use floatval() or strval() I can't remember. In PHP it is floatval())
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Comparing value of a string with another number
- by
GTXcube
- 25.10.2012, 21:25
Re: Comparing value of a string with another number
- by
mamorunl
- 25.10.2012, 21:34
Re: Comparing value of a string with another number
- by
ReneG
- 25.10.2012, 22:08
Re: Comparing value of a string with another number
- by
GTXcube
- 26.10.2012, 12:47
Re: Comparing value of a string with another number
- by
GTXcube
- 26.10.2012, 13:41
Re: Comparing value of a string with another number
- by
GTXcube
- 27.10.2012, 15:08
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