Frequent Mistake 4: The engine/plugin SDK is in your GS folder.

In all newer versions of the engine (>6.31) the SDK is located in the A6 folder.


Frequent Mistake 5: Using DirectX9 rendering features.

returns the active D3D device:

... = (LPDIRECT3DDEVICE9)draw_begin();

No need to close the scene after your code (via draw_end(); or present();), itīs handled by the engine!


Frequent Mistake 6a: Using type 'char' like STRING

One char is one letter (like 'A'). To use more than one char, define it like:

char* example; // This is a pointer to a group of chars

or

char example[] = "Hello"; // This is a char array ( in this case you have to provide a default string )

or

char example[5] = "Hello"; / /This is a normal char array
example = "bye!";


Frequent Mistake 6b: Accessing (A6-)string chars/letters

The string doesnīt just holds the chars, but some other informations like the index number in the engine. To directly access the chars use:

string example;
... = example->chars; // set the char pointer

Better use the _chr macro!