compound statement not closed at the end of file
#1

I cant seem to figure it out..
pawn Код:
(58) : error 030: compound statement not closed at the end of file (started at line 29)
Line 58 is the end of file but here it is from line 29
pawn Код:
if(response)
        {
            if(listitem == 0)   // Cock
            {
            SetPlayerAttachedObject(playerid, 0, 16776, 2, 0.000000, 0.000000, 0.000000, 0.000000, 90.000000, 180.000000, 0.050000, 0.050000, 0.050000);
            SetPlayerAttachedObject(playerid, 1, 321, 1, -0.200000, 0.349999, -0.150000, 90.000000, 180.000000, 0.000000, 3.000000, 3.000000, 3.000000);

            if(listitem == 1)   // Cock1
            {
            SetPlayerAttachedObject(playerid, 0, 16776, 2, 0.000000, 0.000000, 0.000000, 0.000000, 90.000000, 180.000000, 0.050000, 0.050000, 0.050000);
            SetPlayerAttachedObject(playerid, 1, 321, 1, -0.200000, 0.349999, -0.150000, 90.000000, 180.000000, 0.000000, 3.000000, 3.000000, 3.000000);

            if(listitem == 2)   // Cock2
            {
            SetPlayerAttachedObject(playerid, 0, 16776, 2, 0.000000, 0.000000, 0.000000, 0.000000, 90.000000, 180.000000, 0.050000, 0.050000, 0.050000);
            SetPlayerAttachedObject(playerid, 1, 321, 1, -0.200000, 0.349999, -0.150000, 90.000000, 180.000000, 0.000000, 3.000000, 3.000000, 3.000000);

            if(listitem == 3)   // Cock3
            {
            SetPlayerAttachedObject(playerid, 0, 16776, 2, 0.000000, 0.000000, 0.000000, 0.000000, 90.000000, 180.000000, 0.050000, 0.050000, 0.050000);
            SetPlayerAttachedObject(playerid, 1, 321, 1, -0.200000, 0.349999, -0.150000, 90.000000, 180.000000, 0.000000, 3.000000, 3.000000, 3.000000);
       }
            }
            return 1;
        }
    }
    return 0;
}
#endif
Reply


Messages In This Thread
compound statement not closed at the end of file - by SnG.Scot_MisCuDI - 28.12.2011, 03:13
Re: compound statement not closed at the end of file - by MP2 - 28.12.2011, 03:33

Forum Jump:


Users browsing this thread: 1 Guest(s)