Register for your free account! | Forgot your password?

You last visited: Today at 10:19

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

Advertisement



[Release] Command Hairstyle

Discussion on [Release] Command Hairstyle within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2008
Posts: 77
Received Thanks: 63
Talking [Release] Command Hairstyle

Code:
if (Splitter[0] == "/hair")
                                            {
                                                ushort mid = ushort.Parse(Splitter[1]);
                                                MyChar.Hair = mid;
                                                
                                                SendPacket(General.MyPackets.Vital(MyChar.UID, 27, ulong.Parse(MyChar.Hair.ToString())));
                                                World.UpdateSpawn(MyChar);
                                            }
............ ↓ Color 3=black, 4 white, 5 red, 6 yellow, 7 green, 8 blue, 9 purple
//- /hair 432-433-434-435
Color
konkizta is offline  
Thanks
1 User
Old 09/12/2008, 19:02   #2
 
Mouse>Pro's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 142
Received Thanks: 89
is this any usefull? because there is a npc to change your hairstyle and a shop to collor your hair
Mouse>Pro is offline  
Old 09/12/2008, 19:06   #3
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
@konkizta I'll try this one... But anyways nice work
@Mouse When while you are in bi and want to change a hairstyle it will be helpful xD
glupkotrup is offline  
Old 09/12/2008, 19:08   #4
 
Ultimatum's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 277
Received Thanks: 52
lol? I think this is more usefull since you lot are using lotf

if (Splitter[0] == "/goto")
{
foreach (DictionaryEntry DE in World.AllChars)
{
Character Chaar = (Character)DE.Value;
if (Splitter[1] == Chaar.Name)
{
MyChar.Teleport(Chaar.LocMap, Chaar.LocX, Chaar.LocY);
}
}
}
Ultimatum is offline  
Thanks
1 User
Old 09/12/2008, 19:08   #5
 
elite*gold: 0
Join Date: Aug 2008
Posts: 77
Received Thanks: 63
Quote:
Originally Posted by Mouse>Pro View Post
is this any usefull? because there is a npc to change your hairstyle and a shop to collor your hair
Thank you for your comment ¬ ¬
konkizta is offline  
Old 09/12/2008, 19:11   #6
 
elite*gold: 0
Join Date: Aug 2008
Posts: 77
Received Thanks: 63
Quote:
Originally Posted by Ultimatum View Post
lol? I think this is more usefull since you lot are using lotf

if (Splitter[0] == "/goto")
{
foreach (DictionaryEntry DE in World.AllChars)
{
Character Chaar = (Character)DE.Value;
if (Splitter[1] == Chaar.Name)
{
MyChar.Teleport(Chaar.LocMap, Chaar.LocX, Chaar.LocY);
}
}
}

Does that have to do with it?
konkizta is offline  
Old 09/12/2008, 19:13   #7
 
Ultimatum's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 277
Received Thanks: 52
Mouse Says: is this any usefull? because there is a npc to change your hairstyle and a shop to collor your hair

No npc to telelport you to a person XD
Ultimatum is offline  
Old 09/12/2008, 19:21   #8
 
Mouse>Pro's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 142
Received Thanks: 89
ok sorry people its usefull
Mouse>Pro is offline  
Old 09/12/2008, 19:43   #9
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
Haha nice
glupkotrup is offline  
Old 09/12/2008, 22:21   #10
 
taguro's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
Thanks for posting this command; although, I have to agree with Mouse... there isnt really a point to this command... it'll just end up using extra memory, which as we all know, isnt a good idea. Although, if you find it useful, by all means, use it. Thanks given for the contribution.
taguro is offline  
Reply


Similar Threads Similar Threads
[Release] Revive Command
08/02/2010 - CO2 PServer Guides & Releases - 2 Replies
This is a perfect revive command to my knowledge I've tested it multiple times in my server and had no problems. I'm currently working on remaking all commands and releasing them sometime in the near future. This is for a 5165 source. Hope you guys like it :D Command: /revive /revive (players name) #region Revive if (Cmd == "/Revive" || Cmd == "/revive")
[Release] a new command
07/16/2009 - CO2 PServer Guides & Releases - 8 Replies
ok this is the /pet command ok its not hard to do and i thank it will only work if u have the summon guard working becaz i us its atk type or u can edit it if u want but ul hafe to fix it up so it wont atk its self if u do that well any way here u go find wear u put commands in and put this if (Splitter == "/pet") { // /pet HP atk name mech lvl ...
[Release]-- New Command --
12/10/2008 - CO2 PServer Guides & Releases - 7 Replies
GOT That Damianpesta _1_



All times are GMT +1. The time now is 10:19.


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.