Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int TextTagTest;
- bool TTTest_Action (bool testConds, bool runActions)
- {
- playergroup g = PlayerGroupActive();
- int player;
- int i;
- for (i = PlayerGroupCount(g); i>0; i-=1)
- {
- player = PlayerGroupPlayer(g,i);
- TextTagShow(TextTagTest,PlayerGroupSingle(player),true);
- if (TextTagVisible(TextTagTest,player))
- {
- UIDisplayMessage(g,c_messageAreaDirective,PlayerName(player)+StringToText(" CAN SEE THE TEXT TAG"));
- }
- Wait(2,c_timeGame);
- }
- return true;
- }
- void TTTest_Init ()
- {
- TextTagTest = TextTagCreate(StringToText("TEXT TAG"),24,Point(20,20),15,true,true,null);
- TriggerExecute(TriggerCreate("TTTest_Action"),false,false);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement