Adds the given string into the stringtable.
the string to add
if were adding the string serverside or not
Returns the index that was assigned to the string