10.11.2010, 04:13
no it wont coz false = 0 and 0 is a biz id
how about this
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;
}