Poll: Does it work?
You do not have permission to vote in this poll.
Yes, @AZUMIKKEL is stupid.
66.67%
4 66.67%
No, @Pozzuh is stupid and a troll Sad
33.33%
2 33.33%
Total 6 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does this work?
#11
(09-21-2011, 20:01)SuperNovaAO Wrote:
(09-21-2011, 19:59)Pozzuh Wrote: As I understand it, it works like this
00101011 = 83
00000111 = 15
00000011 = 3
Both numbers have the last 1s in common.

Yes, this is how a CPU sees it. No idea if it's implemented properly in CoDScript.

I believe it is. Not in any cod before black ops though.
[Image: MaEIQ.png]
Reply

#12
(09-21-2011, 20:02)Pozzuh Wrote:
(09-21-2011, 20:01)SuperNovaAO Wrote:
(09-21-2011, 19:59)Pozzuh Wrote: As I understand it, it works like this
00101011 = 83
00000111 = 15
00000011 = 3
Both numbers have the last 1s in common.

Yes, this is how a CPU sees it. No idea if it's implemented properly in CoDScript.

I believe it is. Not in any cod before black ops though.

I saw Zeroy used it for a cod4 mod... but its

Code:
if( i & 1 )
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#13
Google bitwise opearators. It's implemented in many languages such as C, C++, C#, VB, etc. I'm not sure if it's implemented in GameScript language but if it is, it should work. I'm not sure if it equals to 5 though, on my phone :3
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#14
(09-21-2011, 20:10)iAegle Wrote: but its

Code:
if( i & 1 )

Wtf are you talking about. That is A way to check some bits. In this case ONE bit. The least significant.

You can describe this line as checking if a number is uneven.
Because for every uneven number that is represented as a bit string the LSB is set to on.
Reply

#15
I've got a code-error=232176378123x=%718888
Reply

#16
(09-24-2011, 10:32)dafiz Wrote: I've got a code-error=232176378123x=%718888

he should be banned....
[Image: MaEIQ.png]
Reply

#17
LOL this was the best spam post i've read
Reply

#18
Best 10 post douchebag yet
[Image: MaEIQ.png]
Reply

#19
olol Narwhal
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#20
Quote: (report) SuperNovaAO - 24-09 15:50 -- lots and lots of votes get removed after sunday.
Thank you @SuperNovaAO , OMA for you
[Image: lQDUjba.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Permissions DOESNT work Hallla 2 3,050 08-18-2013, 11:28
Last Post: hillbilly
  why permissions dont work. ? ExoGamer* 4 3,266 07-21-2013, 13:46
Last Post: X-Track
  Bunker Plugin Won't work OBJAY 4 4,505 06-03-2013, 15:48
Last Post: X-Track
  Help prefix doesnt work with shop koro35 2 2,884 05-18-2013, 10:51
Last Post: koro35
  Help Perks do not work (( x1412 6 4,394 04-06-2013, 18:09
Last Post: x1412
  liberation dont work? puistis 7 7,779 02-18-2013, 09:17
Last Post: JariZ
  Weapon dont work?? Erik The Born 3 2,844 02-05-2013, 19:53
Last Post: Yamato
  private match maps won't work with mods! leereef 1 2,499 01-13-2013, 12:01
Last Post: surtek
  Some images do not work with SetShader xplosiff 8 5,087 01-05-2013, 07:19
Last Post: mw2killer
  Help !giveammo Plugin doesnt work [solved] Hallla 3 3,554 12-29-2012, 20:53
Last Post: Hallla

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.