01.04.2013, 15:59
I'm having a problem with using Complie samp pawno 0.3x in line with warnings 7,412.
if(PlayerBoxing[playerid] > 0)
{
if(Boxer1 == playerid)
{
if(IsPlayerConnected(Boxer2))
{
PlayerBoxing[Boxer2] = 0;
SetPlayerPos(Boxer2, 765.8433,3.2924,1000.7186);
SetPlayerInterior(Boxer2, 5);
GameTextForPlayer(Boxer2, "~r~Match interupted", 5000, 1);
}
}
else if(Boxer2 == playerid)
{
if(IsPlayerConnected(Boxer1))
{
PlayerBoxing[Boxer1] = 0;
SetPlayerPos(Boxer1, 765.8433,3.2924,1000.7186);
SetPlayerInterior(Boxer1, 5);
GameTextForPlayer(Boxer1, "~r~Match interupted", 5000, 1);
}
}
InRing = 0;
RoundStarted = 0;
Boxer1 = 255;
Boxer2 = 255;
TBoxer = 255;
}
if(RoadBlock1[playerid]) DestroyDynamicObject(RB1[playerid]);
if(RoadBlock2[playerid]) DestroyDynamicObject(RB2[playerid]);
if(RoadBlock3[playerid]) DestroyDynamicObject(RB3[playerid]);
if(RoadBlock4[playerid]) DestroyDynamicObject(RB4[playerid]);
if(RoadBlock5[playerid]) DestroyDynamicObject(RB5[playerid]);
if(RoadBlock6[playerid]) DestroyDynamicObject(RB6[playerid]);
if(RoadBlock7[playerid]) DestroyDynamicObject(RB7[playerid]);
if(RoadBlock8[playerid]) DestroyDynamicObject(RB8[playerid]);
if(RoadBlock9[playerid]) DestroyDynamicObject(RB9[playerid]);
if(RoadBlock10[playerid]) DestroyDynamicObject(RB10[playerid]);
} //7412
if(PlayerBoxing[playerid] > 0)
{
if(Boxer1 == playerid)
{
if(IsPlayerConnected(Boxer2))
{
PlayerBoxing[Boxer2] = 0;
SetPlayerPos(Boxer2, 765.8433,3.2924,1000.7186);
SetPlayerInterior(Boxer2, 5);
GameTextForPlayer(Boxer2, "~r~Match interupted", 5000, 1);
}
}
else if(Boxer2 == playerid)
{
if(IsPlayerConnected(Boxer1))
{
PlayerBoxing[Boxer1] = 0;
SetPlayerPos(Boxer1, 765.8433,3.2924,1000.7186);
SetPlayerInterior(Boxer1, 5);
GameTextForPlayer(Boxer1, "~r~Match interupted", 5000, 1);
}
}
InRing = 0;
RoundStarted = 0;
Boxer1 = 255;
Boxer2 = 255;
TBoxer = 255;
}
if(RoadBlock1[playerid]) DestroyDynamicObject(RB1[playerid]);
if(RoadBlock2[playerid]) DestroyDynamicObject(RB2[playerid]);
if(RoadBlock3[playerid]) DestroyDynamicObject(RB3[playerid]);
if(RoadBlock4[playerid]) DestroyDynamicObject(RB4[playerid]);
if(RoadBlock5[playerid]) DestroyDynamicObject(RB5[playerid]);
if(RoadBlock6[playerid]) DestroyDynamicObject(RB6[playerid]);
if(RoadBlock7[playerid]) DestroyDynamicObject(RB7[playerid]);
if(RoadBlock8[playerid]) DestroyDynamicObject(RB8[playerid]);
if(RoadBlock9[playerid]) DestroyDynamicObject(RB9[playerid]);
if(RoadBlock10[playerid]) DestroyDynamicObject(RB10[playerid]);
} //7412