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

Topic created · 2 Posts · 37 Views
  • 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;
    }
    
  • #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

Log in to reply