Can someone help me?
#12

Quote:
Originally Posted by The_Moddler
Посмотреть сообщение
pawn Код:
stock IsPlayerNearBiz(playerid)
{
    for(new C; C < IDBiz+1; C++)
    {
        if(IsPlayerInRangeOfPoint(playerid, 2.0, GetPVarFloat(C,"PickupX"),GetPVarFloat(C,"PickupY"), GetPVarFloat(C,"PickupZ")))
        {
            return C;
        }
        else
        {
            return -1;
        }
    }
}
Also this code is stupid.
If a player is not near a biz ID 1, the loop ends..
Reply


Messages In This Thread
Can someone help me? - by [H]265 - 07.11.2010, 20:58
Re: Can someone help me? - by The_Moddler - 07.11.2010, 21:11
Re: Can someone help me? - by [H]265 - 07.11.2010, 21:28
Re: Can someone help me? - by Scott - 07.11.2010, 22:46
Re: Can someone help me? - by [H]265 - 08.11.2010, 08:34
Re: Can someone help me? - by [H]265 - 08.11.2010, 13:03
Re: Can someone help me? - by [H]265 - 09.11.2010, 12:23
Re: Can someone help me? - by lameguy - 09.11.2010, 20:46
Re: Can someone help me? - by (SF)Noobanatior - 10.11.2010, 04:13
Re: Can someone help me? - by [H]265 - 17.11.2010, 12:22
Re: Can someone help me? - by [H]265 - 18.11.2010, 11:32
Re: Can someone help me? - by wups - 18.11.2010, 12:16
Re: Can someone help me? - by [H]265 - 18.11.2010, 12:31
Re: Can someone help me? - by [H]265 - 18.11.2010, 18:27
Re: Can someone help me? - by MadeMan - 18.11.2010, 18:55
Re: Can someone help me? - by [H]265 - 18.11.2010, 18:56
Re: Can someone help me? - by MadeMan - 18.11.2010, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)