Run time error 4: "Array index out of bounds"
#2

For the line caused the run time error: https://github.com/Zeex/samp-plugin-...ith-debug-info

You assign to houseId the value of P_TEMP[playerid][tmphouse]. If IsPlayerOutHouse returns 0 (just a theory), it will never assign the new value and houseId will still be -1.
Reply


Messages In This Thread
Run time error 4: "Array index out of bounds" - by Brandon_More - 10.05.2014, 17:40
Re: Run time error 4: "Array index out of bounds" - by Konstantinos - 10.05.2014, 17:45
Re: Run time error 4: "Array index out of bounds" - by Brandon_More - 10.05.2014, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)