Am 2 warnins
#1

Hi, I can not figure out where is wrong so ask sa-mp:

I have this line:
if(PlayerInfo[playerid][pPcarkey] == 999 && PlayerInfo[playerid][pPcarkey2] == 999 & PlayerInfo[playerid][pPcarkey3] == 999 && PlayerInfo[playerid][pPcarkey4] == 999 && PlayerInfo[playerid][pPcarkey5] == 999 && PlayerInfo[playerid][pPcarkey6] == 999 && PlayerInfo[playerid][pPcarkey7]== 999)

and shows me that after compile:

.pwn(24186) : warning 212: possibly unintended bitwise operation
.pwn(24186) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 11624 bytes
Code size: 2454776 bytes
Data size: 11658952 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4211 cells (16844 bytes)
Total requirements:14141736 bytes

2 Warnings.


Sorry for my bad english but i'm romainian and I not speak more english.....
Reply
#2

Is the line you shown us line 24186? Because I don't see how a line like that could give you a stack/heap warning.

It's probably something else in the script
Reply
#3

Look here:
[img=http://s12.postimage.org/mramuwquh/2warning.jpg]
the rest of the line is higher
And again, sorry for my bad english
Reply
#4

Try this once. try putting all this one line

pawn Код:
if(PlayerInfo[playerid][pPcarkey] == 999 && PlayerInfo[playerid][pPcarkey2] == 999 && PlayerInfo[playerid][pPcarkey3] == 999 && PlayerInfo[playerid][pPcarkey4] == 999 && PlayerInfo[playerid][pPcarkey5] == 999 && PlayerInfo[playerid][pPcarkey6] == 999 && PlayerInfo[playerid][pPcarkey7]== 999)
Reply
#5

Thank you for help, it's work perfect ! What change at the line ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)