Advertisement
Guest User

2

a guest
Jul 3rd, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.64 KB | None | 0 0
  1. Textdraw1[playerid] = TextDrawCreate(400.000000, 2.000000, " "); // jail time
  2. TextDrawAlignment(Textdraw1[playerid], 2);
  3. TextDrawBackgroundColor(Textdraw1[playerid], 255);
  4. TextDrawFont(Textdraw1[playerid], 1);
  5. TextDrawLetterSize(Textdraw1[playerid], 0.300000, 1.000000);
  6. TextDrawColor(Textdraw1[playerid], -1);
  7. TextDrawSetOutline(Textdraw1[playerid], 1);
  8. TextDrawSetProportional(Textdraw1[playerid], 1);
  9.  
  10. Textdraw39[playerid] = TextDrawCreate(498.000000, 123.000000, " "); // speedo
  11. TextDrawBackgroundColor(Textdraw39[playerid], 255);
  12. TextDrawFont(Textdraw39[playerid], 1);
  13. TextDrawLetterSize(Textdraw39[playerid], 0.389899, 1.299900);
  14. TextDrawColor(Textdraw39[playerid], 13107455);
  15. TextDrawSetOutline(Textdraw39[playerid], 1);
  16. TextDrawSetProportional(Textdraw39[playerid], 1);
  17.  
  18. Textdraw40[playerid] = TextDrawCreate(498.000000, 140.000000, " "); // fuel
  19. TextDrawBackgroundColor(Textdraw40[playerid], 255);
  20. TextDrawFont(Textdraw40[playerid], 1);
  21. TextDrawLetterSize(Textdraw40[playerid], 0.389999, 1.299999);
  22. TextDrawColor(Textdraw40[playerid], 0xFFFFFFFF);
  23. TextDrawSetOutline(Textdraw40[playerid], 1);
  24. TextDrawSetProportional(Textdraw40[playerid], 1);
  25.  
  26. Textdraw41[playerid] = TextDrawCreate(326.000000, 134.000000, " "); // speed gun points
  27. TextDrawAlignment(Textdraw41[playerid], 2);
  28. TextDrawBackgroundColor(Textdraw41[playerid], 255);
  29. TextDrawFont(Textdraw41[playerid], 1);
  30. TextDrawLetterSize(Textdraw41[playerid], 4.499998, 17.899999);
  31. TextDrawColor(Textdraw41[playerid], -1);
  32. TextDrawSetOutline(Textdraw41[playerid], 1);
  33. TextDrawSetProportional(Textdraw41[playerid], 1);
  34. TextDrawUseBox(Textdraw41[playerid], 1);
  35. TextDrawBoxColor(Textdraw41[playerid], 100);
  36. TextDrawTextSize(Textdraw41[playerid], 160.000000, 280.000000);
  37.  
  38. Textdraw42[playerid] = TextDrawCreate(326.000000, 192.000000, " "); // Speed gun speed string
  39. TextDrawAlignment(Textdraw42[playerid], 2);
  40. TextDrawBackgroundColor(Textdraw42[playerid], 255);
  41. TextDrawFont(Textdraw42[playerid], 1);
  42. TextDrawLetterSize(Textdraw42[playerid], 0.379999, 1.700000);
  43. TextDrawColor(Textdraw42[playerid], -1);
  44. TextDrawSetOutline(Textdraw42[playerid], 1);
  45. TextDrawSetProportional(Textdraw42[playerid], 1);
  46. TextDrawUseBox(Textdraw42[playerid], 1);
  47. TextDrawBoxColor(Textdraw42[playerid], 255);
  48. TextDrawTextSize(Textdraw42[playerid], 10.000000, 280.000000);
  49.  
  50. Textdraw49[playerid] = TextDrawCreate(86.000000, 428.000000, " "); // area
  51. TextDrawAlignment(Textdraw49[playerid], 2);
  52. TextDrawBackgroundColor(Textdraw49[playerid], 255);
  53. TextDrawFont(Textdraw49[playerid], 2);
  54. TextDrawLetterSize(Textdraw49[playerid],0.280000, 1.100000);
  55. TextDrawColor(Textdraw49[playerid], -1);
  56. TextDrawSetOutline(Textdraw49[playerid], 1);
  57. TextDrawSetProportional(Textdraw49[playerid], 1);
  58.  
  59. Textdraw51[playerid] = TextDrawCreate(608.000000, 98.000000, " "); // bank money
  60. TextDrawAlignment(Textdraw51[playerid], 3);
  61. TextDrawBackgroundColor(Textdraw51[playerid], 255);
  62. TextDrawFont(Textdraw51[playerid], 3);
  63. TextDrawLetterSize(Textdraw51[playerid], 0.650000, 2.199999);
  64. TextDrawColor(Textdraw51[playerid], 43775);
  65. TextDrawSetOutline(Textdraw51[playerid], 1);
  66. TextDrawSetProportional(Textdraw51[playerid], 1);
  67.  
  68. Textdraw52[playerid] = TextDrawCreate(494.000000, 81.000000, " "); // money changes
  69. TextDrawAlignment(Textdraw52[playerid], 3);
  70. TextDrawBackgroundColor(Textdraw52[playerid], 255);
  71. TextDrawFont(Textdraw52[playerid], 1);
  72. TextDrawLetterSize(Textdraw52[playerid], 0.279999, 1.600000);
  73. TextDrawColor(Textdraw52[playerid], 0xFFFFFFFF);
  74. TextDrawSetOutline(Textdraw52[playerid], 1);
  75. TextDrawSetProportional(Textdraw52[playerid], 1);
  76.  
  77. Textdraw53[playerid] = TextDrawCreate(320.000000, 341.000000, " "); // GPS
  78. TextDrawAlignment(Textdraw53[playerid], 2);
  79. TextDrawBackgroundColor(Textdraw53[playerid], 255);
  80. TextDrawFont(Textdraw53[playerid], 2);
  81. TextDrawLetterSize(Textdraw53[playerid], 0.400000, 1.500000);
  82. TextDrawColor(Textdraw53[playerid], -1);
  83. TextDrawSetOutline(Textdraw53[playerid], 1);
  84. TextDrawSetProportional(Textdraw53[playerid], 1);
  85.  
  86. Textdraw54[playerid] = TextDrawCreate(331.000000, 340.000000, " "); // Spectate
  87. TextDrawAlignment(Textdraw54[playerid], 2);
  88. TextDrawBackgroundColor(Textdraw54[playerid], 255);
  89. TextDrawFont(Textdraw54[playerid], 1);
  90. TextDrawLetterSize(Textdraw54[playerid], 0.500000, 1.000000);
  91. TextDrawColor(Textdraw54[playerid], -1);
  92. TextDrawSetOutline(Textdraw54[playerid], 0);
  93. TextDrawSetProportional(Textdraw54[playerid], 1);
  94. TextDrawSetShadow(Textdraw54[playerid], 0);
  95.  
  96. Textdraw64[playerid] = TextDrawCreate(317.000000, 253.000000, " "); // Medals
  97. TextDrawAlignment(Textdraw64[playerid], 2);
  98. TextDrawBackgroundColor(Textdraw64[playerid], 255);
  99. TextDrawFont(Textdraw64[playerid], 1);
  100. TextDrawLetterSize(Textdraw64[playerid], 0.239999, 1.200000);
  101. TextDrawColor(Textdraw64[playerid], -1);
  102. TextDrawSetOutline(Textdraw64[playerid], 1);
  103. TextDrawSetProportional(Textdraw64[playerid], 1);
  104.  
  105. format(bancheck, sizeof(bancheck),"LARP/Users/Bans/%s.ban",playersip);
  106.  
  107. if(dini_Exists(bancheck))
  108. {
  109. ClearChatbox(playerid, 10);
  110.  
  111. if(!strcmp(dini_Get(bancheck,"BanName"),plname,true))
  112. {
  113. SendClientMessage(playerid, COLOR_NICERED,"=======================================YOU ARE BANNED======================================");
  114. SendClientMessage(playerid, COLOR_LIGHTRED,"This Nickname is banned from our Server, And never was unbanned.");
  115. SendClientMessage(playerid, COLOR_LIGHTRED,"If you wish to be unbanned please visit our website at www.civilliferp.x10.bz");
  116. SendClientMessage(playerid, COLOR_LIGHTRED,"Ban Evading will result in a Permanent Range Ban.");
  117. SendClientMessage(playerid, COLOR_NICERED,"=======================================BAN INFORMATION===================================");
  118. format(msg2,sizeof(msg2),"Ban issued by administrator: %s",dini_Get(bancheck,"BannedBy"));
  119. SendClientMessage(playerid, COLOR_WHITE,msg2);
  120. format(msg2,sizeof(msg2),"Ban issued on: %s",dini_Get(bancheck,"BanDate"));
  121. SendClientMessage(playerid, COLOR_WHITE,msg2);
  122. format(msg2,sizeof(msg2),"Ban Reason: %s",dini_Get(bancheck,"BanReason"));
  123. SendClientMessage(playerid, COLOR_WHITE,msg2);
  124. SendClientMessage(playerid, COLOR_NICERED,"========================================YOU ARE BANNED=======================================");
  125.  
  126. format(msg2,sizeof(msg2),"[ADMIN]: %s (%d), Has been kicked for Possible Ban Evading",plname,playerid);
  127. SendAdminMessage(COLOR_LIGHTRED,msg2);
  128.  
  129. format(msg2,sizeof(msg2),"(%d/%d/%d) [%d:%d:%d] %s Has been kicked by the anticheat for Possible Ban Evading",d,m,y,h,mi,s,plname);
  130. KickLog(msg2);
  131.  
  132. OnPlayerUpdateEx(playerid);
  133. SetTimerEx("KickPlayerOut",500,false,"i",playerid);
  134. return 0;
  135. }
  136. else
  137. {
  138. SendClientMessage(playerid, COLOR_NICERED,"=======================================YOU ARE BANNED======================================");
  139. SendClientMessage(playerid, COLOR_LIGHTRED,"This IP Number is banned from this Server, And never was unbanned.");
  140. SendClientMessage(playerid, COLOR_LIGHTRED,"If you wish to be unbanned please visit our website at www.civilliferp.x10.bz");
  141. SendClientMessage(playerid, COLOR_LIGHTRED,"Ban Evading will result in a Permanent Range Ban.");
  142. SendClientMessage(playerid, COLOR_NICERED,"=======================================BAN INFORMATION=====================================");
  143. format(msg2,sizeof(msg2),"Name of the account Banned on the ip %s: %s",playersip, dini_Get(bancheck,"BanName"));
  144. SendClientMessage(playerid, COLOR_WHITE,msg2);
  145. format(msg2,sizeof(msg2),"Ban issued by administrator: %s",dini_Get(bancheck,"BannedBy"));
  146. SendClientMessage(playerid, COLOR_WHITE,msg2);
  147. format(msg2,sizeof(msg2),"Ban issued on date: %s",dini_Get(bancheck,"BanDate"));
  148. SendClientMessage(playerid, COLOR_WHITE,msg2);
  149. format(msg2,sizeof(msg2),"Ban Reason: %s",dini_Get(bancheck,"BanReason"));
  150. SendClientMessage(playerid, COLOR_WHITE,msg2);
  151. SendClientMessage(playerid, COLOR_NICERED,"========================================YOU ARE BANNED=======================================");
  152.  
  153. format(msg2,sizeof(msg2),"[ADMIN]: %s (%d), Has been kicked for Possible Ban Evading",plname,playerid);
  154. SendAdminMessage(COLOR_LIGHTRED,msg2);
  155.  
  156. format(msg2,sizeof(msg2),"(%d/%d/%d) [%d:%d:%d] %s Has been kicked by the anticheat for Possible Ban Evading",d,m,y,h,mi,s,plname);
  157. KickLog(msg2);
  158.  
  159. format(msg2,sizeof(msg2),"LARP/Users/%s.ini",plname);
  160. if(dini_Exists(msg2))
  161. {
  162. dini_IntSet(msg2,"Banned",1);
  163. }
  164.  
  165. OnPlayerUpdateEx(playerid);
  166. SetTimerEx("KickPlayerOut",500,false,"i",playerid);
  167. return 0;
  168. }
  169. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement