13.01.2013, 16:50
The first means, that you don't have that callback. Like
Add this at the bottom:
And show lines 1720 to 1740.
pawn Код:
forward FixHour(tmphour);
// This is missing
public FixHour(tmphour)
{
// code;
}
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;
}

