Warning help
#1

I have been trying to figure out what i am doing wrong but cant find out, now i asking you for help.

Код:
./includes/callbacks.pwn(6422) : warning 213: tag mismatch
./includes/callbacks.pwn(6422) : warning 213: tag mismatch
./includes/callbacks.pwn(6422) : warning 213: tag mismatch
./includes/callbacks.pwn(6427) : warning 213: tag mismatch
./includes/callbacks.pwn(6427) : warning 213: tag mismatch
./includes/callbacks.pwn(6427) : warning 213: tag mismatch
PHP код:
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
    {
        new 
vehicle GetPlayerVehicleID(playerid);
        if(
GetPlayerWeapon(playerid) == 24)
        {
            
SetPlayerArmedWeapon(playerid0);
        }
        if(
PlayerInfo[playerid][pBoombox] != || !isnull(PlayerVehicleInfo[vehicle][pvRadio])) line 6422
        
{
            
PlayerInfo[playerid][pBoombox] = 0;
            
StopAudioStreamForPlayer(playerid);
        }
        if(!
isnull(PlayerVehicleInfo[vehicle][pvRadio])) { line 6427
            PlayAudioStreamForPlayer
(playeridPlayerVehicleInfo[vehicle][pvRadio]);
        }
    } 
Reply
#2

How did you define pvRadio? It should be an array in the enumerator without any tag.
Reply
#3

You sure that. pvradio is a string?
Reply
#4

Yes pvradio is a string

Код:
pvRadio[200]
Reply
#5

Also it's in your PlayerVehicleInfo enum?
Reply
#6

Quote:
Originally Posted by [ND]xXZeusXx.
Посмотреть сообщение
Also it's in your PlayerVehicleInfo enum?
Yes.
Reply
#7

Sorry lol I can't figure out what's wrong, I once used strcmp to check if the string is empty you can try that once though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)