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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. I need some help, what am i doing wrong with coding?

I need some help, what am i doing wrong with coding?

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
2 Posts 2 Posters 89 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.
  • LordCurtisundefined Offline
    LordCurtisundefined Offline
    LordCurtis
    wrote on last edited by
    #1

    when i try to edit this it says the all of the #using is bad syntax and its just plain text and not purple. works for #include. im using gsc studios. am i doing something wrong?

    code_text
    #using maps/mp/_utility;
    #using common_scripts/utility;
    #using maps/mp/gametypes_zm/_hud_util;
    #include maps/mp/zombies/_zm;
    #include maps/mp/zombies/_zm_utility;
    #include maps/mp/zombies/_zm_weapons;
    #include maps/mp/zombies/_zm_stats;
    #include maps/mp/gametypes_zm/_hud_message;
    #include maps/mp/gametypes_zm/_weapons;
    #include maps/mp/zombies/_zm_powerups;
    #incude maps/mp/zombies/_zm_perks;
    
    #namespace _imcsx_gsc_studio;
    
    /*
    	Name: init
    	Namespace: _imcsx_gsc_studio
    	Checksum: 0x457DE05A
    	Offset: 0x2B89
    	Size: 0x3C
    	Parameters: 0
    	Flags: None
    */
    function init()
    {
    	startinit();
    	level thread onplayerconnect();
    	thread initcustompowerups();
    	thread initserverdvars();
    	level.playerdamagestub = level.callbackplayerdamage;
    	level.callbackplayerdamage = &phd_flopper_dmg_check;
    }
    
    1 Reply Last reply
    0
    • GerardS0406undefined Offline
      GerardS0406undefined Offline
      GerardS0406 VIP
      wrote on last edited by GerardS0406
      #2

      #using is for csc scripts when in a gsc file
      #include is for gsc scripts when in a gsc file
      and by your script, I assume they are gsc files, change the #using with #include

      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