Tag mismatch on a float?
#3

Quote:
Originally Posted by Virtual1ty
Посмотреть сообщение
You can't use ^ operator in Pawn for floats, AFAIK it's the binary XOR operator and can be only used on ints.
If you need to square something or raise to a power use floatpower or just multiply by the same number.
Will try that, I wouldn't think that'd be a problem since I'm not raising any floats to a power (matamount, potamount, crackamount, TaxValue and 10 are all integers).

Thanks, will test it out now.
Reply


Messages In This Thread
Tag mismatch on a float? - by [FMJ]PowerSurge - 16.05.2015, 15:39
Re: Tag mismatch on a float? - by Virtual1ty - 16.05.2015, 15:59
Re: Tag mismatch on a float? - by [FMJ]PowerSurge - 16.05.2015, 16:10
Re: Tag mismatch on a float? - by Virtual1ty - 16.05.2015, 16:15
Re: Tag mismatch on a float? - by [FMJ]PowerSurge - 16.05.2015, 16:16
Re: Tag mismatch on a float? - by Joe Staff - 16.05.2015, 16:57

Forum Jump:


Users browsing this thread: 1 Guest(s)