how to fix this error
#1

when i added many rank it shows error rank means admins position before it was 6 so i added till 10

Код:
C:\Users\aman\Desktop\SATDM~RP V14\Gamemodes\SATDM_v14.pwn(25503) : error 001: expected token: ":", but found ";"
C:\Users\aman\Desktop\SATDM~RP V14\Gamemodes\SATDM_v14.pwn(25503) : error 036: empty statement
C:\Users\aman\Desktop\SATDM~RP V14\Gamemodes\SATDM_v14.pwn(25506) : warning 209: function "GetRankFromLevel" should return a value
C:\Users\aman\Desktop\SATDM~RP V14\Gamemodes\SATDM_v14.pwn(25507) : error 054: unmatched closing brace ("}")
C:\Users\aman\Desktop\SATDM~RP V14\Gamemodes\SATDM_v14.pwn(25508) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
help me
Reply
#2

show lines
Reply
#3

25503

Код:
case 10;
		{
		    Rank = "Server Management";
  		}
    }
    return Rank;
}
25506

Код:
	}
25007 and 25008

Код:
}
    return Rank;
Reply
#4

pawn Код:
case 10:
{
        Rank = "Server Management";
    }
    return Rank;
}

//for line 25506, add "return 1;" before closing the bracket

//and for lines 25007 and 25008, match the opening brackets { and the closing brackets } to make them equal
Reply
#5

Thank You
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)