Help whit this warning
#1

Hello, I have this code:

PHP код:
                new string[44];
                new 
clickedplayerid GetPVarInt(playerid,"ClickedPlayer");
                new 
muteID[MAX_PLAYERS];
                new 
id;
                
muteID[clickedplayerid] = id;
                    
format(stringsizeof(string), "%s is muted"GetPlayerNameEx(clickedplayerid) );
                
SendClientMessageToAll(COLOR_ORANGEstring);
                {
                if( 
pDataclickedplayerid ][ P_MUTE ] = )
                return 
SendClientMessage(playeridCOLOR_RED"Player is muted.");
                }
                
pDataclickedplayerid ][P_MUTE] = 1;
                    return 
1
And when I'm compiling:

Код:
warning 211: possibly unintended assignment
The line:
PHP код:
                if( pDataclickedplayerid ][ P_MUTE ] = 
Help please, regards
Reply


Messages In This Thread
Help whit this warning - by Guss - 15.03.2015, 00:16
Re: Help whit this warning - by Smileys - 15.03.2015, 00:53
Respuesta: Help whit this warning - by Guss - 15.03.2015, 01:02
Re: Help whit this warning - by iFiras - 15.03.2015, 01:06
Respuesta: Re: Help whit this warning - by Guss - 15.03.2015, 01:30

Forum Jump:


Users browsing this thread: 3 Guest(s)