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
Getting House ID
Konstantinos
Spam Machine
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
#4
31.12.2016, 22:35
The problem is that you return 1 at the end of the function which is still a valid house index. Change it to -1 or some other invalid value but always check if the value is valid before using it in arrays.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Getting House ID
- by
mrcakke
- 31.12.2016, 21:29
Re: Getting House ID
- by
SoLetsGO
- 31.12.2016, 21:37
Re: Getting House ID
- by
mrcakke
- 31.12.2016, 21:51
Re: Getting House ID
- by
Konstantinos
- 31.12.2016, 22:35
Re: Getting House ID
- by
mrcakke
- 01.01.2017, 02:05
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