Register for your free account! | Forgot your password?

You last visited: Today at 06:21

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

Advertisement



[Help] /hp command

Discussion on [Help] /hp command within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 07/07/2009, 06:02   #16
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 441
UMmm yeah i kinda posted the /hp command already =/

EDIT: Updated one to prevent bugs from reviving
Code:
if (Splitter[0] == "/hp")
{
         if (MyChar.Alive == true)
         MyChar.CurHP = MyChar.MaxHP;
         SendPacket(General.MyPackets.Vital((long)MyChar.UID, 0, MyChar.CurHP));
}
raidenx123 is offline  
Old 07/07/2009, 06:34   #17
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
Quote:
Originally Posted by raidenx123 View Post
UMmm yeah i kinda posted the /hp command already =/

EDIT: Updated one to prevent bugs from reviving
Code:
if (Splitter[0] == "/hp")
{
         if (MyChar.Alive == true)
         MyChar.CurHP = MyChar.MaxHP;
         SendPacket(General.MyPackets.Vital((long)MyChar.UID, 0, MyChar.CurHP));
}
or you could do

Code:
if (MyChar.CurHP = 0)
return; 

and that stuffs :D but urs is same
PeTe Ninja is offline  
Old 07/08/2009, 02:14   #18
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 441
EHh sometimes on crappy sources when your dead it shows hp still (im talking crappy source :/)
raidenx123 is offline  
Reply


Similar Threads Similar Threads
command
06/27/2010 - CO2 Private Server - 8 Replies
Using:CoSX Source hey guys i have my p server and i am PM and i have a normal the name of it is test1 i do /kick test1 ok so it gets dc so now my other friend has an acc name xSplashx i do /kick xSplashx and nothing happens i get a error on my CoSX console
GM command-s
04/06/2010 - SRO Private Server - 8 Replies
Please start I Silkroad server 1.236 (CRSEMU) how to fix that I am GM and what are the command-s to spawn the NPC-s and MOB-s and ITEM-s and GOLD please help, give me command-s, ty
[HELP] command
02/05/2010 - EO PServer Hosting - 4 Replies
I would like to know how the write command in data base For example when a player kills a monster, that you mosntro of an item, if he kills the monster again, the action of this monster would be saying he already got the item that day, your not experienced in programming but I'm doing my own quest. thank you very much excuse the English
i want command
02/24/2009 - CO2 Private Server - 3 Replies
hi guys what command for skill reflect and why star guild war in cov2 cource thanx ..
o:- can't do both of that command plz some help ...
02/13/2008 - Kal Online - 9 Replies
hi u guys , sup every ?? hope all fine i have some problem .. i'm a gm in private server and when i type /moveto name of player none moving from my place it's mean not work so any 1 can just say me what can i do ?? 2 get place's player 2nd problem i can't attacking moobs while away from them i should get close enough like normal player ?? i need some help plz 3rd how i can get stuff mixing Demon Blood ?? or should admin make it 4 me 4th why i can't upgrade it egg's 4 ppl or me ?? or same...



All times are GMT +1. The time now is 06:21.


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.