     network.RegisterRemoteEvent("PlayerSpawned");
     network.RegisterRemoteEvent("UpdateScore");
     network.RegisterRemoteEvent("UpdateHiscores");
+    network.RegisterRemoteEvent("ParticleEffect");
 
     if (runServer)
     {

        SubscribeToEvent("UpdateScore", "HandleUpdateScore");
        SubscribeToEvent("UpdateHiscores", "HandleUpdateHiscores");
        SubscribeToEvent("NetworkUpdateSent", "HandleNetworkUpdateSent");
    }
}


        network.serverConnection.controls.Set(CTRL_ALL, false);
}

void HandleParticleEffect(StringHash eventType, VariantMap& eventData)
{
    Vector3 position = eventData["Position"].GetVector3();
    String effectName = eventData["EffectName"].GetString();
    float duration = eventData["Duration"].GetFloat();
    SpawnParticleEffect(position, effectName, duration, LOCAL);
}

int FindPlayerIndex(uint nodeID)
{
    for (uint i = 0; i < players.length; ++i)
