Try it out. You all ask too many questions. Try doing something, see if it works, then ask for help if it doesn't. If that works then that's one post you didn't have to make, and that much time you didn't have to waste waiting for a reply and the time of others to read that post thereby saving everyone some time.marleythe9 wrote:thats what releases the armor right???...Code: Select all
ReleaseItemHandler(iTargetH, iTemp, TRUE);
soo i replace that with this??
Code: Select all
ReleaseItemHandler(sTargetH, iArmorType, TRUE); SendNotifyMsg(NULL, sTargetH, DEF_NOTIFY_ITEMRELEASED, m_pClientList[sTargetH]->m_pItemList[iArmorType]->m_cEquipPos, iArmorType, NULL, NULL);
Armor Break Bug
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

-
- Loyal fan
- Posts: 423
- Joined: Thu Apr 07, 2005 7:53 pm
You gotta make it check each equip POS and do a number of things for each equip POS for myne and release it also.
If you start getting close I tell you.
and for what you said marleythe9
Thats close too how you want too strip it but you want about 5 of these for each equip POS and each time it much specify which equip POS.
If you start getting close I tell you.
and for what you said marleythe9
Code: Select all
ReleaseItemHandler(sTargetH, iArmorType, TRUE);
SendNotifyMsg(NULL, sTargetH, DEF_NOTIFY_ITEMRELEASED, m_pClientList[sTargetH]->m_pItemList[iArmorType]->m_cEquipPos, iArmorType, NULL, NULL);
Thats close too how you want too strip it but you want about 5 of these for each equip POS and each time it much specify which equip POS.
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
kk ill try it
.. tommorrow
i posted befor trying it becouse i was on a computer that couldnt compile the C++
... i was just checking see if all was right




<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
-
- Loyal fan
- Posts: 423
- Joined: Thu Apr 07, 2005 7:53 pm
Actually you will need the notify.blackfury wrote: that sendnotifymsg () shouldn't be needed, because ReleaseItemHandler already has that in it, you'll be notifieng for a second time ... 0.o
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
soo realy im replaceing all the
with your code... that right?...
im trying it right now
... but just makeing sure.. cuz takes longer to test then it dose to post 
err didnt work.. i trye dto compile it
says
sTargetH' : undeclared identifier
'iArmorType' : undeclared identifier
(am i supos use locals code?)
Code: Select all
SendNotifyMsg(NULL, iTargetH, DEF_NOTIFY_ITEMLIFESPANEND, m_pClientList[iTargetH]->m_pItemList[iTemp]->m_cEquipPos, iTemp, NULL, NULL);
// .
ReleaseItemHandler(iTargetH, iTemp, TRUE); // <-



err didnt work.. i trye dto compile it
says
sTargetH' : undeclared identifier
'iArmorType' : undeclared identifier
(am i supos use locals code?)
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
-
- Loyal fan
- Posts: 423
- Joined: Thu Apr 07, 2005 7:53 pm
You had the define right the first time :/marleythe9 wrote: soo realy im replaceing all thewith your code... that right?...Code: Select all
SendNotifyMsg(NULL, iTargetH, DEF_NOTIFY_ITEMLIFESPANEND, m_pClientList[iTargetH]->m_pItemList[iTemp]->m_cEquipPos, iTemp, NULL, NULL); // . ReleaseItemHandler(iTargetH, iTemp, TRUE); // <-
im trying it right now
... but just makeing sure.. cuz takes longer to test then it dose to post
![]()
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
:9 says sTrageth and iarmor is undifined...
do i add on to the ArmorLifeDecrement and put int sTarget and int iarmor?
do i add on to the ArmorLifeDecrement and put int sTarget and int iarmor?
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
-
- Loyal fan
- Posts: 423
- Joined: Thu Apr 07, 2005 7:53 pm
you will need too use sTargetH and if I recall iArmorEndurance (not sure if thats the right int but its close) more than a few times in this void.marleythe9 wrote: :9 says sTrageth and iarmor is undifined...
do i add on to the ArmorLifeDecrement and put int sTarget and int iarmor?
PM me what you got so far and I can help abit.
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
The iTargetH is the client id of the person being attacked while the iTemp is the item# in question about releasing it. If those vars do not exist, then pick the ones that represent them inside the function.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
AHHHHHHHHH! need back up... man down..
(i cant get damn thing work
)
it wont let me add the STargetH and IArmortypH
jeez...... i tryed it every posable way it could go....
.... keeps saying
(ArmorLifeDecrement' : function does not take 4 parameters)
(i cant get damn thing work

it wont let me add the STargetH and IArmortypH
jeez...... i tryed it every posable way it could go....

(ArmorLifeDecrement' : function does not take 4 parameters)
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
void ArmorLifeDecrement(int iAttackerH, int iTargetH, char cOwnerType, int iValue)marleythe9 wrote: AHHHHHHHHH! need back up... man down..
(i cant get damn thing work)
it wont let me add the STargetH and IArmortypH
jeez...... i tryed it every posable way it could go....
.... keeps saying
(ArmorLifeDecrement' : function does not take 4 parameters)
iAttackerH being attacker, sTargetH being attackee(victim), cOwnerType being NPC or PLAYER, and iValue being how much it is being lowered by.
How are you calling the function? And in your source, find this line or one similar (try searching for : "CGame::ArmorLifeDecrement")
void CGame::ArmorLifeDecrement(int iAttackerH, int iTargetH, char cOwnerType, int iValue)
^^ is that what yours says?
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

-
- Loyal fan
- Posts: 423
- Joined: Thu Apr 07, 2005 7:53 pm
just looked at my code and he nailed it -_-bone-you wrote: The iTargetH is the client id of the person being attacked while the iTemp is the item# in question about releasing it. If those vars do not exist, then pick the ones that represent them inside the function.
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
Has nothing to do with your code. I explain the obvious because many people are oblivious to it. *cough* We all know someone like that, don't we?Slipknight wrote:just looked at my code and he nailed it -_-bone-you wrote: The iTargetH is the client id of the person being attacked while the iTemp is the item# in question about releasing it. If those vars do not exist, then pick the ones that represent them inside the function.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

-
- Loyal fan
- Posts: 423
- Joined: Thu Apr 07, 2005 7:53 pm
most ppl dont memorize the Ints, voids, and bools I just said that off my head.Slipknight wrote:just looked at my code and he nailed it -_-bone-you wrote: The iTargetH is the client id of the person being attacked while the iTemp is the item# in question about releasing it. If those vars do not exist, then pick the ones that represent them inside the function.
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>