Raised This Month: $ Target: $400
 0% 

make a ranks for mod


Post New Thread Reply   
 
Thread Tools Display Modes
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
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 05-22-2009 , 12:42   Re: make a ranks for mod
Reply With Quote #2

What are you trying to do?

If you are trying to make a XP mod, or something along those lines.. I suggest that you should read a XP mod tutorial.
Not to be rude or anything, but obviously you don't know what you're doing.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 05-22-2009 , 12:49   Re: make a ranks for mod
Reply With Quote #3

lol, i make a rank's that when the up level that rank change
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 05-22-2009 , 12:54   Re: make a ranks for mod
Reply With Quote #4

Like a class?, there we go. GO read a XP mod tutorial, you will find the answers there.

[offTOPIC]
"Lol?" - WHAT are you lol'ing at?!
[/offTOPIC]
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 05-22-2009 , 13:11   Re: make a ranks for mod
Reply With Quote #5

lol = ^^ I making a ranks not class!
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-22-2009 , 17:36   Re: make a ranks for mod
Reply With Quote #6

Quote:
Originally Posted by Xellath View Post
Not to be rude or anything, but obviously you don't know what you're doing.
He knows that, he's been told a million times already. He doesn't know how to indent either.
__________________
fysiks is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 05-22-2009 , 17:49   Re: make a ranks for mod
Reply With Quote #7

Quote:
He doesn't know how to indent either.
he doesn't know how to define things either xD that's no use
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
larito
Veteran Member
Join Date: Nov 2008
Location: Argentina- Mendoza
Old 05-22-2009 , 18:01   Re: make a ranks for mod
Reply With Quote #8

you donīt think the variable "Level[33]"?
__________________
Facebook: Ariel Berardi
larito is offline
Send a message via MSN to larito
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 05-23-2009 , 01:05   Re: make a ranks for mod
Reply With Quote #9

No longer was all found
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
Reply


Thread Tools
Display Modes

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