Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Modding:Modder Guide/APIs/Console
(view source)
Revision as of 18:20, 19 February 2021
18 bytes added
,
18:20, 19 February 2021
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:
RetroEdit
114
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Modding
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Admin noticeboard
Help Editing
Random page
Official Links
Official Site
Official Forums
Official Merchandise
Discord
Reddit
Tools
Upload file
Special pages
Printable version