Warning 213
#1

Hi guys. Need help. I have "tag mismatch" warnings. Here are the lines
PHP код:
FadePlayerScreen(playerid,BLACK,6,192); 
PHP код:
FadePlayerScreen(playerid,COLOR_PINKY,6,200); 
PHP код:
FadePlayerScreen(playerid,COLOR_PINKY,6,200); 
PHP код:
FadePlayerScreen(playerid,BLACK,6,192); 
PHP код:
FadePlayerScreen(playerid,BLACK,6,192); 
PHP код:
FadePlayerScreen(playerid,BLACK,6,192); 
PHP код:
FadePlayerScreen(playerid,BLACK,6,192); 
PHP код:
FadePlayerScreen(playerid,BLACK,6,192); 
PHP код:
FadePlayerScreen(playerid,BLACK,6,192); 
PHP код:
FadePlayerScreen(playerid,BLACK,6,192); 
You may need some more info, so I will add more.
PHP код:
public ClearFade(playerid)
{
    if(
FadeDone[playerid] == 1)
    {
        
FadePlayerScreen(playerid,BLACK,6,192);
        
FadeDone[playerid] = 0;
        
Flight[playerid] = 0;
        
PlayerInfo[playerid][pTut] = 1;
        
PlaneSpawn[playerid] = 1;
        
UpdatePlayerInfo(playerid);
        
SpawnPlayer(playerid);
    }
    if(
BuyCar[playerid] == 1)
    {
        
SetPlayerPos(playerid,-1646.9950,1222.9421,7.0391);
        
SetPlayerFacingAngle(playerid,137.6366);
        
FadePlayerScreen(playerid,COLOR_PINKY,6,200);
        
PlayerPlaySound(playerid11830.00.00.0);
        
SetTimerEx("StopSond",7000false,"i",playerid);
        
BuyCar[playerid] = 0;
        
SendClientMessage(playerid,COLOR_GREEN,"||- Congratulations you've got yourself a brand new car -||");
    }
    if(
BuyCar[playerid] == 2)
    {
        
SetPlayerPos(playerid,2148.0027,-1178.6327,23.8203);
        
SetPlayerFacingAngle(playerid,182.6657);
        
FadePlayerScreen(playerid,COLOR_PINKY,6,200);
        
PlayerPlaySound(playerid11830.00.00.0);
        
SetTimerEx("StopSond",7000false,"i",playerid);
        
BuyCar[playerid] = 0;
        
SendClientMessage(playerid,COLOR_GREEN,"||- Congratulations you've got yourself a brand new car -||");
    }
    if(
DriverTest[playerid] == 100)
    {
        
FadePlayerScreen(playerid,BLACK,6,192);
        
SetPlayerInterior(playerid,0);
        
SetPlayerPos(playerid,1267.9253,-1800.5354,13.4039);
        
SendClientMessage(playeridCOLOR_BROWN"||- You've done your theory, time for the driving test, please enter one of the school vehicles -||");
    }
    if(
DriverTest[playerid] == 200)
    {
        
SetPlayerPos(playerid,178.1042,-1923.9095,1.5648);
        
SetPlayerInterior(playerid,0);
        
FadePlayerScreen(playerid,BLACK,6,192);
        
SendClientMessage(playeridCOLOR_BROWN"||- You've now done your theory, time for the driving test, please enter one of the school boats -||");
    }
    if(
DriverTest[playerid] == 600)
    {
        
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
        
PlayerInfo[playerid][pCarLic] = 1;
        
SendClientMessage(playerid,COLOR_PINKY,"||- Congractulations you have earned the driver license -||");
        
DriverTest[playerid] = 0;
        
TestTimer[playerid] = 0;
        
FadePlayerScreen(playerid,BLACK,6,192);
        new 
Float:pXFloat:pYFloat:pZ;
        
GetPlayerPos(playerid,pX,pY,pZ);
        
PlayerPlaySound(playerid,1056,pX,pY,pZ);
        
PlayerPlaySound(playerid11850.00.00.0);
        
SetTimerEx("StopMusic",5000false,"i",playerid);
        
UpdatePlayerInfo(playerid);
        return 
1;
    }
    if(
DriverTest[playerid] == 700)
    {
        
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
        
PlayerInfo[playerid][pCarLic] = 0;
        
SendClientMessage(playerid,COLOR_PINKY,"||- You have failed in the test, reason (vehicle damage's) -||");
        
DriverTest[playerid] = 0;
        
TestTimer[playerid] = 0;
        
FadePlayerScreen(playerid,BLACK,6,192);
        new 
Float:pXFloat:pYFloat:pZ;
        
GetPlayerPos(playerid,pX,pY,pZ);
        
PlayerPlaySound(playerid,1056,pX,pY,pZ);
        return 
1;
    }
    if(
DriverTest[playerid] == 300)
    {
        
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
        new 
Float:pXFloat:pYFloat:pZ;
        
GetPlayerPos(playerid,pX,pY,pZ);
        
PlayerPlaySound(playerid,1056,pX,pY,pZ);
        
SetPlayerPos(playerid,178.1042,-1923.9095,1.5648);
        
FadePlayerScreen(playerid,BLACK,6,192);
        
PlayerInfo[playerid][pBoatLic] = 1;
        
LoopingAnim(playerid,"PED","WALK_civi",4.1,1,1,1,1,1);
        
SetTimerEx("WalkTimer2",4000false,"i",playerid);
        
SendClientMessage(playerid,COLOR_PINKY,"||- Congractulations you have earned the sailing license -||");
        
DriverTest[playerid] = 0;
        
TestTimer[playerid] = 0;
        
UpdatePlayerInfo(playerid);
        return 
1;
    }
    if(
DriverTest[playerid] == 400)
    {
        
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
        
SetPlayerPos(playerid,178.1042,-1923.9095,1.5648);
        new 
Float:pXFloat:pYFloat:pZ;
        
GetPlayerPos(playerid,pX,pY,pZ);
        
PlayerPlaySound(playerid,1056,pX,pY,pZ);
        
FadePlayerScreen(playerid,BLACK,6,192);
        
PlayerInfo[playerid][pCarLic] = 0;
        
LoopingAnim(playerid,"PED","WALK_civi",4.1,1,1,1,1,1);
        
SetTimerEx("WalkTimer2",4000false,"i",playerid);
        
SendClientMessage(playerid,COLOR_PINKY,"You have failed in the test, reason (vehicle damage)");
        
DriverTest[playerid] = 0;
        
TestTimer[playerid] = 0;
        return 
1;
    }
    return 
1;
}
public 
ClearKnock(playerid)
{
    
TogglePlayerControllable(playerid1);
    
FadePlayerScreen(playerid,BLACK,6,192);
    
KnockedDown[playerid] = 0;
    
Freezed[playerid] = 0;
    new 
string[256];
    new 
sendername[MAX_PLAYER_NAME];
    
GetPlayerName(playeridsendernamesizeof(sendername));
    
format(stringsizeof(string), "%s wakes up wasted unaware of his current state"sendername);
    
ProxDetector(10.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    
SetPlayerDrunkLevel(playerid500);
    
ApplyAnimation(playerid"CARRY""crry_prtial"4.000000);
    
SetTimerEx("StopWasted"100000"i"playerid);
    for(new 
i=0;i<GetMaxPlayers();i++)
    {
        
ShowPlayerNameTagForPlayer(iplayerid1);
    }
    return 
1;

Reply
#2

Need help...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)