Author Topic: Basic Coding?!  (Read 915 times)

Once upon a time about maybe a year to 6 months ago I knew how to make like on Blockland script which was a basic help mod with like
the
 servercmd_HelpMod();

And I just want to make some basic script because sometimes I have to have other people make the mod for me and I make the script but whenever I make like the Script_HelloWorld and put the description and like stuff like that I put it in wherever it needs to go and it never works so badspot told me to look around the codes of other addons and ill do that but my main reason is why the addon wont work when I make it a .zip or a regular folder?!


Make .zip folder, and add 2 other files.

Description.txt
Code: [Select]
Title: TitleHere
Author: YourNameHere
Description: WhatDoesThisModDo?

server.cs
Code: [Select]
//INSERT YOUR SCRIPTS HERE

A zip folder is not required, you can simply make a folder named script_mymod in your add-ons folder and it will work fine.  However, a zip file is needed if you want to distribute the mod because that keeps it all in one piece for people to download.  In the folder you need a description.txt with at least one character in it, and either a client.cs or a server.cs (or both if you want) depending on what kind of mod it is.

A zip folder is not required, you can simply make a folder named script_mymod in your add-ons folder and it will work fine.  However, a zip file is needed if you want to distribute the mod because that keeps it all in one piece for people to download.  In the folder you need a description.txt with at least one character in it, and either a client.cs or a server.cs (or both if you want) depending on what kind of mod it is.
actually I use empty descriptions most of the time

actually I use empty descriptions most of the time

I thought there was an error "description.txt is blank" or something
but maybe I'm just a purple jellyfish with road rage issues and poor coding memory

Thx for helping so much!