onplayerpicukup...
#2

If player is not near any house, you return -10, so basically in that if you are saying:

pawn Код:
if(pickupid == hpickup[-10])
The index of an array can't be negative.

Just verify if ClosestHouse(playerid)<0 return 1;
Reply


Messages In This Thread
onplayerpicukup... - by n00el - 21.05.2014, 19:15
Re: onplayerpicukup... - by Koala818 - 21.05.2014, 19:25
Re: onplayerpicukup... - by n00el - 21.05.2014, 19:49
Re: onplayerpicukup... - by n00el - 21.05.2014, 19:55
Re: onplayerpicukup... - by EgyptForLife - 21.05.2014, 20:00
Re: onplayerpicukup... - by iZN - 21.05.2014, 20:03

Forum Jump:


Users browsing this thread: 1 Guest(s)