11.04.2012, 16:35
when compile gamemode take crash pawn !
Result with Missing Brackets Finder:
the line 9775 to 9789
the line 14788 to 14820
the line 63400 to 63428
Result with Missing Brackets Finder:
Код:
MISSING BRACKET: The } bracket on line 14801 does not have a pair!
MISSING BRACKET: The } bracket on line 63403 does not have a pair!
Result:
Opening angle brackets ({): 9784
Closing angle brackets (}): 9786
2 angle brackets without pair! Fix it!
Код:
else// iesire
{
return 1;
}
return 1;
}
if(dialogid==DRINKMENU4)
{
new Float:health;
}
if(response)//drink
{
if(listitem==0)
{
Код:
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=Sala de antrenament Corleone=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
if ((newkeys==KEY_SECONDARY_ATTACK))
{
if(PlayerToPoint(1.0,playerid,-2171.3018,645.3946,1057.5938))
{
if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
SetPlayerPos(playerid,3309.7236,-1636.8293,8706.8984);
SetPlayerInterior(playerid,1);
SCM(playerid, COLOR_YELLOW2, " ");
SCM(playerid, COLOR_YELLOW2, " ");
SCM(playerid, COLOR_YELLOW2, " ");
SCM(playerid, COLOR_YELLOW2, " ");
SCM(playerid, COLOR_YELLOW2, " ");
SCM(playerid, COLOR_YELLOW2, " ");
SCM(playerid, COLOR_YELLOW2, " ");
SCM(playerid, COLOR_YELLOW2, " ");
SCM(playerid, COLOR_YELLOW, "Bine ai venit in sala de antrenament !");
SCM(playerid, COLOR_YELLOW, "Succes.");
}
}
}
if ((newkeys==KEY_SECONDARY_ATTACK))
{
if(PlayerToPoint(1.0,playerid,3309.7236,-1636.8293,8706.8984))
{
if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
SetPlayerPos(playerid, -2171.3018,645.3946,1057.5938);
SetPlayerInterior(playerid,1);
}
}
}
Код:
if(GetPVarInt(playerid, "vBRight") == 1)
{
switch(GetPVarInt(playerid, "vMainOn")){
case 0:{
switch(GetPVarInt(playerid, "vBlinkOn")){
case 0:{
lights = encode_lights(1, 1, 0, 0);
SetPVarInt(playerid, "vBlinkOn", 1);
}
case 1:{
lights = encode_lights(1, 1, 1, 1);
SetPVarInt(playerid, "vBlinkOn", 0);
}
}
}
case 1:{
switch(GetPVarInt(playerid, "vBlinkOn")){
case 0:{
lights = encode_lights(0, 0, 1, 1);
SetPVarInt(playerid, "vBlinkOn", 1);
}
case 1:{
lights = encode_lights(0, 0, 0, 0);
SetPVarInt(playerid, "vBlinkOn", 0);
}
}
}
}
}

