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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Script error: Unexpected Character at #include line

Script error: Unexpected Character at #include line

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
bo2 helpscripterrorgsc script
2 Posts 2 Posters 136 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • kristaqvinundefined Offline
    kristaqvinundefined Offline
    kristaqvin
    wrote on last edited by
    #1

    Hello, I have decompiled a gsc script I wanted to modify. After modifying it, I placed the source code as gsc in the scripts folder of plutonium, but I get the following error as shown in the picture. The line is this:

    #include maps/mp/_utility;
    

    Στιγμιότυπο οθόνης 2025-09-30 233521.png

    Does anyone know what I'm doing wrong? Thanks!

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

      Change / to \ for includes and direct function calls

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

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