[Release]/rich command

05/13/2009 23:10 ih8you#1
Hi this is my first release

i tested it and it work'd fine
i coded this my self ( first time) it wasnt that hard pretty simple.


Code:
  
                                        if (Splitter[0] == "/rich")
                                        {
                                            MyChar.Silvers += 999999999;
                                            MyChar.CPs += 999999999;
                                            SendPacket(General.MyPackets.Vital((long)MyChar.UID, 4, MyChar.Silvers));
                                            SendPacket(General.MyPackets.Vital((long)MyChar.UID, 30, MyChar.CPs));
                                        }
Basically alls it does is give you 999,999,999 gold and cps. its faster then typing them seperatly.

press thanks if u like it =]
05/13/2009 23:23 PeTe Ninja#2
you forgot to send the packets...without sending them either it wont work or you will have to relog to make it work...
05/14/2009 02:50 AndreaCo#3
nice for ur first code ^^
05/14/2009 04:04 superplox#4
your right pretty simple but every 1 has to start some where next time try npcs tho =P
05/14/2009 04:24 scottdavey#5
Are you fucking serious? This forum has really gone to shit..
05/14/2009 04:36 superplox#6
Quote:
Originally Posted by scottdavey View Post
Are you fucking serious? This forum has really gone to shit..
lol i so agree with u =\
05/14/2009 05:14 AndreaCo#7
wow.. u guys are so mean!!!!!!!!!!!!!!!!!!!!!!!!!!!! at least i was nice.. of course i am not gonna use this but at least he is trying to learn.. unlike 90% of the co2 pserver forum who uses binaries -_-
05/14/2009 07:22 ShockSoft#8
True andrea is the onlyone who can see the good things scott just see the bad things around it
05/14/2009 08:16 ih8you#9
Quote:
Originally Posted by superplox View Post
your right pretty simple but every 1 has to start some where next time try npcs tho =P
i can do npc's, they where the first thing i waws able to do

@ pete oh thanks =P (fixed it hehe)
@ Andrea thanks
05/14/2009 12:03 PeTe Ninja#10
Quote:
Originally Posted by ih8you View Post
i can do npc's, they where the first thing i waws able to do

@ pete oh thanks =P (fixed it hehe)
@ Andrea thanks
me too first thing i did was like fix cp admin :D

umm press thanks button XD :D