Add single particle effect net event

This commit is contained in:
Vortrex
2022-07-26 01:01:52 -05:00
parent 206f7e691e
commit c28815b61c

View File

@@ -1273,4 +1273,10 @@ function sendPlayerToggleVehicleCruiseControl(client) {
sendNetworkEventToPlayer("agrp.cruiseControl", client);
}
// ==========================================================================
function showSingleParticleEffect(position, particleEffectId, strength = 1.0, duration = 5000) {
sendNetworkEventToPlayer("agrp.particleEffectSingle", null, position, particleEffectId, strength, duration);
}
// ==========================================================================