Showmenu Binary Slots

Please post any questions about developing your plugin here. Please use the search function before posting!
arawra
Senior Member
Posts: 190
Joined: Fri Jun 21, 2013 6:51 am

Showmenu Binary Slots

Postby arawra » Mon Sep 02, 2013 9:03 pm

I do not understand how binary translates to the slots parameter in Showmenu().

In the example, 0b000000001 is given as the slots parameter. I am not sure how this works because 2^0 is equal to 1, but then how do you specify between one slot and no slots?
Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

Postby Omega_K2 » Mon Sep 02, 2013 9:46 pm

No slots is just 0
Libraries: k2tools
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm

If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
arawra
Senior Member
Posts: 190
Joined: Fri Jun 21, 2013 6:51 am

Postby arawra » Mon Sep 02, 2013 11:37 pm

I think I just misread the wiki article.
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Tue Sep 03, 2013 1:12 am

Keep in mind that 0 (or 10) does not work on CS:GO.

Satoon

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 68 guests