Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. MW3 Modding Support & Discussion
  3. How to load gsc scripts for users by default?

How to load gsc scripts for users by default?

Scheduled Pinned Locked Moved MW3 Modding Support & Discussion
2 Posts 2 Posters 104 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TheBigAndryundefined Offline
    TheBigAndryundefined Offline
    TheBigAndry
    wrote on last edited by
    #1

    I was starting to experiment with creating gsc scripts. Can you please tell me how to load a gsc script when the user enters the server? In short, I would like it to be loaded by default.

    1 Reply Last reply
    0
    • Resxtundefined Offline
      Resxtundefined Offline
      Resxt Plutonium Staff
      wrote on last edited by
      #2

      Scripts are always loaded unless you specifically do something to have them not loaded
      Scripts are server side so "loading them for each user" doesn't really mean anything, scripts are always only loaded once by the server

      What you need to do is apply some logic on player connection or spawn, if you have a per player logic
      You can see an example here
      https://github.com/Resxt/Plutonium-T6-Scripts/blob/main/small_scripts/get_player_guid.gsc

      1 Reply Last reply
      0

      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Donate