04.05.2016, 16:45
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(playerid, 0);
}
if(PlayerInfo[playerid][pBoombox] != 0 || !isnull(PlayerVehicleInfo[vehicle][pvRadio])) line 6422
{
PlayerInfo[playerid][pBoombox] = 0;
StopAudioStreamForPlayer(playerid);
}
if(!isnull(PlayerVehicleInfo[vehicle][pvRadio])) { line 6427
PlayAudioStreamForPlayer(playerid, PlayerVehicleInfo[vehicle][pvRadio]);
}
}