Can someone help me?
#9

no it wont coz false = 0 and 0 is a biz id

how about this
pawn Код:
stock IsPlayerNearBiz(playerid){
    new test =-1;
    for(new C; C <= IDBiz; C++)    {
        if(IsPlayerInRangeOfPoint(playerid, 2.0, GetPVarFloat(C,"PickupX"),GetPVarFloat(C,"PickupY"), GetPVarFloat(C,"PickupZ")))        {
            test = C;
            break;
        }
    }
    return test;
}
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)