Raised This Month: $ Target: $400
 0% 

[HELP] how optimize/change this code?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LudaGe
Senior Member
Join Date: May 2010
Location: World so cold
Old 12-03-2010 , 14:02   Re: [HELP] how optimize/change this code?
Reply With Quote #1

Quote:
Originally Posted by Bugsy View Post
Show all level numbers that you need to use.
i dont know, 1, 4, 10¿?

Anyway, thanks you help me enough with what i needed

Last edited by LudaGe; 12-03-2010 at 14:08.
LudaGe is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-03-2010 , 14:21   Re: [HELP] how optimize/change this code?
Reply With Quote #2

Quote:
Originally Posted by LudaGe View Post
i dont know, 1, 4, 10¿?
For "levels" you have to do 1, 2, 3, 4, ...
__________________
fysiks is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-03-2010 , 16:13   Re: [HELP] how optimize/change this code?
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
For "levels" you have to do 1, 2, 3, 4, ...
In code yes but levels can be refereed to as anything to the actual player regardless of the value representing that level in code. You could always make constants for each level to refer to the in-code level.

const LevelOne = 1;
const LevelFour = 2;

and so on..just use the appropriate variable when referring to or assigning a level. This can be handled many ways.
__________________

Last edited by Bugsy; 12-03-2010 at 16:30.
Bugsy is offline
Reply



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 11:24.


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