ExclamationIs there a way to get unlimited ammo in MP as HOST

Posts 1–10 of 10 · Page 1 of 1
Is there a way to get unlimited ammo in MP as HOST
I tired using the drav way and it wouldn't work so if anyone know a way to get unlimited ammo that would be nice so i can give crazy severs running and allowing xp lobby so people can rank up.
This is possible with MW2Lua, just add CALLREF(0x0520980, playerEntnum) to the onTick callback.
Quote Originally Posted by superfredekiller View Post
This is possible with MW2Lua, just add CALLREF(0x0520980, playerEntnum) to the onTick callback.
MW2Lua is for private matches only... useless
No i don't want to make it private sever i want to have unlimited ammo on a public sever like mw2chaos
is there anyhitng like that working right now
Can you explain in more depth and how to use mw2Lua
Tell me more unless whattttt?
Some mod menus allow you to do it, mine has it but its a private one so I can't send u it sorry, theres a couple on yt that have it if u want to go and look there
Pretty sure that you can only use unlimited ammo in private game lobbies.
Quote Originally Posted by dawoodsaeed View Post
I tired using the drav way and it wouldn't work so if anyone know a way to get unlimited ammo that would be nice so i can give crazy severs running and allowing xp lobby so people can rank up.
no its impossible as i know
Code:
#define IW4_FUNCTION(FUNC_NAME, RETURN_TYPE, ARGUMENTS, ADDRESS) inline RETURN_TYPE(*FUNC_NAME) ARGUMENTS = reinterpret_cast<RETURN_TYPE(*) ARGUMENTS>(ADDRESS)
IW4_FUNCTION(Add_Ammo, void, (gentity_s *target, int weaponIndex, char weaponModel, int count, int fillClip), 0x52B530);
In your fire weapon detour:
Code:
for(int k = 0; k < 18; k++){
gentity_s client = g_entities[k];
Game::Add_Ammo(&g_entities[k], Game::BG_GetViewmodelWeaponIndex(&client.client->playerState), 1, 999, 999);
}
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?