19.06.2015, 12:57
Okay just a question
Here i can do 'something' if the last float is greater then the first.
But how would i script it if i want to check that col[2] is just a bit greater ( so i could add my own number to it)?
i mean col[2] is greater yes but what if i want to return only if its greater than 1.6 or something ?
I hope you understood what i meant. i find it difficult to explain.
Here i can do 'something' if the last float is greater then the first.
pawn Код:
if(floatcmp(fr[2],col[2])== -1)
{
SendClientMessage(playerid,-1,"GREAT HUH?");
}
i mean col[2] is greater yes but what if i want to return only if its greater than 1.6 or something ?
I hope you understood what i meant. i find it difficult to explain.