←  Multilingual

AMXX.pl: Support AMX Mod X i SourceMod

»

[SOLVED] CoD mini help

Zablokowany

  • +
  • -
Mafinka - zdjęcie Mafinka 13.06.2012

I am working on CoD plugin OLD (STARY COD) but i need some help

how to make?

1, Item- he protection ....HE grenades damaged me not ( I have this --*>

if(information_item_player[this][0] == 44 && (damagebits & DMG_HEGRENADE))
{
return HAM_SUPERCEDE;
}
[right]
but it doesnt work so what i need still??



2, I added some items....for example item = AutoBunnyHop + 50 HP ....
(Autobunny hop i have when i this item become, but 50 hp i become when new round start)
Where is problem??



3, On jailbreak Plugins is last request and there is a degle with 1 ammo... 1/1
I strike but then i have 0/1

I added this item to CoD but when i become this item, i have deagle with 7/1.. When i used all 7 ammo, then i have 1/1
My codes to this item
1.a,
public CmdStart(id, uc_handle) { if( information_item_player[id][0] == 40) { cs_set_user_bpammo( id, CSW_DEAGLE, 1 ) }


1.b,
public Odrodzenie  if(information_item_player[id][0] == 40) // 7.6 Ponyho deagle
{
new iGun = give_item( id, "weapon_deagle" )
cs_set_weapon_ammo( iGun, 1 )
cs_set_user_bpammo( id, CSW_DEAGLE, 1 );
}


This is not good write but i want only show you it..


Please help least with 1 and 2 :(((

Thanks
Odpowiedz

Gość_21977_* 14.06.2012

1. Try SetHamParamFloat(4, 0.0); instead of returning HAM_SUPERCEDE;
Odpowiedz

  • +
  • -
MarWit - zdjęcie MarWit 15.06.2012

This message has been generated automatically


This topic has been closed by the moderator.

Reason: Problem solved

If you do not agree with this, Dołączona grafika (report) this post and a moderator or administrator will consider it again.


Regards,
AMXX.PL Team
Odpowiedz
Zablokowany