27.06.2014, 17:08
(
Последний раз редактировалось IKnowWhatIAmDoing; 14.08.2014 в 22:06.
)
^^READ THE LAST POST^^
Hello,
I am trying to do something regarding 3DTextlabels
I want to make a global 3DTextlabel, but I want it to be assigned to be a player ID, just like doing:
SObject[playerid] = CreateObject(....);
and then at someother part of the code:
if(IsValidObject(SObject[playerid]) DestroyObject(SObject[playerid]);
So these work fine with objects, however they don't work with 3d text labels. They give tag mismatch errors.
So I want to create a 3DTextlabel where a player is and assign the 3dtextlabel id to a variable and X seconds later I want to destroy the label, how can I do that? If I use player labels then it's going to be assigned for everyone. If I make global ones though then I can't use multiple labels.
Don't get me wrong, I want the labels to be visible for all players just NOT assigned for all players.
Thanks.
Hello,
I am trying to do something regarding 3DTextlabels
I want to make a global 3DTextlabel, but I want it to be assigned to be a player ID, just like doing:
SObject[playerid] = CreateObject(....);
and then at someother part of the code:
if(IsValidObject(SObject[playerid]) DestroyObject(SObject[playerid]);
So these work fine with objects, however they don't work with 3d text labels. They give tag mismatch errors.
So I want to create a 3DTextlabel where a player is and assign the 3dtextlabel id to a variable and X seconds later I want to destroy the label, how can I do that? If I use player labels then it's going to be assigned for everyone. If I make global ones though then I can't use multiple labels.
Don't get me wrong, I want the labels to be visible for all players just NOT assigned for all players.
Thanks.