24.06.2011, 13:39
1. Wtf is "IsPlayerAroundNapalm"?
2. Try this:
2. Try this:
pawn Код:
IsPlayerAroundFire(playerid)
{
for(new f; f < 21; f++)
{
new Float:oPosition[3];
GetObjectPos(gServerData[E_FIRE][f], oPosition[0], oPosition[1], oPosition[2]);
return IsPlayerInRangeOfPoint(playerid, 3.0, oPosition[0], oPosition[1], oPosition[2]);
}
}