Register for your free account! | Forgot your password?

You last visited: Today at 20:38

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Umm?

Discussion on Umm? within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
~*NewDuuDe*~'s Avatar
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
Umm?

Well was going a bit back and forth with this but ended getting nowhere.
So thing is, I'm trying to make an item command which allows you only to get up to +9 items instead of +12. As I want that to be VIP/Gm command.
It's probably pretty simple, but then again, I'm not very good :P
~*NewDuuDe*~ is offline  
Old 07/07/2009, 21:21   #2
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Quote:
byte Plus = Cmd[3] // Not sure if its cmd 3
if (Plus > 9)
Plus = 9;

Copy+paste, works for your source
_Emme_ is offline  
Thanks
1 User
Old 07/07/2009, 21:28   #3
 
~*NewDuuDe*~'s Avatar
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
Rewrote it. Works like a charm.
Thanks bro.
~*NewDuuDe*~ is offline  
Old 07/07/2009, 21:38   #4
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
#closed
_Emme_ is offline  
Old 07/08/2009, 00:48   #5
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Sorry Emme, I just have to post this.

Code:
Plus = Math.Min(9, Cmd[3]); // Not sure if its Cmd[3] either =P
Way simpler and cooler =P
kinshi88 is offline  
Closed Thread




All times are GMT +1. The time now is 20:39.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.