13.11.2013, 10:49
Nevermind, I can use Incognito's streamer to do this. I am still curious though
Hello!
I am working on a new project, and I am wondering if it is somehow possible to check if a PlayerText3D exists. I tried something (I thought that'd work) but I get the tag mismatch error. This is how I have done it now;
The vars I tried to check it with:
And then I tried this (in OnPlayerSpawn, to prevent textdraws from creating twice)
And on the lines where I check the value, I get the warning 213: tag mismatch warnings.
So, does anyone know how to fix that?
Kind regards,
Kevin
Hello!
I am working on a new project, and I am wondering if it is somehow possible to check if a PlayerText3D exists. I tried something (I thought that'd work) but I get the tag mismatch error. This is how I have done it now;
The vars I tried to check it with:
pawn Код:
enum pInfo
{
PlayerText3D:pLabelNews,
PlayerText3D:pLabelPCSocial,
};
new PlayerInfo[MAX_PLAYERS][pInfo];
pawn Код:
if (PlayerInfo[playerid][pLabelNews] == INVALID_3DTEXT_ID)
PlayerInfo[playerid][pLabelNews] = Create..; //Creating the label, no errors
So, does anyone know how to fix that?
Kind regards,
Kevin