[How To?] Porting SHVDN scripts to CitizenFX.Core?

I was wondering if there was a tutorial available or if someone could expand/explain how one might port an already existing script so it may be used server-side on FiveM, Thanks.