Help Me With This Error.
#1

The Error Is

Quote:

Project Infinity GamerX\Project Infinity GamerX [UAS]\gamemodes\Angels.pwn(7517) : warning 208: function with tag result used before definition, forcing reparse

The Code Is

Quote:

stock Float:GetPosInFrontOfPlayer(playerid, &Float, &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;
}

Reply


Messages In This Thread
Help Me With This Error. - by GauthamIndia - 26.08.2012, 04:31
Re: Help Me With This Error. - by Akira297 - 26.08.2012, 04:33
Re: Help Me With This Error. - by GauthamIndia - 26.08.2012, 04:36

Forum Jump:


Users browsing this thread: 1 Guest(s)