std::string str("test");
size_t len = str.size();
char *_str = new char[len + 1];
_str[str.copy(_str, len)] = '\0';
SF->getSAMP()->getInfo()->pPools->pText3D->Create3DText(30, _str, D3DCOLOR_ARGB(0xFF, 0xFF, 0xFF, 255), fPosition, 10.0f, true, -1, -1);