Guest User

Untitled

a guest
Jun 24th, 2017
504
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.18 KB | None | 0 0
  1. new PlayerText:RegisterTD0[MAX_PLAYERS];
  2. new PlayerText:RegisterTD1[MAX_PLAYERS];
  3. new PlayerText:RegisterTD2[MAX_PLAYERS];
  4. new PlayerText:RegisterTD3[MAX_PLAYERS];
  5. new PlayerText:RegisterTD4[MAX_PLAYERS];
  6. new PlayerText:RegisterTD5[MAX_PLAYERS];
  7. new PlayerText:RegisterTD6[MAX_PLAYERS];
  8. new PlayerText:RegisterTD7[MAX_PLAYERS];
  9. new PlayerText:RegisterTD8[MAX_PLAYERS];
  10. new PlayerText:RegisterTD9[MAX_PLAYERS];
  11. new PlayerText:RegisterTD10[MAX_PLAYERS];
  12. new PlayerText:RegisterTD11[MAX_PLAYERS];
  13. new PlayerText:RegisterTD12[MAX_PLAYERS];
  14. new PlayerText:RegisterTD13[MAX_PLAYERS];
  15. new PlayerText:RegisterTD14[MAX_PLAYERS];
  16. new PlayerText:RegisterTD15[MAX_PLAYERS];
  17. new PlayerText:RegisterTD16[MAX_PLAYERS];
  18. new PlayerText:RegisterTD17[MAX_PLAYERS];
  19. new PlayerText:RegisterTD18[MAX_PLAYERS];
  20. new PlayerText:RegisterTD19[MAX_PLAYERS];
  21. new PlayerText:RegisterTD20[MAX_PLAYERS];
  22. new PlayerText:RegisterTD21[MAX_PLAYERS];
  23. new PlayerText:RegisterTD22[MAX_PLAYERS];
  24. new PlayerText:RegisterTD23[MAX_PLAYERS];
  25. new PlayerText:RegisterTD24[MAX_PLAYERS];
  26. new PlayerText:RegisterTD25[MAX_PLAYERS];
  27. new PlayerText:RegisterTD26[MAX_PLAYERS];
  28. new PlayerText:RegisterTD27[MAX_PLAYERS];
  29. new PlayerText:RegisterTD28[MAX_PLAYERS];
  30. new PlayerText:RegisterTD29[MAX_PLAYERS];
  31. new PlayerText:RegisterTD30[MAX_PLAYERS];
  32. new PlayerText:RegisterTD31[MAX_PLAYERS];
  33. new PlayerText:RegisterTD32[MAX_PLAYERS];
  34. new PlayerText:RegisterTD33[MAX_PLAYERS];
  35. new PlayerText:RegisterTD34[MAX_PLAYERS];
  36.  
  37.  
  38. public OnPlayerClickTextDraw(playerid, Text:clickedid)
  39. {
  40. if(_:clickedid == INVALID_TEXT_DRAW) return CallLocalFunction("OnPlayerClickPlayerTextDraw", "ii", playerid, INVALID_TEXT_DRAW);
  41. return 1;
  42. }
  43. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  44. {
  45. new klickigraca[512];
  46. new coordstring1[128];
  47. new coordstring2[128];
  48. new age = PlayerInfo[clickedplayerid][pAge];
  49. format(coordstring1, sizeof(coordstring1), "Level:[%i]\n",GetPlayerScore(clickedplayerid));
  50. format(coordstring2, sizeof(coordstring2), "Godini:[%d]",age);
  51. format(klickigraca, 512,"%s%s",coordstring1,coordstring2);
  52. ShowPlayerDialog(playerid,KLIKMENU, DIALOG_STYLE_MSGBOX, "Statsi", klickigraca , "OK", "");
  53. return 1;
  54. }
  55. public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
  56. {
  57. if(playertextid == RegisterTD16[playerid])
  58. {
  59. new regstring[600];
  60. new regname[64];
  61. GetPlayerName(playerid,regname,sizeof(regname));
  62. format(regstring, sizeof(regstring), "{FFFFFF}Dobredojdovte Gospodine %s\n{3089EF}>{FFFFFF}Vasiot akaunt ne e registriran\nve molime da ja vnesete vasata lozinka i da go registrirate\nvasiot akaunt.",regname);
  63. format(regstring, sizeof(regstring), "%s\n\n{3089EF}>{FFFFFF}Ve sovetuvame da vnesete lozinka koja nemoze\nlesno da bide probiena od drugi lica(koristete brojki i bukvi)\ntaka najdobro ke go zastitite vasiot akaunt.",regstring);
  64. format(regstring, sizeof(regstring), "%s\n\n{3089EF}>{FFFFFF}DreamWorking vi posakuva mnogu zabava i druzenje\ni ve zamoluva da igrate spored Role-Play pravilata.\n{3089EF}>{FFFFFF}Dokolku imate nekoj problem posetete {E3EB15}www.sa-mp.com",regstring);
  65. ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"{FF4040}Registracija",regstring,"Ok","Izlez");
  66. CancelSelectTextDraw(playerid);
  67. }
  68. else if(playertextid == RegisterTD19[playerid])
  69. {
  70. new estring[600];
  71. format(estring, sizeof(estring), "{3089EF}>{FFFFFF}Vo poleto vnesete ja vasata e-mail adresa koja ke vi pomogne",estring);
  72. format(estring, sizeof(estring), "%s\n{FFFFFF}da si je resetirate lozinkata na vasiot akaunt.",estring);
  73. format(estring, sizeof(estring), "%s\n\n{3089EF}>{FFFFFF}Vnesete tocna E-Mail adresa bidejki taka najdobro",estring);
  74. format(estring, sizeof(estring), "%s\n{FFFFFF}ke si go zastitite vasiot akaunt.",estring);
  75. format(estring, sizeof(estring), "%s\n\n\n\n{3089EF}>{FFFFFF}Primer za validna e-mail adresa: [email protected]",estring);
  76. ShowPlayerDialog(playerid,EMAILMENU,DIALOG_STYLE_INPUT,"{FF4040}Vasata E-Mail?",estring,"Potvrdi","");
  77. CancelSelectTextDraw(playerid);
  78. }
  79. else if(playertextid == RegisterTD22[playerid])
  80. {
  81. ShowPlayerDialog(playerid, GODINE, DIALOG_STYLE_LIST, "{FF4040}Kolku godini imate?", "16 godini\n17 godini\n18 godini\n19 godini\n20 godini\n21 godini\n22 godini\n23 godini\n24 godini\n25 godini\n26 godini\n27 godini\n28 godini\n29 godini\n30 godini\nPovekje od 31 godina", "Potvrdi", "Iskluci");
  82. CancelSelectTextDraw(playerid);
  83. }
  84. else if(playertextid == RegisterTD25[playerid])
  85. {
  86. ShowPlayerDialog(playerid, DRZ, DIALOG_STYLE_LIST, "{FF4040}Od kade ste?", "Makedonija\nHrvatska\nSrbija\nBosna", "Potvrdi", "Iskluci");
  87. CancelSelectTextDraw(playerid);
  88. }
  89. else if(playertextid == RegisterTD28[playerid])
  90. {
  91. ShowPlayerDialog(playerid, MUSKO, DIALOG_STYLE_LIST, "{FF4040}Vie ste?", "Masko\nZensko", "Prifakjam", "Odbivam");
  92. CancelSelectTextDraw(playerid);
  93. }
  94. else if(playertextid == RegisterTD32[playerid])
  95. {
  96. PlayerTextDrawHide(playerid, RegisterTD0[playerid]);
  97. PlayerTextDrawHide(playerid, RegisterTD1[playerid]);
  98. PlayerTextDrawHide(playerid, RegisterTD2[playerid]);
  99. PlayerTextDrawHide(playerid, RegisterTD3[playerid]);
  100. PlayerTextDrawHide(playerid, RegisterTD4[playerid]);
  101. PlayerTextDrawHide(playerid, RegisterTD5[playerid]);
  102. PlayerTextDrawHide(playerid, RegisterTD6[playerid]);
  103. PlayerTextDrawHide(playerid, RegisterTD7[playerid]);
  104. PlayerTextDrawHide(playerid, RegisterTD8[playerid]);
  105. PlayerTextDrawHide(playerid, RegisterTD9[playerid]);
  106. PlayerTextDrawHide(playerid, RegisterTD10[playerid]);
  107. PlayerTextDrawHide(playerid, RegisterTD11[playerid]);
  108. PlayerTextDrawHide(playerid, RegisterTD12[playerid]);
  109. PlayerTextDrawHide(playerid, RegisterTD13[playerid]);
  110. PlayerTextDrawHide(playerid, RegisterTD14[playerid]);
  111. PlayerTextDrawHide(playerid, RegisterTD15[playerid]);
  112. PlayerTextDrawHide(playerid, RegisterTD16[playerid]);
  113. PlayerTextDrawHide(playerid, RegisterTD17[playerid]);
  114. PlayerTextDrawHide(playerid, RegisterTD18[playerid]);
  115. PlayerTextDrawHide(playerid, RegisterTD19[playerid]);
  116. PlayerTextDrawHide(playerid, RegisterTD20[playerid]);
  117. PlayerTextDrawHide(playerid, RegisterTD21[playerid]);
  118. PlayerTextDrawHide(playerid, RegisterTD22[playerid]);
  119. PlayerTextDrawHide(playerid, RegisterTD23[playerid]);
  120. PlayerTextDrawHide(playerid, RegisterTD24[playerid]);
  121. PlayerTextDrawHide(playerid, RegisterTD25[playerid]);
  122. PlayerTextDrawHide(playerid, RegisterTD26[playerid]);
  123. PlayerTextDrawHide(playerid, RegisterTD27[playerid]);
  124. PlayerTextDrawHide(playerid, RegisterTD28[playerid]);
  125. PlayerTextDrawHide(playerid, RegisterTD29[playerid]);
  126. PlayerTextDrawHide(playerid, RegisterTD30[playerid]);
  127. PlayerTextDrawHide(playerid, RegisterTD31[playerid]);
  128. PlayerTextDrawHide(playerid, RegisterTD32[playerid]);
  129. PlayerTextDrawHide(playerid, RegisterTD33[playerid]);
  130. PlayerTextDrawHide(playerid, RegisterTD34[playerid]);
  131. //==============================================================================
  132. ClearChatbox(playerid, 100);
  133. new prstring[1024];
  134. format(prstring, sizeof(prstring), "{FFFFFF}Dobrodojdovte na DreamWorking Macedonia",prstring);
  135. format(prstring, sizeof(prstring), "%s\n{3089EF}>{FFFFFF}Pred da zapocnete so igranje potrebno e da\ngo registrirate vasiot akaunt.",prstring);
  136. format(prstring, sizeof(prstring), "%s\n\n{3089EF}>{FFFFFF}Za uspesna registracija ke treba da odgovorite",prstring);
  137. format(prstring, sizeof(prstring), "%s\n{FFFFFF}na prasanjata koi ke vi bidat postaveni i se vo vrska so Role Play",prstring);
  138. format(prstring, sizeof(prstring), "%s\n{FFFFFF}pravilata koi ke treba da gi procituvate pri igranje",prstring);
  139. format(prstring, sizeof(prstring), "%s\n{FFFFFF}za taa cel uspesno sledete go tutorijalot koj ke vi bide prikazan.",prstring);
  140. format(prstring, sizeof(prstring), "%s\n\n{3089EF}>{FFFFFF}DreamWorking Gaming vi posakuva mnogu zabava i druzenje.",prstring);
  141. format(prstring, sizeof(prstring), "%s\n{3089EF}>{FFFFFF}Dokolku imate nekoj problem posetete {E3EB15}www.sa-mp.com",prstring);
  142. ShowPlayerDialog(playerid,PRST,DIALOG_STYLE_MSGBOX,"{FF4040}Registracija",prstring,"Ok","Izlez");
  143. CancelSelectTextDraw(playerid);
  144. }
  145. return 1;
  146. }
Advertisement
Add Comment
Please, Sign In to add comment