14.06.2014, 12:50
Im using y_bit:
But I get those errors at the if(Bit_Get(IsPlayerCapturing[playerid][0], TEST) == true) line
Remark: TEST = 0
EDIT: I have tried if(Bit_Get(IsPlayerCapturing[playerid], TEST) == true) , it compiles fine but it doesnt work
pawn Код:
if(Bit_Get(IsPlayerCapturing[playerid][0], TEST) == true)
{
//my code here
}
Код:
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.
EDIT: I have tried if(Bit_Get(IsPlayerCapturing[playerid], TEST) == true) , it compiles fine but it doesnt work