Near a object
#1

So I'm attempting to make a /pickup command. I have placed objects in a place.

I have tried this, and it crashes the server.
pawn Код:
for(new i; i < 31; i++)
                {
                    if(IsPlayerInRangeOfPoint(playerid, 2.0, item[i]))
                    {
I have tried this
pawn Код:
for(new i; i < 31; i++)
                {
                    if(IsPlayerNearObject(playerid, item[i], 2))
It says you're not near anything to pickup.


Anyone help me out with this?
Reply


Messages In This Thread
Near a object - by Oh - 17.01.2012, 22:30
Re: Near a object - by Vince - 17.01.2012, 22:53
Re: Near a object - by Oh - 17.01.2012, 23:03
Re: Near a object - by Babul - 18.01.2012, 00:44
Re: Near a object - by Oh - 18.01.2012, 00:57
Re: Near a object - by Tannz0rz - 18.01.2012, 02:54

Forum Jump:


Users browsing this thread: 1 Guest(s)