Raised This Month: $ Target: $400
 0% 

make a ranks for mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 05-22-2009 , 12:25   make a ranks for mod
Reply With Quote #1

PHP Code:
public skill(id)
{
switch (
Level[id])
{
case 
0First 0;
case 
1First 1;
case 
2First 2;
case 
3Runner 3;
case 
4Runner 4;
case 
5Runner 5;
case 
6SuperNatural 6;
case 
7SuperNatural 7;
case 
8SuperNatural 8;
case 
9Tank 9;
case 
10Tank 10;
case 
11Tank 11;
case 
12xTNTx 12;
case 
13xTNTx 13;
case 
14xTNTx 14;
case 
15Hunter 15;
case 
16Hunter 16;
case 
17Hunter 17;
case 
18Mystic 18;
case 
19Mystic 19;
}

I getting four error's with this code
Quote:
Welcome to the AMX Mod X 1.8.1-300 Compiler.Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Teamtest.sma(22 : error 017: undefined symbol "Level"test.sma(22 : error 029: invalid expression, assumed zerotest.sma(22 : error 029: invalid expression, assumed zerotest.sma(22 : fatal error 107: too many error messages on one lineCompilation aborted.4 Errors.Done.ERROR: Your plugin failed to compile, see above.Please note that the silly compiler still tried to output a compiled plugin, but since it would be broken,the webcompiler caught it, and won't let you download it.
error's on line:
PHP Code:
switch (Level[id]) 
Can help me ??
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode