View Single Post
Author Message
zonbarbar
Member
Join Date: Jul 2022
Old 01-26-2024 , 03:31   [l4d2] how to keep specific entity id when chapter changing
Reply With Quote #1

i want to make different status to every weapon entity, like damage or shooting speed, this is the only way i found to make this happen, question is the entity id will be change after finish of round.

Code: int iCurrentWeapon = GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon");

PrintToChatAll("%d", iCurrentWeapon);

I use this to get entity id, is this the entity id?
zonbarbar is offline