Thread
:
How to do with one variable
View Single Post
Author
Message
Abhinash
Senior Member
Join Date: Jan 2015
Location: India,kolkata
11-13-2020 , 09:32 How to do with one variable
#
1
Hey there.
So in my ZP there are many different classes and I don't like using different variable names like g_nem, g_assa, g_sni, g_surv, etc.
I wonder how can I achieve the same thing by using one varible and bitwise operator like --
g_iPlayerType[ iPlayer ] & P_SNIPER
g_iPlayerType[ iPlayer ] & P_NEMESIS
Like that I have seen one plugin use it but I can't understand. Can anyone tell me how to do as above ?
Abhinash
View Public Profile
Send a private message to Abhinash
Find More Posts by Abhinash