uf.inc
#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


Messages In This Thread
uf.inc - by Osamakurdi - 04.01.2018, 13:16
Re: uf.inc - by RogueDrifter - 04.01.2018, 13:24
Re: uf.inc - by Osamakurdi - 04.01.2018, 13:29
Re: uf.inc - by RogueDrifter - 04.01.2018, 13:30
Re: uf.inc - by Osamakurdi - 04.01.2018, 13:33
Re: uf.inc - by SyS - 04.01.2018, 15:57
Re: uf.inc - by RogueDrifter - 04.01.2018, 15:58
Re: uf.inc - by Marshall32 - 06.01.2018, 14:29
Re: uf.inc - by RogueDrifter - 06.01.2018, 14:31
Re: uf.inc - by Marshall32 - 06.01.2018, 14:33

Forum Jump:


Users browsing this thread: 1 Guest(s)