Jump to content

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Posted Image Posted Image

Guest Message by DevFuse
 

Photo

[SOLVED] CoD mini help


  • This topic is locked This topic is locked
2 replies to this topic

#1 Mafinka

    Pomocny

  • Girl

Reputacja: -2
Nowy

  • Postów:61
  • Lokalizacja:Bratislava
Offline

Posted 13.06.2012 15:44

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
  • +
  • -
  • 0

#2 Gość_21977_*

  • Gość

Reputacja: 0

Offline

Posted 14.06.2012 18:52

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

#3 MarWit

    The Chosen One

  • Przyjaciel

Reputacja: 843
Czempion

  • Postów:1,485
  • GG:
  • Steam:steam
  • Imię:Marcin
  • Lokalizacja:Bystrzyca
Offline

Posted 15.06.2012 19:36

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
  • +
  • -
  • 0

marwit-0.png





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users