Grabbing correct name from an entity. I'm in process of making a protection, which i can leak once finished.It works 100% but is grabbing the wrong person's name.
How would i grab player's name from a ped. for instance if someone sends a ped crash, how would you grab network id from entity (Ped), any help would be appreciated.
This Is the current way im doing it, but its grabbing someone elses name.
This Is For Xbox... thanks
How would i grab player's name from a ped. for instance if someone sends a ped crash, how would you grab network id from entity (Ped), any help would be appreciated.
This Is the current way im doing it, but its grabbing someone elses name.
Code:
snprintf(buf, sizeof(buf), "~HUD_COLOUR_DAMAGE~%s ~w~Tried To Crash You....", PLAYER::GET_PLAYER_NAME(NETWORK::NETWORK_GET_NETWORK_ID_FROM_ENTITY(....)));
This Is For Xbox... thanks
2021 Best Be Better Then 2020