Add single particle effect net event
This commit is contained in:
@@ -1273,4 +1273,10 @@ function sendPlayerToggleVehicleCruiseControl(client) {
|
|||||||
sendNetworkEventToPlayer("agrp.cruiseControl", client);
|
sendNetworkEventToPlayer("agrp.cruiseControl", client);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ==========================================================================
|
||||||
|
|
||||||
|
function showSingleParticleEffect(position, particleEffectId, strength = 1.0, duration = 5000) {
|
||||||
|
sendNetworkEventToPlayer("agrp.particleEffectSingle", null, position, particleEffectId, strength, duration);
|
||||||
|
}
|
||||||
|
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
Reference in New Issue
Block a user