What this functions do?
#1

Can anybody explain me?
pawn Код:
float
floatabs
floatadd
floatcmp
floatcos
floatdiv
floatfract
floatlog
floatmul
floatpower
floatround
floatsin
floatsqroot
floatsub
floattan
floatstr
I think much people don't know
Reply
#2

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
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)