Raised This Month: $12 Target: $400
 3% 

Solved CSGO giving ammo to cz75


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 12-27-2017 , 13:17   CSGO giving ammo to cz75
Reply With Quote #1

tried
PHP Code:
GivePlayerItem(client"ammo_357sig_min"
and it doesn't work

tried on listen server

Code:
sv_cheats 1
] give ammo_357sig_min
Attempted to create unknown entity type ammo_357sig_min!
any ideas?
__________________

Last edited by 8guawong; 12-29-2017 at 00:26.
8guawong is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 12-27-2017 , 13:58   Re: CSGO giving ammo to cz75
Reply With Quote #2

PHP Code:
        int iWeapon GivePlayerItem(client"weapon_cz75a");
        
SetEntProp(iWeaponProp_Data"m_iClip1"0);
        
//SetEntProp(iWeapon, Prop_Send, "m_iPrimaryReserveAmmoCount", 0);
        
SetEntProp(iWeaponProp_Send"m_iSecondaryReserveAmmoCount"0); 
Where "0" is the ammo count
__________________
coding & free software

Last edited by shanapu; 12-27-2017 at 13:59.
shanapu is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 12-27-2017 , 22:00   Re: CSGO giving ammo to cz75
Reply With Quote #3

Quote:
Originally Posted by shanapu View Post
PHP Code:
        int iWeapon GivePlayerItem(client"weapon_cz75a");
        
SetEntProp(iWeaponProp_Data"m_iClip1"0);
        
//SetEntProp(iWeapon, Prop_Send, "m_iPrimaryReserveAmmoCount", 0);
        
SetEntProp(iWeaponProp_Send"m_iSecondaryReserveAmmoCount"0); 
Where "0" is the ammo count
ok thx but i was hoping some1 would tell me ammo_357sig_min is broken in csgo instead
__________________
8guawong is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 12-28-2017 , 10:02   Re: CSGO giving ammo to cz75
Reply With Quote #4

Quote:
Originally Posted by 8guawong View Post
ok thx but i was hoping some1 would tell me ammo_357sig_min is broken in csgo instead
to be honest, i never heard about 'ammo_357sig_min' before.
And google just drop me this thread and a pastebin :/
__________________
coding & free software
shanapu is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 12-28-2017 , 21:57   Re: CSGO giving ammo to cz75
Reply With Quote #5

PHP Code:
 (**v0)(v0, &dword_14AAA68"ammo_50ae");
  
dword_14AAA6C = (int)off_F57F08;
  
v1 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v1)(v1, &dword_14AAA6C"ammo_762mm");
  
dword_14AAA70 = (int)off_F57F20;
  
v2 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v2)(v2, &dword_14AAA70"ammo_556mm");
  
dword_14AAA74 = (int)off_F57F38;
  
v3 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v3)(v3, &dword_14AAA74"ammo_556mm_small");
  
dword_14AAA78 = (int)off_F57F50;
  
v4 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v4)(v4, &dword_14AAA78"ammo_556mm_box");
  
dword_14AAA7C = (int)off_F57F68;
  
v5 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v5)(v5, &dword_14AAA7C"ammo_338mag");
  
dword_14AAA80 = (int)off_F57F80;
  
v6 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v6)(v6, &dword_14AAA80"ammo_9mm");
  
dword_14AAA84 = (int)off_F57F98;
  
v7 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v7)(v7, &dword_14AAA84"ammo_buckshot");
  
dword_14AAA88 = (int)off_F57FB0;
  
v8 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v8)(v8, &dword_14AAA88"ammo_45acp");
  
dword_14AAA8C = (int)off_F57FC8;
  
v9 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v9)(v9, &dword_14AAA8C"ammo_357sig");
  
dword_14AAA90 = (int)off_F57FE0;
  
v10 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v10)(v10, &dword_14AAA90, &unk_F57EA2);    // ammo_357sig_p250
  
dword_14AAA94 = (int)off_F57FF8;
  
v11 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v11)(v11, &dword_14AAA94"ammo_357sig_small");
  
dword_14AAA98 = (int)off_F58010;
  
v12 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v12)(v12, &dword_14AAA98"ammo_357sig_np_reserve");
  
dword_14AAA9C = (int)off_F58028;
  
v13 = (int (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  return (**
v13)(v13, &dword_14AAA9C"ammo_57mm"); 
Those look like all the ammo entity types

Last edited by Dr!fter; 12-28-2017 at 22:11.
Dr!fter is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 12-29-2017 , 00:26   Re: CSGO giving ammo to cz75
Reply With Quote #6

Quote:
Originally Posted by Dr!fter View Post
PHP Code:
 (**v0)(v0, &dword_14AAA68"ammo_50ae");
  
dword_14AAA6C = (int)off_F57F08;
  
v1 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v1)(v1, &dword_14AAA6C"ammo_762mm");
  
dword_14AAA70 = (int)off_F57F20;
  
v2 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v2)(v2, &dword_14AAA70"ammo_556mm");
  
dword_14AAA74 = (int)off_F57F38;
  
v3 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v3)(v3, &dword_14AAA74"ammo_556mm_small");
  
dword_14AAA78 = (int)off_F57F50;
  
v4 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v4)(v4, &dword_14AAA78"ammo_556mm_box");
  
dword_14AAA7C = (int)off_F57F68;
  
v5 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v5)(v5, &dword_14AAA7C"ammo_338mag");
  
dword_14AAA80 = (int)off_F57F80;
  
v6 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v6)(v6, &dword_14AAA80"ammo_9mm");
  
dword_14AAA84 = (int)off_F57F98;
  
v7 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v7)(v7, &dword_14AAA84"ammo_buckshot");
  
dword_14AAA88 = (int)off_F57FB0;
  
v8 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v8)(v8, &dword_14AAA88"ammo_45acp");
  
dword_14AAA8C = (int)off_F57FC8;
  
v9 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v9)(v9, &dword_14AAA8C"ammo_357sig");
  
dword_14AAA90 = (int)off_F57FE0;
  
v10 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v10)(v10, &dword_14AAA90, &unk_F57EA2);    // ammo_357sig_p250
  
dword_14AAA94 = (int)off_F57FF8;
  
v11 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v11)(v11, &dword_14AAA94"ammo_357sig_small");
  
dword_14AAA98 = (int)off_F58010;
  
v12 = (void (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  (**
v12)(v12, &dword_14AAA98"ammo_357sig_np_reserve");
  
dword_14AAA9C = (int)off_F58028;
  
v13 = (int (__cdecl ***)(_DWORD_DWORD_DWORD))sub_766790();
  return (**
v13)(v13, &dword_14AAA9C"ammo_57mm"); 
Those look like all the ammo entity types
thanks Dr!fter ammo_357sig_np_reserve is what i'm looking for
__________________
8guawong is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode