evo ovaj warning me dugo muci a ne znam kako ga rijesit
C:\Documents and Settings\x\Desktop\x.pwn(31309) : warning 208: function with tag result used before definition, forcing reparse
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
evo te linije 31309
stock Float:GetXYInFrontOfPlayer(playerid, &Float:x, &Float:y, Float:distance)
{
new Float:a;
GetPlayerPos(playerid, x, y, a);
if (IsPlayerInAnyVehicle(playerid))
GetVehicleZAngle(GetPlayerVehicleID(playerid), a);
else
GetPlayerFacingAngle(playerid, a);
x += (distance * floatsin(-a, degrees));
y += (distance * floatcos(-a, degrees));
return a;
}
znam da warning nista ne smeta,ali zelim da mi mod bude bez warninga i errora ;D
forward Float:GetXYInFrontOfPlayer(playerid, &Float:x, &Float:y, Float:distance);
e hvala ti puno thumbsup ,nije mi to palo na pamet LOCK