SA-MP Forums Archive
Bools - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bools (/showthread.php?tid=621005)



Bools - GoldenLion - 05.11.2016

Hi, I've been thinking about bools and variables for a long time so I finally decided to ask my question here: what's the difference between using a bool and a variable for true/false? I've been always using true/false with a variable. What's the difference?


Re: Bools - Vince - 05.11.2016

Nothing. Also bool is a weak tag (starts with a lowercase letter) so the compiler doesn't complain as much about tag mismatches.


Re: Bools - GoldenLion - 05.11.2016

Quote:
Originally Posted by Vince
Посмотреть сообщение
Nothing. Also bool is a weak tag (starts with a lowercase letter) so the compiler doesn't complain as much about tag mismatches.
Alright, thank you.