View Single Post
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-15-2024 , 08:16   Re: Dollar Weapon menu
Reply With Quote #7

it can't. this is not slowhacking. it is simulating players sending commands to the server.

EDIT:

PHP Code:
const PRIMARY_WEAPONS_BIT_SUM = (1<<CSW_SCOUT)|(1<<CSW_XM1014)|(1<<CSW_MAC10)|(1<<CSW_AUG)|(1<<CSW_UMP45)|(1<<CSW_SG550)|(1<<CSW_GALIL)|(1<<CSW_FAMAS)|(1<<CSW_AWP)|(1<<CSW_MP5NAVY)|(1<<CSW_M249)|(1<<CSW_M3)|(1<<CSW_M4A1)|(1<<CSW_TMP)|(1<<CSW_G3SG1)|(1<<CSW_SG552)|(1<<CSW_AK47)|(1<<CSW_P90);
const 
SECONDARY_WEAPONS_BIT_SUM = (1<<CSW_P228)|(1<<CSW_ELITE)|(1<<CSW_FIVESEVEN)|(1<<CSW_USP)|(1<<CSW_GLOCK18)|(1<<CSW_DEAGLE);

stock drop_weapons(iddropwhat)
{
   static 
Weapons[32], NumiWeaponID;
   
Num 0;
   
get_user_weapons(idWeaponsNum);
   for(
0Num++)
   {
      
WeaponID Weapons[i];
      if((
dropwhat == && ((<< WeaponID) & PRIMARY_WEAPONS_BIT_SUM)) || (dropwhat == && ((<< WeaponID) & SECONDARY_WEAPONS_BIT_SUM )))
      {
         static 
DropName[32], WeaponEntity;
         
get_weaponname(WeaponIDDropNamecharsmax(DropName));
         
WeaponEntity fm_find_ent_by_owner(-1DropNameid);
         
set_pev(WeaponEntitypev_iuser1cs_get_user_bpammo (idWeaponID));
         
engclient_cmd(id"drop"DropName);
         
cs_set_user_bpammo(idWeaponID0);
      }
   }

PHP Code:
drop_weapons(id,1
__________________

Last edited by georgik57; 03-15-2024 at 08:19.
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57