What these sign do?
#3

Shift the number to the right with 4 bits.

Example: number is 16. We need to convert that to binary first. That's 0b10000.
Now we shift all the bits to the right 4 times. The output will be: 0b00001 in binary, which is 1 in decimal.

It really only makes sense when you're working with bits in your gamemode. Here's some documentation about it: https://sampwiki.blast.hk/wiki/Binary#Binary_operators
Reply


Messages In This Thread
What these sign do? - by tal_peretz - 10.07.2011, 21:53
Re: What these sign do? - by Adil - 10.07.2011, 21:56
Re: What these sign do? - by Vince - 10.07.2011, 21:59
Re: What these sign do? - by tal_peretz - 10.07.2011, 22:25
Re: What these sign do? - by Gamer_Z - 10.07.2011, 22:36
AW: What these sign do? - by Tion - 10.07.2011, 22:37
Re: What these sign do? - by Kyosaur - 11.07.2011, 00:52
Re: What these sign do? - by tal_peretz - 11.07.2011, 22:43

Forum Jump:


Users browsing this thread: 1 Guest(s)