Subtraction does not work?
#7

Quote:
Originally Posted by Infin1ty
Посмотреть сообщение
I made a mistake, you can't actually subtract 1.011 from Z with the method I gave. You also can't return false as you're working with interiors. You'll have to use floatsub.

Example usage:
Код:
    if(GetPlayerInterior(playerid) > 0)
    {
        return floatsub(Z, 1.011);
    }
This is just for future reference when subtracting floats!
Never known about this function!
Thanks a lot

EDIT:
No effect, the same.
Reply


Messages In This Thread
Subtraction does not work? - by alanhutch - 24.10.2018, 19:11
Re: Subtraction does not work? - by Infin1ty - 24.10.2018, 20:13
Re: Subtraction does not work? - by alanhutch - 24.10.2018, 23:11
Re: Subtraction does not work? - by ReD_HunTeR - 25.10.2018, 00:31
Re: Subtraction does not work? - by alanhutch - 25.10.2018, 08:00
Re: Subtraction does not work? - by Infin1ty - 25.10.2018, 09:29
Re: Subtraction does not work? - by alanhutch - 25.10.2018, 09:53
Re: Subtraction does not work? - by alanhutch - 25.10.2018, 13:37
Re: Subtraction does not work? - by NaS - 25.10.2018, 16:54
Re: Subtraction does not work? - by alanhutch - 26.10.2018, 11:51

Forum Jump:


Users browsing this thread: 2 Guest(s)