31.07.2013, 15:53
try this
and btw you have not to use everywhere this Text3D:vip_text[playerid],only vip_text[playerid]
and btw you have not to use everywhere this Text3D:vip_text[playerid],only vip_text[playerid]
Код:
if(attach_vip[playerid] == true) { attach_vip[playerid] = false; Delete3DTextLabel(vip_text[playerid]); vip_text[playerid] = Text3D:INVALID_3DTEXT_ID; } else { attach_vip[playerid] = true; Update3DTextLabelText(Text3D:vip_text[playerid], COLOR_GROUP, "Donator Player"); Attach3DTextLabelToPlayer(Text3D:vip_text[playerid], playerid, 0.0, 0.0, 0.5); }