Returning Float in function
#2

PHP код:
stock Float:GetPlayerAimingPoint(playeridFloat:Angle

    new 
Float:XFloat:YFloat:Z//Float:Angle; 
    
GetPlayerPos(playeridXYZ); 
    
GetPlayerFacingAngle(playeridAngle); 
    
+= (floatsin(-Angledegrees)); 
    
+= (floatcos(-Angledegrees)); 
    return 
Angle;

Reply


Messages In This Thread
Returning Float in function - by Sanady - 16.10.2016, 18:07
Re: Returning Float in function - by Banana_Ghost - 16.10.2016, 18:09
Re: Returning Float in function - by Sanady - 16.10.2016, 18:12
Re: Returning Float in function - by SickAttack - 16.10.2016, 18:12
Re: Returning Float in function - by Banana_Ghost - 16.10.2016, 18:13
Re: Returning Float in function - by Sanady - 16.10.2016, 18:15
Re: Returning Float in function - by SickAttack - 16.10.2016, 18:17
Re: Returning Float in function - by Banana_Ghost - 16.10.2016, 18:17
Re: Returning Float in function - by Sanady - 16.10.2016, 18:25
Re: Returning Float in function - by Sanady - 16.10.2016, 18:33

Forum Jump:


Users browsing this thread: 3 Guest(s)