25.10.2018, 09:29
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:
This is just for future reference when subtracting floats!
Example usage:
Код:
if(GetPlayerInterior(playerid) > 0) { return floatsub(Z, 1.011); }