na nállam tudom mi a gond 2 warning :S
csak nem tom javitani nem tom milehet
D:\\Black World SunWell\\gamemodes\\gangwar.pwn(19112) : warning 208: function with tag result used before definition, forcing reparse
D:\\Black World SunWell\\gamemodes\\gangwar.pwn(19128) : warning 208: function with tag result used before definition, forcing reparse
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
És itt az a rész::
Float:ReturnPlayerAngle(playerid){
new Float:Ang;
if(IsPlayerInAnyVehicle(playerid))GetVehicleZAngle(GetPlayerVehicleID(playerid), Ang); else GetPlayerFacingAngle(playerid, Ang);
return Ang;
}
forward AngleUpdate();
public AngleUpdate(){
for(new g=0;g<200;g++){
new Float:x, Float:y, Float:z;
if(IsPlayerInAnyVehicle(g))GetVehiclePos(GetPlayerVehicleID(g), x, y, z); else GetPlayerPos(g, x, y, z);
ppos[g][0] = x;
ppos[g][1] = y;
ppos[g][2] = z;
}
}
stock Float:GetPlayerTheoreticAngle(i)
PROBLÉMA MEGOLDVA :d zÁROK