Xenox Posted November 25, 2019 Share Posted November 25, 2019 okay Link to comment Share on other sites More sharing options...
Smileey Posted November 26, 2019 Share Posted November 26, 2019 (edited) Am 25.11.2019 um 11:58 schrieb Xenox: okay Versuch das mal OLD ich kann dir nicht versprechen das es funktioniert da ich es nicht ausprobiert habe. Edited November 26, 2019 by Smileey Link to comment Share on other sites More sharing options...
Smileey Posted November 26, 2019 Share Posted November 26, 2019 (edited) So... ich habe es nun getestet und dies funktioniert unter C# [RemoteEvent("syncSirens")] public void VehSirenSync(Client c) { if (c.Vehicle.HasSharedData("silentMode") && c.Vehicle.GetSharedData("silentMode") == true) { c.Vehicle.SetSharedData("silentMode", false); } else { c.Vehicle.SetSharedData("silentMode", true); } } Edited November 26, 2019 by Smileey 1 Link to comment Share on other sites More sharing options...
Xenox Posted November 27, 2019 Share Posted November 27, 2019 (edited) danke dir Edited November 27, 2019 by Xenox Link to comment Share on other sites More sharing options...
ErikScripting Posted April 7, 2020 Share Posted April 7, 2020 Am 27.11.2019 um 03:30 schrieb Xenox: danke dir funktioniert es bei dir ich weiß nicht wie ich es hinzufügen kann könntest du mir die Datei zum download hochladen ? Wäre echt sehr nett Link to comment Share on other sites More sharing options...
Xenox Posted April 8, 2020 Share Posted April 8, 2020 Am 7.4.2020 um 02:17 schrieb ErikScripting: funktioniert es bei dir ich weiß nicht wie ich es hinzufügen kann könntest du mir die Datei zum download hochladen ? Wäre echt sehr nett ja es ging bei mir aber habe mittlerweile ein anderes system gebaut sorry.. Link to comment Share on other sites More sharing options...
ErikScripting Posted April 8, 2020 Share Posted April 8, 2020 (edited) vor 1 Stunde schrieb Xenox: ja es ging bei mir aber habe mittlerweile ein anderes system gebaut sorry.. ach so schade bei geht es nicht Edited April 8, 2020 by ErikScripting Link to comment Share on other sites More sharing options...
Dwayde Posted June 18, 2020 Share Posted June 18, 2020 Example with JS and C#? I cant get it work Link to comment Share on other sites More sharing options...
TRANE Posted July 11, 2020 Share Posted July 11, 2020 (edited) On 11/26/2019 at 5:48 PM, Smileey said: So... ich habe es nun getestet und dies funktioniert unter C# [RemoteEvent("syncSirens")] public void VehSirenSync(Client c) { if (c.Vehicle.HasSharedData("silentMode") && c.Vehicle.GetSharedData("silentMode") == true) { c.Vehicle.SetSharedData("silentMode", false); } else { c.Vehicle.SetSharedData("silentMode", true); } } Its not working at the moment. How do you fix it? Edited July 11, 2020 by TRANE Link to comment Share on other sites More sharing options...
zitroj Posted November 2, 2021 Share Posted November 2, 2021 (edited) Hi everyone. now I´m trying to make de same system in my server but it´s only works with player ID 0 and with the others players not. Someone can help me or have the same problem? Edited November 2, 2021 by zitroj Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now