Guest User

Untitled

a guest
Feb 26th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.23 KB | None | 0 0
  1. public OnPlayerRequestClass(playerid, classid)
  2. {
  3. if(gPlayerLogged[playerid] == 1 && ChangeClothes[playerid] == 0)
  4. {
  5. SpawnPlayer(playerid);
  6. }
  7. if (RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1)
  8. {
  9. SetPlayerInterior(playerid,0);
  10. SetPlayerVirtualWorld(playerid, 9994);
  11. InterpolateCameraPos(playerid, 1081.077880, -1927.078857, 112.751274, 354.996765, -1437.702636, 82.520225, 30000);
  12. InterpolateCameraLookAt(playerid, 1083.925415, -1931.132324, 112.072486, 356.344573, -1432.888793, 82.623405, 30000);
  13. TogglePlayerControllable(playerid, 0);
  14. if (gPlayerAccount[playerid] != 0)
  15. {
  16. SendClientMessage(playerid, COLOR_GREEN, "SERVER: {FFFFFF}Welcome to ///// RPG.");
  17. SendClientMessage(playerid, COLOR_GREEN, "SERVER: {FFFFFF}You already have a registered account, please enter your password into the dialog box.");
  18. ShowPlayerDialog(playerid,DIALOG_LOGIN2,DIALOG_STYLE_PASSWORD,"SERVER: Login","Welcome to the //// RPG Server.\n\nPlease enter your password below!","Login","Cancel");
  19. }
  20. else
  21. {
  22. gPlayerAccount[playerid] = 0;
  23. new loginname[158],
  24. stringgg[300],
  25. playerip[16];
  26. GetPlayerName(playerid,loginname,sizeof(loginname));
  27. GetPlayerIp(playerid, playerip, sizeof(playerip));
  28. new stre[256],timee[64],timee2,timex[11];
  29. format(stre, sizeof(stre), "SELECT * FROM `bans` WHERE `IP`='%s' AND `Active`='1'", playerip);
  30. new Cache: xd = mysql_query(SQL, stre);
  31. if(cache_get_row_count() > 0)
  32. {
  33. for(new i, j = cache_get_row_count(); i != j; i++)
  34. {
  35. cache_get_field_content(i, "BanTimeDate", timee);
  36. strmid(timex, timee, 0, 11);
  37. timee2 = DateToTimestamp(timex);
  38. if(timee2 > gettime() - 24 * 3600)
  39. {
  40. new namex[30];
  41. GetPlayerName(playerid, namex, sizeof(namex));
  42. format(stre, sizeof(stre), "User %s was not able to register with IP: %s. (recently banned)", namex, playerip);
  43. ABroadCast(COLOR_REDX, stre, 1);
  44. SendClientMessage(playerid, COLOR_GENANNOUNCE, "You can not register right now. Please try again in a few hours!");
  45. SendClientMessage(playerid, COLOR_GENANNOUNCE, "Nu te poti inregistra acum. Incearca din nou peste cateva ore.");
  46. KickEx(playerid);
  47. cache_delete(xd);
  48. return 1;
  49. }
  50. }
  51. }
  52. cache_delete(xd);
  53. for(new clanid; clanid < MAX_CLANS; clanid++)
  54. {
  55. if(strfind(loginname,ClanInfo[clanid][cClanTag],true) != -1)
  56. {
  57. format(stringgg,sizeof(stringgg),"Nu poti folosi acel username. '%s' este inregistrat de un clan. Nu poti folosi acel cuvant in nickname-ul tau.",ClanInfo[clanid][cClanTag]);
  58. SendClientMessage(playerid, COLOR_RED, stringgg);
  59. format(stringgg,sizeof(stringgg),"You can't use that username! '%s' is a registered clan tag. You can't use that word in your nickname.",ClanInfo[clanid][cClanTag]);
  60. SendClientMessage(playerid, COLOR_RED, stringgg);
  61. KickEx(playerid);
  62. }
  63. }
  64. SendClientMessage(playerid, COLOR_GENANNOUNCE, "SERVER: {FFFFFF}Welcome to ////// RPG.");
  65. SendClientMessage(playerid, COLOR_GENANNOUNCE, "SERVER: {FFFFFF}You aren't registered yet. Please enter your desired password in the dialog box to register.");
  66. ShowPlayerDialog(playerid,DIALOG_LOGIN1,DIALOG_STYLE_PASSWORD,"SERVER: Registration","Welcome to the //// RPG Server.\n\nPlease enter your desired password below!","Register","Cancel");
  67. }
  68. login[playerid] = 60;
  69. }
  70. else if(IsPlayerNPC(playerid)) return 1;
  71. return 1;
  72. }
  73.  
  74.  
  75.  
  76.  
  77.  
  78. /////////////////////////////// tutorial ////////////////////////////////////////////////////
  79. }//Done with car check
  80. if(TutTime[i] >= 1)
  81. {
  82. TutTime[i] += 1;
  83. if(TutTime[i] == 3)
  84. {
  85. PlayerTextDrawShow(i, Step[i]);
  86. PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~1~w~/~r~8");
  87. PlayerTextDrawShow(i, Tutorial[i]);
  88. new Cache: ab = mysql_query(SQL, "SELECT * FROM users");
  89. new registered = cache_get_row_count();
  90. cache_delete(ab);
  91. SendClientMessage(i, COLOR_WHITE, "");
  92. SendClientMessage(i, COLOR_WHITE, "");
  93. SendClientMessage(i, COLOR_WHITE, "");
  94. SendClientMessage(i, COLOR_WHITE, "");
  95. SendClientMessage(i, COLOR_WHITE, "");
  96. SetPlayerVirtualWorld(i, 0);
  97. if(PlayerInfo[i][pLanguage] == 2)
  98. {
  99. new name[MAX_PLAYER_NAME];
  100. GetPlayerName(i, name, sizeof name);
  101. SetPlayerPosEx(i, 1341.6196,-948.8746,75.5354);
  102. SetPlayerCameraPos(i, 1341.6196,-948.8746,75.5354);
  103. SetPlayerCameraLookAt(i, 1341.6196,-948.8746,75.5354);
  104. TogglePlayerControllable(i,0);
  105. format(string, sizeof(string), "Salutare, %s! Bun venit pe !", name);
  106. SendClientMessage(i, COLOR_WHITE, string);
  107. SendClientMessage(i, COLOR_WHITE, "Serverul a fost deschis pe data de 20.09.2017 (BETA).");
  108. format(string, sizeof(string), "Avem %d playeri inregistrati, iar acum sunt %d playeri online.",registered,GetOnLinePlayers());
  109. SendClientMessage(i, COLOR_WHITE, string);
  110. SendClientMessage(i, COLOR_WHITE, "Sunt 200+ case si 70+ business-uri pe server, iar in dealership sunt disponibile 204 modele diferite de masini.");
  111. SendClientMessage(i, COLOR_WHITE, "Daca joci pe Chronos RPG, ai siguranta ca nu vor fi resetate niciodata datele(wipe) niciodata asa cum se intampla pe alte servere.");
  112. SendClientMessage(i, COLOR_WHITE, "Se fac updateuri frecvente la server, iar bugurile aparute sunt reparate rapid.");
  113. SendClientMessage(i, COLOR_WHITE, "Adminii si helperii sunt bine alesi si te pot ajuta cu orice problema.");
  114. SendClientMessage(i, COLOR_WHITE, "Intrebarile despre server le poti pune pe /n, iar daca ai o problema poti folosi /report.");
  115. SendClientMessage(i, COLOR_WHITE, "In continuare iti vom prezenta cateva informatii despre joc.");
  116. }
  117. else
  118. {
  119. new name[MAX_PLAYER_NAME];
  120. GetPlayerName(i, name, sizeof name);
  121. format(string, sizeof(string), "Hi, %s! Welcome to !", name);
  122. SendClientMessage(i, COLOR_WHITE, string);
  123. SendClientMessage(i, COLOR_WHITE, "Our server, , has opened on 20.09.2017 (BETA).");
  124. format(string, sizeof(string), "We have %d players registered and now there are %d players online.",registered,GetOnLinePlayers());
  125. SendClientMessage(i, COLOR_WHITE, string);
  126. SendClientMessage(i, COLOR_WHITE, "There are 200+ houses and 70+ businesses on our server and there are 103 different car models that you can buy from our dealership.");
  127. SendClientMessage(i, COLOR_WHITE, "If you play on Chronos RPG, you'll never have to worry about server wipes.");
  128. SendClientMessage(i, COLOR_WHITE, "Our server is frequently updated and the bugs are fixed quickly.");
  129. SendClientMessage(i, COLOR_WHITE, "The admins and helpers can help you with any problem you may have.");
  130. SendClientMessage(i, COLOR_WHITE, "If you have any questions, use /n. If you have any problems, use /report.");
  131. }
  132. }
  133. else if(TutTime[i] == 15)
  134. {
  135. PlayerTextDrawShow(i, Step[i]);
  136. PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~2~w~/~r~8");
  137. InterpolateCameraPos(i, 1431.601440, -915.382141, 63.175796, 1481.467773, -850.762634, 66.295494, 5000);
  138. InterpolateCameraLookAt(i, 1427.158569, -917.496093, 64.065879, 1477.214477, -848.428039, 67.503387, 5000);
  139. SetPlayerPos(i, 1483.0885,-851.0576,60.4548);
  140. SetPlayerInterior(i,0);
  141. SendClientMessage(i, COLOR_WHITE, "");
  142. SendClientMessage(i, COLOR_WHITE, "");
  143. SendClientMessage(i, COLOR_WHITE, "");
  144. SendClientMessage(i, COLOR_WHITE, "");
  145. SendClientMessage(i, COLOR_WHITE, "");
  146. SendClientMessage(i, COLOR_WHITE, "");
  147. if(PlayerInfo[i][pLanguage] == 2)
  148. {
  149. SendClientMessage(i, COLOR_WHITE, "Daca vrei sa afli locatiile serverului atunci foloseste comanda /gps !");
  150. SendClientMessage(i, COLOR_WHITE, "De asemenea langa spawn se afla un magazin 24/7 iar de acolo iti poti achizitiona un telefon.");
  151. SendClientMessage(i, COLOR_WHITE, "- agenda telefonica - vei putea afla numerele de telefon ale altor playeri folosind comanda /number.");
  152. SendClientMessage(i, COLOR_WHITE, "- credit pentru telefon - pe serverul nostru telefoanele folosesc credit pentru apeluri si sms-uri.");
  153. SendClientMessage(i, COLOR_WHITE, "- walkie-talkie - walkie-talkie poate fi folosit pentru a discuta cu un grup de prieteni.");
  154. SendClientMessage(i, COLOR_WHITE, "Te lasam pe tine sa descoperi ce altceva poti cumpara din magazine.");
  155. }
  156. else
  157. {
  158. SendClientMessage(i, COLOR_WHITE, "This is a 24/7 store. You can buy the following products from here:");
  159. SendClientMessage(i, COLOR_WHITE, "- phone - you can use the phone to make calls(/call) and send texts(/sms).");
  160. SendClientMessage(i, COLOR_WHITE, "- phonebook - you'll be able to find the phone number another player using /number.");
  161. SendClientMessage(i, COLOR_WHITE, "- prepay credit - on this server the phones use prepay credit. when it runs out, buy some more.");
  162. SendClientMessage(i, COLOR_WHITE, "- walkie-talkie - this can be used to talk with a group of friends.");
  163. SendClientMessage(i, COLOR_WHITE, "We'll let you discover what else can be bought from the stores.");
  164. }
  165. }
  166. else if(TutTime[i] == 27)
  167. {
  168. PlayerTextDrawShow(i, Step[i]);
  169. PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~3~w~/~r~8");
  170. InterpolateCameraPos(i, 1481.828125, -849.984375, 66.295486, 1669.196533, -1709.910766, 54.042552, 5000);
  171. InterpolateCameraLookAt(i, 1477.575317, -847.710266, 67.615585, 1667.701782, -1705.139526, 54.011302, 5000);
  172. SetPlayerPos(i, 1668.2339,-1708.2545,20.4772);
  173. SendClientMessage(i, COLOR_WHITE, "");
  174. SendClientMessage(i, COLOR_WHITE, "");
  175. SendClientMessage(i, COLOR_WHITE, "");
  176. SendClientMessage(i, COLOR_WHITE, "");
  177. SendClientMessage(i, COLOR_WHITE, "");
  178. SendClientMessage(i, COLOR_WHITE, "");
  179. if(PlayerInfo[i][pLanguage] == 2)
  180. {
  181. SendClientMessage(i, COLOR_WHITE, "Level & Payday");
  182. SendClientMessage(i, COLOR_WHITE, "Pe acest server ruleaza un stil de joc RPG! Tu trebuie sa avansezi in level (castigand payday-uri).");
  183. SendClientMessage(i, COLOR_WHITE, "La fiecare ora jucata pe server vei primi un respect-point (RP) si o suma de bani");
  184. SendClientMessage(i, COLOR_WHITE, "Iti poti afla punctele de respect daca tastezi comanda: /stats");
  185. SendClientMessage(i, COLOR_WHITE, "Cand faci Punctele de Respect necesare pentru level tastezi comanda: /buylevel");
  186. SendClientMessage(i, COLOR_WHITE, "Si vei plati o suma de bani pentru a avansa in nivel (level).");
  187. }
  188. else
  189. {
  190. SendClientMessage(i, COLOR_WHITE, "Here is the place where you can get your driver's licence.");
  191. SendClientMessage(i, COLOR_WHITE, "If you don't know to get here, you can use /gps and choose 'Los Santos DMV' from the list.");
  192. SendClientMessage(i, COLOR_WHITE, "You can also use /gps to find out where other important locations are.Or you could call a cab using /service taxi.");
  193. SendClientMessage(i, COLOR_WHITE, "Once you'll get your driver's license, you'll able to drive cars, but not planes or boats.");
  194. SendClientMessage(i, COLOR_WHITE, "To be able to drive planes and boats, you'll need to contact an instructor once you reach level 3.");
  195. SendClientMessage(i, COLOR_WHITE, "The licenses expires after 100 hours spent in game.");
  196. }
  197. }
  198. else if(TutTime[i] == 39)
  199. {
  200. PlayerTextDrawShow(i, Step[i]);
  201. PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~4~w~/~r~8");
  202. InterpolateCameraPos(i, 1669.233642, -1710.084228, 54.049716, 1451.639648, -1720.322509, 34.753833, 5000);
  203. InterpolateCameraLookAt(i, 1668.190673, -1705.196289, 53.909111, 1454.797485, -1724.072631, 33.771972, 5000);
  204. SetPlayerPos(i, 1451.0076,-1720.0073,13.7969);
  205. SendClientMessage(i, COLOR_WHITE, "");
  206. SendClientMessage(i, COLOR_WHITE, "");
  207. SendClientMessage(i, COLOR_WHITE, "");
  208. SendClientMessage(i, COLOR_WHITE, "");
  209. SendClientMessage(i, COLOR_WHITE, "");
  210. SendClientMessage(i, COLOR_WHITE, "");
  211. if(PlayerInfo[i][pLanguage] == 2)
  212. {
  213. SendClientMessage(i, COLOR_WHITE, "Job-uri");
  214. SendClientMessage(i, COLOR_WHITE, "Iti poti alege un job tastand comanda [ /jobs ]!");
  215. SendClientMessage(i, COLOR_WHITE, "Pe server sunt doua tipuri de job-uri:");
  216. SendClientMessage(i, COLOR_WHITE, "Job-uri Legale");
  217. SendClientMessage(i, COLOR_WHITE, "Job-uri Ilegale");
  218. SendClientMessage(i, COLOR_WHITE, "De asemenea pe server sunt si joburi banoase cum ar fi:");
  219. SendClientMessage(i, COLOR_WHITE, "Trucker, Curier, Farmer.");
  220. }
  221. else
  222. {
  223. SendClientMessage(i, COLOR_WHITE, "That is the dealership, the place where players can buy personal vehicles.");
  224. SendClientMessage(i, COLOR_WHITE, "To buy your own vehicle you need level 3 and enough money.");
  225. SendClientMessage(i, COLOR_WHITE, "The cheapest car is Bike with price of $250,000 and the most expensive is Infernus and it costs $50,000,000.");
  226. SendClientMessage(i, COLOR_WHITE, "There are 103 different car models available in our vehicle dealership.");
  227. SendClientMessage(i, COLOR_WHITE, "Once you'll get your own car, you'll able to lock the doors of your car and you'll be able to park it wherever you want.");
  228. SendClientMessage(i, COLOR_WHITE, "You can have 2 personal vehicles or 4 if you have a premium account.");
  229. SendClientMessage(i, COLOR_WHITE, "Untill you reach level 3, you can use one of the 10+ jobs available.");
  230. }
  231. }
  232. else if(TutTime[i] == 51)
  233. {
  234. PlayerTextDrawShow(i, Step[i]);
  235. PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~5~w~/~r~8");
  236. InterpolateCameraPos(i, 1451.640747, -1720.322509, 34.753929, 1425.798583, -1044.092285, 53.434612, 8000);
  237. InterpolateCameraLookAt(i, 1455.009399, -1723.869384, 33.718505, 1429.216430, -1041.379638, 50.993324, 8000);
  238. SetPlayerPos(i, 1424.2955,-1043.1990,23.8356);
  239. SendClientMessage(i, COLOR_WHITE, "");
  240. SendClientMessage(i, COLOR_WHITE, "");
  241. SendClientMessage(i, COLOR_WHITE, "");
  242. SendClientMessage(i, COLOR_WHITE, "");
  243. SendClientMessage(i, COLOR_WHITE, "");
  244. SendClientMessage(i, COLOR_WHITE, "");
  245. if(PlayerInfo[i][pLanguage] == 2)
  246. {
  247. SendClientMessage(i, COLOR_WHITE, "Unde imi pot depozita banii ?");
  248. SendClientMessage(i, COLOR_WHITE, "Banii sunt stocati in 2 moduri:");
  249. SendClientMessage(i, COLOR_WHITE, "");
  250. SendClientMessage(i, COLOR_WHITE, "Cash (Banii pe care-i ai la tine si-ti sunt afisati - in dreapta sus).");
  251. SendClientMessage(i, COLOR_WHITE, "Banca (Banii pe care-i depui la banca si dupa care primesti dobanda).");
  252. SendClientMessage(i, COLOR_WHITE, "Pentru a trimite bani unui jucator foloseste comanda: /pay.");
  253. SendClientMessage(i, COLOR_WHITE, "Pentru a trimite sume mari de bani foloseste comanda: /transfer.");
  254. }
  255. else
  256. {
  257. SendClientMessage(i, COLOR_WHITE, "Trucker is one of the 10+ jobs available on our server.");
  258. SendClientMessage(i, COLOR_WHITE, "This job requires you to deliver stuff from one city to another.");
  259. SendClientMessage(i, COLOR_WHITE, "");
  260. SendClientMessage(i, COLOR_WHITE, "To see list of all available jobs, you can use the command /jobs.");
  261. SendClientMessage(i, COLOR_WHITE, "One most jobs you'll earn the same ammount of money.");
  262. SendClientMessage(i, COLOR_WHITE, "You can test all jobs to find out which one you like better.");
  263. SendClientMessage(i, COLOR_WHITE, "If you get bored, you can use /quitjob and take another job.");
  264. }
  265. }
  266. else if(TutTime[i] == 63)
  267. {
  268. PlayerTextDrawShow(i, Step[i]);
  269. PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~6~w~/~r~8");
  270. InterpolateCameraPos(i, 386.273284, -2030.129516, 59.993469, 395.822113, -2044.595703, 59.993469, 5000);
  271. InterpolateCameraLookAt(i, 386.591949, -2029.832275, 55.012496, 396.252319, -2044.526245, 55.012496, 5000);
  272. SendClientMessage(i, COLOR_WHITE, "");
  273. SendClientMessage(i, COLOR_WHITE, "");
  274. SendClientMessage(i, COLOR_WHITE, "");
  275. SendClientMessage(i, COLOR_WHITE, "");
  276. SendClientMessage(i, COLOR_WHITE, "");
  277. SendClientMessage(i, COLOR_WHITE, "");
  278. if(PlayerInfo[i][pLanguage] == 2)
  279. {
  280. SendClientMessage(i, COLOR_WHITE, "Politistii sunt impartiti in 4 factiuni: Los Santos Police Department, Las Venturas Police Department, FBI si National Guard.");
  281. SendClientMessage(i, COLOR_WHITE, "Vei putea aplica la una din cele 4 factiuni de politisti incepand cu level 7.");
  282. SendClientMessage(i, COLOR_WHITE, "Pana ajungi la level 7, vei putea aplica la factiunile Taxi, Paramedic, News Reporters, School Instructors incepand cu level 5.");
  283. SendClientMessage(i, COLOR_WHITE, "La factiunea Hitman Agency sau la una din cele 4 mafii, vei putea aplica incepand cu level 7.");
  284. SendClientMessage(i, COLOR_WHITE, "Aplicatiile se fac pe panel (nel).");
  285. SendClientMessage(i, COLOR_WHITE, "Cei care fac parte din factiuni primesc salarii saptamanale de la liderul factiunii.");
  286. }
  287. else
  288. {
  289. SendClientMessage(i, COLOR_WHITE, "Cops are divided in 4 factions: Los Santos Police Department, Las Venturas Police Department, FBI and National Guard.");
  290. SendClientMessage(i, COLOR_WHITE, "You'll be able to apply to on of the cops factions once you get level 7.");
  291. SendClientMessage(i, COLOR_WHITE, "You can apply to the factions Taxi, Paramedic, News Reporters and School Instructors once you get level 5.");
  292. SendClientMessage(i, COLOR_WHITE, "You'll need level 7 to become a Hitman or a gang member.");
  293. SendClientMessage(i, COLOR_WHITE, "You can apply to join a faction on our forum ().");
  294. }
  295. }
  296. else if(TutTime[i] == 75)
  297. {
  298. PlayerTextDrawShow(i, Step[i]);
  299. PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~7~w~/~r~8");
  300. InterpolateCameraPos(i, 1425.798583, -1044.092285, 53.434612, 1587.031860, -2265.820068, 18.506265, 9000);
  301. InterpolateCameraLookAt(i, 1429.320434, -1041.326049, 51.210960, 1591.250488, -2263.193847, 17.953033, 7000);
  302. SetPlayerPos(i, 1587.3394,-2265.0037,15.8115);
  303. SendClientMessage(i, COLOR_WHITE, "");
  304. SendClientMessage(i, COLOR_WHITE, "");
  305. SendClientMessage(i, COLOR_WHITE, "");
  306. SendClientMessage(i, COLOR_WHITE, "");
  307. SendClientMessage(i, COLOR_WHITE, "");
  308. SendClientMessage(i, COLOR_WHITE, "");
  309. if(PlayerInfo[i][pLanguage] == 2)
  310. {
  311. SendClientMessage(i, COLOR_WHITE, "Hackeri & DM");
  312. SendClientMessage(i, COLOR_WHITE, "Este interzis cu desavarsire utilizarea aplicatilor de tip hack.");
  313. SendClientMessage(i, COLOR_WHITE, "Daca vezi pe cineva care foloseste coduri te rugam sa dai /report.");
  314. SendClientMessage(i, COLOR_WHITE, "Cei care folosesc coduri primesc ban permanent.");
  315. SendClientMessage(i, COLOR_WHITE, "Te sfatuim sa nu folosesti hack-uri altfel vei fi banat.");
  316. SendClientMessage(i, COLOR_WHITE, "Nu uita ca avem un sisteam anti-cheat care detecta anumite coduri si vei primi ban automat.");
  317. SendClientMessage(i, COLOR_WHITE, "Daca vezi un jucator ce face DM nu uita sa raportezi folosind comanda /report.");
  318. SendClientMessage(i, COLOR_WHITE, "Reclamatiile se face pe (www..ro/panel) .");
  319. }
  320. else
  321. {
  322. SendClientMessage(i, COLOR_WHITE, "This is the Los Santos Bank. There is also a bank in Las Venturas.");
  323. SendClientMessage(i, COLOR_WHITE, "The bank can be used to deposit and withdraw money from your bank account or transfer money to another player.");
  324. SendClientMessage(i, COLOR_WHITE, "You'll get interest from the bank for the money you have deposited in your bank account.");
  325. SendClientMessage(i, COLOR_WHITE, "Don't loan money for other players. You'll have no guaratees that you'll get them back.");
  326. SendClientMessage(i, COLOR_WHITE, "Also, buying in game goods(money, cars, houses) with real life money from other players is forbidden.");
  327. SendClientMessage(i, COLOR_WHITE, "Most People that offering in game goods for real money are scammers.");
  328. SendClientMessage(i, COLOR_WHITE, "You can get some stuff by donatingw.ro/premium). The money from donations are used to support the server.");
  329. }
  330. }
  331. else if(TutTime[i] == 87)
  332. {
  333. PlayerTextDrawShow(i, Step[i]);
  334. PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~8~w~/~r~8");
  335. SetPlayerPosEx(i, 1093.7021,-1485.0731,15.7074);
  336. SetPlayerCameraPos(i, 1065.9988,-1418.0643,56.6048);
  337. SetPlayerCameraLookAt(i, 1127.9037,-1486.0226,22.7690);
  338. SendClientMessage(i, COLOR_WHITE, "");
  339. SendClientMessage(i, COLOR_WHITE, "");
  340. SendClientMessage(i, COLOR_WHITE, "");
  341. SendClientMessage(i, COLOR_WHITE, "");
  342. SendClientMessage(i, COLOR_WHITE, "");
  343. SendClientMessage(i, COLOR_WHITE, "");
  344. if(PlayerInfo[i][pLanguage] == 2)
  345. {
  346. SendClientMessage(i, COLOR_WHITE, "Aici este CNN Los Santos, adica locul unde poti plasa anunturi pe server.");
  347. SendClientMessage(i, COLOR_WHITE, "Anunturile sunt vazute de toti playerii de pe server si sunt folosite pentru a vinde/cumpara/schimba bunuri pe server.");
  348. SendClientMessage(i, COLOR_WHITE, "Anunturile se folosesc doar pentru vanzari, cumparari si schimburi de bunuri.");
  349. SendClientMessage(i, COLOR_WHITE, "Vei putea scrie un anunt incepand cu level 5.");
  350. SendClientMessage(i, COLOR_WHITE, "");
  351. SendClientMessage(i, COLOR_WHITE, "Si pe forumul nostru ro exista o sectiune de vanzari unde playerii pot posta anunturi.");
  352. }
  353. else
  354. {
  355. SendClientMessage(i, COLOR_WHITE, "This is CNN Los Santos, the place where players can place ads to buy, sell or trade stuff.");
  356. SendClientMessage(i, COLOR_WHITE, "This ads are seen by all players on the server. You'll be able to place an /ad once you reach level 5.");
  357. SendClientMessage(i, COLOR_WHITE, "Players can also use our forum (www.ro) to advertise for stuff.");
  358. }
  359. }
  360. else if(TutTime[i] == 99)
  361. {
  362. PlayerTextDrawHide(i, Step[i]);
  363. PlayerTextDrawHide(i, Tutorial[i]);
  364. SendClientMessage(i, COLOR_WHITE, "");
  365. SendClientMessage(i, COLOR_WHITE, "");
  366. SendClientMessage(i, COLOR_WHITE, "");
  367. SendClientMessage(i, COLOR_WHITE, "");
  368. SendClientMessage(i, COLOR_WHITE, "");
  369. SendClientMessage(i, COLOR_WHITE, "");
  370. if(PlayerInfo[i][pLanguage] == 2)
  371. {
  372. SendClientMessage(i, COLOR_YELLOW, "Ai ajuns la sfarsitul tutorialului. Daca ai fost atent, ar trebui sa stii cateva lucruri despre joc.");
  373. SendClientMessage(i, COLOR_YELLOW, "Daca ai vreo intrebare legata de joc, foloseste /n si helperii vor incerca sa te ajute.");
  374. SendClientMessage(i, COLOR_YELLOW, "Poti folosi si /help pentru comenzi de baza.");
  375. SendClientMessage(i, COLOR_YELLOW, "Distractie placuta!");
  376. }
  377. else
  378. {
  379. SendClientMessage(i, COLOR_YELLOW, "We reached the end of the tutorial. We hope you learned something about the game.");
  380. SendClientMessage(i, COLOR_YELLOW, "If you have any game-questions, you can use /n and our helpers will try to help you.");
  381. SendClientMessage(i, COLOR_YELLOW, "You cand also use /help for basic commands.");
  382. SendClientMessage(i, COLOR_YELLOW, "Have fun!");
  383. }
  384. CP[i] = 43;
  385. SetPlayerCheckpointEx(i, 1154.3219,-1771.8583,16.5992, 4.0);
  386. StopAudioStreamForPlayer(i);
  387. }
  388. else if(TutTime[i] == 101)
  389. {
  390. TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
  391. gNews[i] = 0;
  392. TogglePlayerControllable(i, 1);
  393. SetCameraBehindPlayer(i);
  394. TogglePlayerSpectating(i, 0);
  395. SetPlayerSpawn(i);
  396. PlayerInfo[i][pAccount] = 10000;
  397. ResetPlayerCash(i);
  398. GivePlayerCash(i,50000);
  399. SetPlayerInterior(i,0);
  400. SetPlayerVirtualWorld(i,0);
  401. TogglePlayerControllable(i,true);
  402. new str1[256];
  403. mysql_format(SQL,str1,256,"UPDATE users SET `Tutorial`='1',`Bank`='10000',`Money`='500000' WHERE `name`='%s'",PlayerInfo[i][pNormalName]);
  404. mysql_tquery(SQL,str1,"","");
  405. //Bonus
  406. GivePlayerCash(i, 500000);
  407. PlayerInfo[i][pLevel] = 3;
  408. Update(i, pCashx);
  409. Update(i, pLevelx);
  410. SetPlayerScore(i, PlayerInfo[i][pLevel]);
  411. SS(i, COLOR_LIGHTBLUE, "Ai primit $500,000 si level 3 bonus de bun venit.", "You received $70,000,000 and level 3 for welcome.");
  412. }
  413. }
Add Comment
Please, Sign In to add comment