Bit_Get problem
#1

Im using y_bit:

pawn Код:
if(Bit_Get(IsPlayerCapturing[playerid][0], TEST) == true)
{
       //my code here
}
But I get those errors at the if(Bit_Get(IsPlayerCapturing[playerid][0], TEST) == true) line

Код:
C:\Users\SEIF\Desktop\samp03z_svr_R1_win32\gamemodes\WarZ.pwn(2640) : error 001: expected token: ")", but found "["
C:\Users\SEIF\Desktop\samp03z_svr_R1_win32\gamemodes\WarZ.pwn(2640) : warning 221: label name "_" shadows tag name
C:\Users\SEIF\Desktop\samp03z_svr_R1_win32\gamemodes\WarZ.pwn(2640) : warning 215: expression has no effect
C:\Users\SEIF\Desktop\samp03z_svr_R1_win32\gamemodes\WarZ.pwn(2640) : error 001: expected token: ";", but found ")"
C:\Users\SEIF\Desktop\samp03z_svr_R1_win32\gamemodes\WarZ.pwn(2640) : error 029: invalid expression, assumed zero
C:\Users\SEIF\Desktop\samp03z_svr_R1_win32\gamemodes\WarZ.pwn(2640) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Remark: TEST = 0

EDIT: I have tried if(Bit_Get(IsPlayerCapturing[playerid], TEST) == true) , it compiles fine but it doesnt work
Reply


Messages In This Thread
Bit_Get problem - by Battlezone - 14.06.2014, 12:50
Re: Bit_Get problem - by Jessyy - 14.06.2014, 13:00
Re: Bit_Get problem - by Battlezone - 14.06.2014, 13:01
Re: Bit_Get problem - by Jessyy - 14.06.2014, 15:13
Re: Bit_Get problem - by Battlezone - 14.06.2014, 16:55

Forum Jump:


Users browsing this thread: 1 Guest(s)