01.05.2012, 08:35
Heey all,
I made a afk and back command.
But when i do /back the 3dtextlabel is still above my head.
How can i fix this?
Thanks Admigo
I made a afk and back command.
But when i do /back the 3dtextlabel is still above my head.
Код:
if (strcmp("/back", cmdtext, true, 10) == 0) { TogglePlayerControllable(playerid,1); Delete3DTextLabel(Paused[playerid]); SendClientMessage(playerid,COLOR_PINK,"[Pause] You are not Paused Anymore !"); return 1; } if (strcmp("/afk", cmdtext, true, 10) == 0) { Paused[playerid] = Create3DTextLabel("Paused",-1,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(Paused[playerid], playerid, 0.0, 0.0, 0.7); TogglePlayerControllable(playerid,0); SendClientMessage(playerid,COLOR_PINK,"[Pause] You are Paused!"); return 1; }
Thanks Admigo