01.05.2017, 02:47
Код:
some3dtext = CreateDynamic3DTextLabel("hi", -1, 0.0, 0.0, 0.0, 0.0, 0); DestroyDynamic3DTextLabel(some3dtext); printf("%i", some3dtext); //prints 1 if (IsValidDynamic3DTextLabel(some3dtext )) { printf("first is valid..."); //this doesn't print } some3dtext = INVALID_3DTEXT_ID; printf("%i", some3dtext); //prints 65535 if (IsValidDynamic3DTextLabel(some3dtext)) { printf("invalid is valid..."); //this doesn't print }