Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public textdraw()
- {
- // You decrease the start time here
- EventStartTime--;
- // Check if we need to start the event
- if(EventStartTime == 0)
- {
- /*StartYourEvent;*/
- KillTimer(EventStartTimer );
- TextDrawHideForAll(TDEditor_TD[1]);
- }
- else
- {
- new string[1243];
- // Edit the text draw with the correct time
- format(string, sizeof(string), "The event will start in %d seconds", EventStartTime);
- TextDrawSetString(TDEditor_TD[0], string);
- TextDrawShowForAll(TDEditor_TD[1]);
- }
- }
- ///////TeXTDRAWS//////
- TDEditor_TD[0] = TextDrawCreate(426.800079, 1.839988, "Event_Cry_DM_Will_Start_After~n~10_seconds_Type_/event_to_join");
- TextDrawLetterSize(TDEditor_TD[0], 0.400000, 1.600000);
- TextDrawTextSize(TDEditor_TD[0], 635.000000, 0.000000);
- TextDrawAlignment(TDEditor_TD[0], 1);
- TextDrawColor(TDEditor_TD[0], -1);
- TextDrawUseBox(TDEditor_TD[0], 1);
- TextDrawBoxColor(TDEditor_TD[0], 30975);
- TextDrawSetShadow(TDEditor_TD[0], 0);
- TextDrawSetOutline(TDEditor_TD[0], 0);
- TextDrawBackgroundColor(TDEditor_TD[0], 255);
- TextDrawFont(TDEditor_TD[0], 1);
- TextDrawSetProportional(TDEditor_TD[0], 1);
- TextDrawSetShadow(TDEditor_TD[0], 0);
- //============//
- TDEditor_TD[1] = TextDrawCreate(426.800079, 1.839988, "Event_Cry_DM_Will_Start_After~n~9_seconds_Type_/event_to_join");
- TextDrawLetterSize(TDEditor_TD[1], 0.400000, 1.600000);
- TextDrawTextSize(TDEditor_TD[1], 635.000000, 0.000000);
- TextDrawAlignment(TDEditor_TD[1], 1);
- TextDrawColor(TDEditor_TD[1], -1);
- TextDrawUseBox(TDEditor_TD[1], 1);
- TextDrawBoxColor(TDEditor_TD[1], 30975);
- TextDrawSetShadow(TDEditor_TD[1], 0);
- TextDrawSetOutline(TDEditor_TD[1], 0);
- TextDrawBackgroundColor(TDEditor_TD[1], 255);
- TextDrawFont(TDEditor_TD[1], 1);
- TextDrawSetProportional(TDEditor_TD[1], 1);
- TextDrawSetShadow(TDEditor_TD[1], 0);
Advertisement
Add Comment
Please, Sign In to add comment