Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Never return inside a loop! I need to say this again and again. You can't possibly know if the player isn't in range before having checked all of them.
Posts: 449
Threads: 125
Joined: Apr 2013
Reputation:
0
So i should remove the "else return SCM(playerid, -1, "You are too far away from the TrashMaster!");" ?
Posts: 843
Threads: 61
Joined: Feb 2013
Reputation:
0
I can't understand why your topics are named like "easy problem", and "rep +" all the time? If they are easy, why don't you solve them?
Please write normal, descriptive names next time.