compound statement not closed at the end of file (started at line 831)
#1

Hello all! I am asking for a help find me where I made mistake. :S

pawn Код:
CMD:buysports(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 546.2457,-1280.3177,17.2482))
    {
        new Float:x, Float:y, Float:z;
        new sportscars;
        GetPlayerPos(playerid, x, y, z);
        ShowPlayerDialog(playerid, sportscars, DIALOG_STYLE_LIST, "Sports Cars", "Buffalo\nAlpha\nBanshee\nBlista Compact\nBullet\nCheetah\nClub\nEuros\nFlash\nHotring Racer 1\nHotring Racer 2\nInfernus\nJester\nPhoenix\nSabre\nSuper GT\nTurismo\nUranus\nZR-350", "Buy", "button2[]");
        {
           switch(sportscars)
           {
               case 0:
               {
               CreateVehicle(402, x, y, z, 0, 0, 0, 0); //This is the 831 line which he signals as bad one.
               {
               return 1;
}
(835) : error 030: compound statement not closed at the end of file (started at line 831)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)