Author Topic: Handy Script Tips  (Read 2153 times)

I wrote these since I always get stuck and then later on I find it out.

1. Try to use stuff that doesn't need downloading, this is like lights, emitters and models..

2. Don't bother trying to copy protect your script. It will not work. I've ripped open Bleh7777's installer and used that.

3. DSOs are your friend, you can still find functions by looking inside them.

4. To find function names, open the console, press space then tab or type a bit of the function's start name in and keep pressing tab. I've found a few good ways.

I'll add more in the future.

5. Use comments (//) so learners can see what a bit of code does by reading you comment, leaving comment can also remind you what you was doing.

:P I only use comments as a header.

.DSO's are compiled script, opening them reveals nothing but a load of encrypted dribble.

You can see function names and arguments and other stuff if you read it.

read it?
you mean read the stuff it produces in the console?

Quote from: Top of centerPrint.cs.dso
Z   ê centerPrintAll %lines getCount ClientGroup %count %i getObject %cl isAIControlled commandToClient %message %time bottomPrintAll centerPrint %client bottomPrint clearCenterPrint clearBottomPrint clearCenterPrintAll clearBottomPrintAll     S    centerPrint bottomPrint CenterPrint BottomPrint ClearCenterPrint ClearBottomPrint