18.01.2012, 20:56
A boolean is actually quite useless in Pawn, because it occupies the same space as a regular integer while only allowing for two values to be set. You set and get its value in just the same way as regular variables.
pawn Код:
new bool:myBool = true;
if(myBool == true) { /* do stuff */ }