carlosdorelli

Untitled

May 3rd, 2020
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. //Survival for Unturned Mania by Carlos Dorelli (Eldremor)
  2. //Escolha a língua
  3. event onPlayerJoined(player, text){
  4. effectManager.sendUI(9702, 1, player.id);
  5. effectManager.sendUI(9700, 2, player.id);
  6. effectManager.sendUI(9703, 3, player.id);
  7. effectManager.sendUI(9701, 4, player.id);
  8. }
  9.  
  10. event onEffectButtonClicked(player, key){
  11. if(key == "BRA"){
  12. player.message("sexo anal");
  13. }
  14. }
  15.  
  16. //Mensagens entrar/sair
  17. event onPlayerJoined(player, text){
  18. if(player.hasGroup("portugues")){
  19. player.message("<color=#ffee00>" + player.name + "entrou no servidor.</color>");
  20. }
  21. if(player.hasGroup("english")){
  22. player.message("<color=#ffee00>" + player.name + "joined the server.</color>");
  23. }
  24. if(player.hasGroup("espanol")){
  25. player.message("<color=#ffee00>" + player.name + "entró al servidor.</color>");
  26. }
  27. }
  28.  
  29. event onPlayerQuit(player){
  30. if(player.hasGroup("portugues")){
  31. player.message("<color=#ffee00>" + player.name + "saiu no servidor.</color>");
  32. }
  33. if(player.hasGroup("english")){
  34. player.message("<color=#ffee00>" + player.name + "left the server.</color>");
  35. }
  36. if(player.hasGroup("espanol")){
  37. player.message("<color=#ffee00>" + player.name + "dejó el servidor.</color>");
  38. }
  39. }
  40.  
  41. //Comandos
  42. command wipe(text){
  43. permission = "wipe";
  44. execute(){
  45. if(player.hasGroup("portugues")){
  46. player.message("<color=#ffee00>Próximo wipe em 15/06/2020.</color>");
  47. }
  48. if(player.hasGroup("english")){
  49. player.message("<color=#ffee00>Next wipe in 15/06/2020.</color>");
  50. }
  51. if(player.hasGroup("espanol")){
  52. player.message("<color=#ffee00>Siguiente wipe el 15/06/2020.</color>");
  53. }
  54. }
  55. }
  56.  
  57. command discord(text){
  58. permission = "discord";
  59. execute(){
  60. if(player.hasGroup("portugues")){
  61. player.browserRequest("Entre em nosso servidor de Discord!", "https://discord.gg/TcGXUBd");
  62. }
  63. if(player.hasGroup("english")){
  64. player.browserRequest("Join our Discord Server!", "https://discord.gg/TcGXUBd");
  65. }
  66. if(player.hasGroup("espanol")){
  67. player.browserRequest("¡Únete a nuestro servidor Discord!", "https://discord.gg/TcGXUBd");
  68. }
  69. }
  70. }
  71.  
  72. command site(text){
  73. permission = "discord";
  74. execute(){
  75. if(player.hasGroup("portugues")){
  76. player.browserRequest("Visite nosso website!", "https://unturned-mania.com");
  77. }
  78. if(player.hasGroup("english")){
  79. player.browserRequest("Visit our website today!", "https://unturned-mania.com");
  80. }
  81. if(player.hasGroup("espanol")){
  82. player.browserRequest("Visita nuestro sitio web!", "https://unturned-mania.com");
  83. }
  84. }
  85. }
  86.  
  87. // Comando Regras
  88. command regras(text){
  89. permission = "regras";
  90. execute(){
  91. player.browserRequest("Leia as regras em nosso Discord!", "https://discord.gg/TcGXUBd");
  92. }
  93. }
  94.  
  95. command rules(text){
  96. permission = "rules";
  97. execute(){
  98. player.browserRequest("Read the rules in our Discord!", "https://discord.gg/TcGXUBd");
  99. }
  100. }
  101.  
  102. command reglas(text){
  103. permission = "reglas";
  104. execute(){
  105. player.browserRequest("Lea las reglas en nuestro Discord!", "https://discord.gg/TcGXUBd");
  106. }
  107. }
Add Comment
Please, Sign In to add comment