26.01.2014, 10:20
For future reference - casting to bool is even easier than that, using double negation:
As for question:
1. Speed is comparable, but as name suggests, the queries are executed in other thread, so your main game logic doesn't wait until the query is complete.
pawn Код:
ASDQWEQEWQE = !!cache_get_field_content_int(0, "weqwe");
1. Speed is comparable, but as name suggests, the queries are executed in other thread, so your main game logic doesn't wait until the query is complete.