Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
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 348 Views
  • 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.
  • 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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      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
      • Unread 0
      • Recent
      • Tags
      • Popular
      • Users
      • Groups