Advertisement
Guest User

Untitled

a guest
Feb 10th, 2021
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.04 KB | None | 0 0
  1.     DMVTD[playerid][0] = CreatePlayerTextDraw(playerid, 322.000000, 154.000000, "_");
  2.     PlayerTextDrawFont(playerid, DMVTD[playerid][0], 1);
  3.     PlayerTextDrawLetterSize(playerid, DMVTD[playerid][0], 0.600000, 13.700010);
  4.     PlayerTextDrawTextSize(playerid, DMVTD[playerid][0], 298.500000, 275.000000);
  5.     PlayerTextDrawSetOutline(playerid, DMVTD[playerid][0], 1);
  6.     PlayerTextDrawSetShadow(playerid, DMVTD[playerid][0], 0);
  7.     PlayerTextDrawAlignment(playerid, DMVTD[playerid][0], 2);
  8.     PlayerTextDrawColor(playerid, DMVTD[playerid][0], -1);
  9.     PlayerTextDrawBackgroundColor(playerid, DMVTD[playerid][0], 255);
  10.     PlayerTextDrawBoxColor(playerid, DMVTD[playerid][0], 135);
  11.     PlayerTextDrawUseBox(playerid, DMVTD[playerid][0], 1);
  12.     PlayerTextDrawSetProportional(playerid, DMVTD[playerid][0], 1);
  13.     PlayerTextDrawSetSelectable(playerid, DMVTD[playerid][0], 0);
  14.  
  15. function StartDMV(playerid){
  16.     new TextStep1[100];
  17.     PlayerTextDrawShow(playerid, DMVTD[playerid][0]), PlayerTextDrawShow(playerid, DMVTD[playerid][1]);
  18.     format(TextStep1, sizeof(TextStep1), "Pe un drum public ai voie sa circuli cu o masina neinmatriculata?"),           
  19.     PlayerTextDrawSetString(playerid, DMVTD[playerid][2], TextStep1);
  20.     PlayerTextDrawShow(playerid, DMVTD[playerid][2]);
  21.     format(TextStep1, sizeof(TextStep1), "a) Da, poti circula."), PlayerTextDrawSetString(playerid, DMVTD[playerid][3], TextStep1),
  22.     PlayerTextDrawShow(playerid, DMVTD[playerid][3]);
  23.     format(TextStep1, sizeof(TextStep1), "b) Nu ai voie sa circuli cu o masina neinmatriculata."), PlayerTextDrawSetString(playerid,    
  24.     DMVTD[playerid][4], TextStep1);
  25.     PlayerTextDrawShow(playerid, DMVTD[playerid][4]);
  26.     Intrebare[playerid] = 1;
  27.     format(TextStep1, sizeof(TextStep1), "c) Poti circula doar in localitate."), PlayerTextDrawSetString(playerid, DMVTD[playerid][5],
  28.     TextStep1), PlayerTextDrawShow(playerid, DMVTD[playerid][5]);
  29.     PlayerTextDrawShow(playerid, DMVTD[playerid][6]), PlayerTextDrawShow(playerid, DMVTD[playerid][7]), PlayerTextDrawShow(playerid,
  30.     DMVTD[playerid][8]);
  31.     SelectTextDraw(playerid, 0xFF0000FF);
  32.     return 1;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement