Several Warnings
#9

Try this:
pawn Код:
forward IsPlayerCloseToMarker(playerid,Float:markx,Float:marky,Float:markz,Float:distance);
public IsPlayerCloseToMarker(playerid,Float:markx,Float:marky,Float:markz,Float:distance) {
    new Float:markx,Float:marky,Float:markz,Float:distance;
    if(GetDistanceBetweenPlayerToPoint(playerid,markx,marky,markz) < distance) { return 1; }
    else if(GetDistanceBetweenPlayerToPoint(playerid,markx,marky,markz) > distance) { return 0; }
    return 0;
}
It should remove those 2 warnings.
Reply


Messages In This Thread
Several Warnings - by nuriel8833 - 29.02.2012, 15:29
Re: Several Warnings - by emokidx - 29.02.2012, 15:37
Re: Several Warnings - by nuriel8833 - 29.02.2012, 15:39
Re: Several Warnings - by emokidx - 29.02.2012, 15:42
AW: Several Warnings - by Drebin - 29.02.2012, 15:42
Re: AW: Several Warnings - by nuriel8833 - 29.02.2012, 15:58
AW: Re: AW: Several Warnings - by Drebin - 29.02.2012, 17:10
Re: AW: Re: AW: Several Warnings - by nuriel8833 - 29.02.2012, 18:21
Re: Several Warnings - by Joey^ - 29.02.2012, 18:35
Re: Several Warnings - by T0pAz - 01.03.2012, 11:45

Forum Jump:


Users browsing this thread: 1 Guest(s)