Pomoc

Započeo Obrisan korisnik
21. Avg. 2009.
997
pregleda
3
postova
Deleted User
Obrisan korisnik
21. Avg. 2009.
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 😁
Deleted User
Obrisan korisnik
21. Avg. 2009.
forward Float:GetXYInFrontOfPlayer(playerid, &Float:x, &Float:y, Float:distance);
Deleted User
Obrisan korisnik
21. Avg. 2009.
e hvala ti puno 👍 ,nije mi to palo na pamet LOCK

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha