SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 27/02/2009, 06:18 PM   #1
harrold
Huge Clucker
 
Join Date: Jan 2009
Posts: 260
Reputation: 0
Default What this functions do?

Can anybody explain me?
pawn Code:
float
floatabs
floatadd
floatcmp
floatcos
floatdiv
floatfract
floatlog
floatmul
floatpower
floatround
floatsin
floatsqroot
floatsub
floattan
floatstr

I think much people don't know
harrold is offline  
Old 27/02/2009, 06:19 PM   #2
kc
Gangsta
 
kc's Avatar
 
Join Date: Aug 2007
Posts: 618
Reputation: 115
Default Re: What this functions do?

its called the wiki.

Look there.

_________________________________________________

But...

float - converts an int to a float
floatabs - if a float is negative, it will convert it to a positive number (e.g. -5.3 will turn into 5.3)
floatadd - you don't need to use this
floatcmp - not really needed either
floatcos - cosine on a float
floatdiv - you don't need to use this
floatfract - returns the fractional portion of a float
floatlog - Logarithm on a float
floatmul - not needed
floatpower - returns value raised to the power specified in the 2nd argument
floatround - rounds a float into an int
floatsin - sine on a float
floatsqroot - get square root of a float
floatsub - not needed
floattan - tangent on a float
floatstr - converts a string to a float value
kc is offline  
Old 08/05/2009, 11:30 PM   #3
Tannz0rz
Huge Clucker
 
Tannz0rz's Avatar
 
Join Date: Dec 2007
Posts: 344
Reputation: 35
Default Re: What this functions do?

I actually have a question referring to the "floatsin" and "floatcos" functions. I'm aware of the fact that the parameters are (value, Anglemode), but how exactly do those two parameters work with the actual Sine function itself? What I'm really asking for is the Sine equation, in most cases.
__________________
Tannz0rz is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] [INC] LSF - Lorenc's Simple Functions (w/ gang/clan functions) Lorenc_ Includes 14 21/04/2018 04:06 AM
Help with car functions. Mirkan Help Archive 0 24/10/2009 01:05 PM
Useful functions [HUN]Gamestar Help Archive 4 04/09/2009 04:50 PM
Some useful 0.3 functions. Tr1viUm Help Archive 4 03/09/2009 10:23 PM
New functions Frement Help Archive 3 24/08/2009 08:57 PM


All times are GMT. The time now is 10:25 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.