uf.inc
#1

Where I can find this include i've searched everywhere but i found nothing ..
please if you have just upload it for me , thanks.
Reply
#2

beep.
Reply
#3

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
beep.
My Complier crash why?
Reply
#4

Quote:
Originally Posted by Osamakurdi
Посмотреть сообщение
My Complier crash why?
Idk i found that somewhere its pretty old give me 5 minutes i will take a look at it and fix it for you.
Reply
#5

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
Idk i found that somewhere its pretty old give me 5 minutes i will take a look at it and fix it for you.
Thanks
Reply
#6

Remove this part from the include
PHP код:
public GetVehicleZAngle(vehicleid//By Sacky
{
new 
Float:x;
new 
Float:y;
new 
Float:z;
if(
IsVehicleInUse(vehicleid)){
new 
vdid VehicleDriverID(vehicleid);
GetPlayerPos(vdid,x,y,z);
new 
Float:cx SavePlayerPos[vdid][LastX];
new 
Float:cy y;
new 
adj GetPointDistanceToPoint(SavePlayerPos[vdid][LastX],SavePlayerPos[vdid][LastY],cx,cy);
new 
opp GetPointDistanceToPoint(x,y,cx,cy);
new 
Float:rad itan(opp,adj);
new 
ang RadiansToDegrees(rad);
return 
ang;
}

its already defined in a_samp

Note: By reading the code this include is really outdated and i won't recommend you to use it...
Reply
#7

Quote:
Originally Posted by SyS
Посмотреть сообщение
Remove this part from the include
PHP код:
public GetVehicleZAngle(vehicleid//By Sacky
{
new 
Float:x;
new 
Float:y;
new 
Float:z;
if(
IsVehicleInUse(vehicleid)){
new 
vdid VehicleDriverID(vehicleid);
GetPlayerPos(vdid,x,y,z);
new 
Float:cx SavePlayerPos[vdid][LastX];
new 
Float:cy y;
new 
adj GetPointDistanceToPoint(SavePlayerPos[vdid][LastX],SavePlayerPos[vdid][LastY],cx,cy);
new 
opp GetPointDistanceToPoint(x,y,cx,cy);
new 
Float:rad itan(opp,adj);
new 
ang RadiansToDegrees(rad);
return 
ang;

its already defined in a_samp
There's more than that, that file i mentioned is fucked up and UF.INC is nowhere to be found.
Reply
#8

Quote:
Originally Posted by SyS
Посмотреть сообщение
Remove this part from the include
PHP код:
public GetVehicleZAngle(vehicleid//By Sacky
{
new 
Float:x;
new 
Float:y;
new 
Float:z;
if(
IsVehicleInUse(vehicleid)){
new 
vdid VehicleDriverID(vehicleid);
GetPlayerPos(vdid,x,y,z);
new 
Float:cx SavePlayerPos[vdid][LastX];
new 
Float:cy y;
new 
adj GetPointDistanceToPoint(SavePlayerPos[vdid][LastX],SavePlayerPos[vdid][LastY],cx,cy);
new 
opp GetPointDistanceToPoint(x,y,cx,cy);
new 
Float:rad itan(opp,adj);
new 
ang RadiansToDegrees(rad);
return 
ang;
}

its already defined in a_samp

Note: By reading the code this include is really outdated and i won't recommend you to use it...
This ^ when native function get redefined in the code the compiler crashes (a_samp and then in uf) so removing that can fix your crash as SyS said..

Also me neither recommends that outdated include
Reply
#9

Quote:
Originally Posted by Marshall32
Посмотреть сообщение
This ^ when native function get redefined in the code the compiler crashes (a_samp and then in uf) so removing that can fix your crash as SyS said..

Also me neither recommends that outdated include
It won't! the uf.inc file i mentioned is really messed up and has much much more errors beyond the redefenition of getvehiclezangle i already tried, the solution is to ether look for another uf.inc or simply dumb it.
Reply
#10

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
It won't! the uf.inc file i mentioned is really messed up and has much much more errors beyond the redefenition of getvehiclezangle i already tried, the solution is to ether look for another uf.inc or simply dumb it.
it does fixes crash dude...i just tried it myself.. Not talking about errors and warning but crash..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)