SA-MP Forums Archive
What date type does pawn use? - 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: What date type does pawn use? (/showthread.php?tid=650993)



What date type does pawn use? - BenStar - 11.03.2018

Hello guys, I am new scripter and I want to know what types of data does pawn use ?


Re: What date type does pawn use? - Eoussama - 11.03.2018

Quote:

The pawn language does not provide a “set” data type or operators that work on sets. However, sets with up to 32 elements can be simulated by bit operations. It takes just one bit to store a “present/absent” status and a 32-bit cell can, therefore, maintain the status for 32 set elements —provided that each element is assigned a unique bit position.

__pawn_lang, pg 25.