Ped for net event util

This commit is contained in:
Vortrex
2022-03-17 08:05:41 -05:00
parent 9f6c8b1026
commit 406334555d

View File

@@ -465,3 +465,13 @@ function isClientInitialized(client) {
}
// ===========================================================================
function getPedForNetworkEvent(ped) {
if(getGame() == VRR_GAME_GTA_IV) {
return ped;
} else {
return ped.id;
}
}
// ===========================================================================