Zmajk0

Untitled

Nov 11th, 2020
66
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. new Text:interfejs;
  2.  
  3. interfejs = TextDrawCreate(-49.999980, -71.333351, "box");
  4. TextDrawLetterSize(interfejs, 0.000000, 60.359989);
  5. TextDrawTextSize(interfejs, 668.000000, 0.000000);
  6. TextDrawAlignment(interfejs, 1);
  7. TextDrawColor(interfejs, 536871370);
  8. TextDrawUseBox(interfejs, 1);
  9. TextDrawBoxColor(interfejs, -3814);
  10. TextDrawSetShadow(interfejs, 0);
  11. TextDrawSetOutline(interfejs, 0);
  12. TextDrawBackgroundColor(interfejs, 536871370);
  13. TextDrawFont(interfejs, 1);
  14. TextDrawSetProportional(interfejs, 1);
  15. TextDrawSetShadow(interfejs, 0);
  16.  
  17. //onplayerconect
  18. Interfejs[playerid]=0;
  19.  
  20. //onplayerspawn
  21. TextDrawHideForPlayer(playerid, interfejs);
  22. Interfejs[playerid]=0;
  23.  
  24. //ondialogresponse
  25. if(Interfejs[playerid]==0)
  26. {
  27. TextDrawShowForPlayer(playerid, interfejs);
  28. GameTextForPlayer(playerid,!"~w~interfejs ~g~ukljucen!",3500,3),PlayerPlaySound(playerid,1052,0,0,0.0);
  29. Interfejs[playerid]=1;
  30. }
  31. else
  32. {
  33. TextDrawHideForPlayer(playerid, interfejs);
  34. GameTextForPlayer(playerid,!"~w~interfejs ~r~iskljucen!",3500,3),PlayerPlaySound(playerid,1052,0,0,0.0);
  35. Interfejs[playerid]=0;
  36. }
RAW Paste Data