Changes

m
Replace deprecated <source> tags with <syntaxhighlight> tags
Line 14: Line 14:     
This code creates a minimal <tt>player_setmoney</tt> command:
 
This code creates a minimal <tt>player_setmoney</tt> command:
<source lang="C#">
+
<syntaxhighlight lang="C#">
 
/// <summary>The main entry point for the mod.</summary>
 
/// <summary>The main entry point for the mod.</summary>
 
public class ModEntry : Mod
 
public class ModEntry : Mod
Line 41: Line 41:  
     }
 
     }
 
}
 
}
</source>
+
</syntaxhighlight>
    
Here's how the player would use it:
 
Here's how the player would use it:
114

edits