Red Nightvision?
Okay heres the code... when I type amx_nvg in the game console it does not fade red or anything..... help? Thanks
Code:
#include <amxmodx> |
1 << # is bitwise manipulation.
The bits are shorts, 16 bit. So, this is what you're doing: Take short "0000 0000 0000 0001" and leftshift it by 99999 bits the result: "0000 0000 0000 0000" That doesn't seem very long to me! To get 'maximum length' simply do ~0 instead of 1 << 99999 ~1 (which is Not "0000 0000 0000 0000") will make it "1111 1111 1111 1111" Unless it's signed. In which case you want ~1<<15. |
could we change write_short() to write_long() ?
|
Possibly, I don't know how the message works. It's equally probably you'd crash the game.
|
Fixed! :D
|
Can some one give me the final copy
could some one make it so if u type amx_nvg (color)
it will give u that color |
Code:
|
| All times are GMT -4. The time now is 17:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.