HELPPP!!
#4

The first means, that you don't have that callback. Like
pawn Код:
forward FixHour(tmphour);

// This is missing
public FixHour(tmphour)
{
    // code;
}
Add this at the bottom:
pawn Код:
forward PlayerToPoint(playerid, Float: radius, Float: x, Float: y, Float: z);
public PlayerToPoint(playerid, Float: radius, 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 < radius) && (tempposx > -radius)) && ((tempposy < radius) && (tempposy > -radius)) && ((tempposz < radius) && (tempposz > -radius)))
    {
        return 1;
    }
   
    return 0;
}
And show lines 1720 to 1740.
Reply


Messages In This Thread
HELPPP!! - by Gold_Master - 13.01.2013, 16:21
Re: HELPPP!! - by zJordioz - 13.01.2013, 16:22
Re: HELPPP!! - by Gold_Master - 13.01.2013, 16:45
Re: HELPPP!! - by Konstantinos - 13.01.2013, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)