17.01.2012, 22:30
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.
I have tried this
It says you're not near anything to pickup.
Anyone help me out with this?
I have tried this, and it crashes the server.
pawn Код:
for(new i; i < 31; i++)
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, item[i]))
{
pawn Код:
for(new i; i < 31; i++)
{
if(IsPlayerNearObject(playerid, item[i], 2))
Anyone help me out with this?