[Help]0.3x Pawno errors
#2

Put this in your script

pawn Код:
stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
    new Float:oldposx, Float:oldposy, Float:oldposz;
    new Float:tempposx, Float:tempposy, Float:tempposz;
    GetPlayerPos(playerid, oldposx, oldposy, oldposz);
    tempposx = (oldposx -x);
    tempposy = (oldposy -y);
    tempposz = (oldposz -z);
    if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
    {
        return 1;
    }
    return 0;
}
You will need to forward the other functions
Reply


Messages In This Thread
[Help]0.3x Pawno errors - by Blade_Cervetti - 25.11.2009, 22:09
Re: [Help]0.3x Pawno errors - by hoodline - 25.11.2009, 22:33
Re: [Help]0.3x Pawno errors - by Blade_Cervetti - 25.11.2009, 23:36
Re: [Help]0.3x Pawno errors - by hoodline - 25.11.2009, 23:43
Re: [Help]0.3x Pawno errors - by Blade_Cervetti - 26.11.2009, 00:51
Re: [Help]0.3x Pawno errors - by hoodline - 26.11.2009, 01:35
Re: [Help]0.3x Pawno errors - by Blade_Cervetti - 26.11.2009, 01:44
Re: [Help]0.3x Pawno errors - by hoodline - 26.11.2009, 01:49
Re: [Help]0.3x Pawno errors - by Dark_Kostas - 26.11.2009, 06:05
Re: [Help]0.3x Pawno errors - by Joe Staff - 26.11.2009, 07:29

Forum Jump:


Users browsing this thread: 2 Guest(s)