Add del local player ped util
This commit is contained in:
@@ -1382,4 +1382,15 @@ function createAttachedGameBlip(element, type, size, colour = toColour(255, 255,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ===========================================================================
|
||||||
|
|
||||||
|
function deletePlayerPed(client) {
|
||||||
|
if (areServerElementsSupported()) {
|
||||||
|
destroyElement(client.player);
|
||||||
|
} else {
|
||||||
|
sendNetworkEventToPlayer("vrr.deleteLocalPlayerPed", client);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
Reference in New Issue
Block a user