Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerRequestClass(playerid, classid)
- {
- if(gPlayerLogged[playerid] == 1 && ChangeClothes[playerid] == 0)
- {
- SpawnPlayer(playerid);
- }
- if (RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1)
- {
- SetPlayerInterior(playerid,0);
- SetPlayerVirtualWorld(playerid, 9994);
- InterpolateCameraPos(playerid, 1081.077880, -1927.078857, 112.751274, 354.996765, -1437.702636, 82.520225, 30000);
- InterpolateCameraLookAt(playerid, 1083.925415, -1931.132324, 112.072486, 356.344573, -1432.888793, 82.623405, 30000);
- TogglePlayerControllable(playerid, 0);
- if (gPlayerAccount[playerid] != 0)
- {
- SendClientMessage(playerid, COLOR_GREEN, "SERVER: {FFFFFF}Welcome to ///// RPG.");
- SendClientMessage(playerid, COLOR_GREEN, "SERVER: {FFFFFF}You already have a registered account, please enter your password into the dialog box.");
- ShowPlayerDialog(playerid,DIALOG_LOGIN2,DIALOG_STYLE_PASSWORD,"SERVER: Login","Welcome to the //// RPG Server.\n\nPlease enter your password below!","Login","Cancel");
- }
- else
- {
- gPlayerAccount[playerid] = 0;
- new loginname[158],
- stringgg[300],
- playerip[16];
- GetPlayerName(playerid,loginname,sizeof(loginname));
- GetPlayerIp(playerid, playerip, sizeof(playerip));
- new stre[256],timee[64],timee2,timex[11];
- format(stre, sizeof(stre), "SELECT * FROM `bans` WHERE `IP`='%s' AND `Active`='1'", playerip);
- new Cache: xd = mysql_query(SQL, stre);
- if(cache_get_row_count() > 0)
- {
- for(new i, j = cache_get_row_count(); i != j; i++)
- {
- cache_get_field_content(i, "BanTimeDate", timee);
- strmid(timex, timee, 0, 11);
- timee2 = DateToTimestamp(timex);
- if(timee2 > gettime() - 24 * 3600)
- {
- new namex[30];
- GetPlayerName(playerid, namex, sizeof(namex));
- format(stre, sizeof(stre), "User %s was not able to register with IP: %s. (recently banned)", namex, playerip);
- ABroadCast(COLOR_REDX, stre, 1);
- SendClientMessage(playerid, COLOR_GENANNOUNCE, "You can not register right now. Please try again in a few hours!");
- SendClientMessage(playerid, COLOR_GENANNOUNCE, "Nu te poti inregistra acum. Incearca din nou peste cateva ore.");
- KickEx(playerid);
- cache_delete(xd);
- return 1;
- }
- }
- }
- cache_delete(xd);
- for(new clanid; clanid < MAX_CLANS; clanid++)
- {
- if(strfind(loginname,ClanInfo[clanid][cClanTag],true) != -1)
- {
- 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]);
- SendClientMessage(playerid, COLOR_RED, stringgg);
- 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]);
- SendClientMessage(playerid, COLOR_RED, stringgg);
- KickEx(playerid);
- }
- }
- SendClientMessage(playerid, COLOR_GENANNOUNCE, "SERVER: {FFFFFF}Welcome to ////// RPG.");
- SendClientMessage(playerid, COLOR_GENANNOUNCE, "SERVER: {FFFFFF}You aren't registered yet. Please enter your desired password in the dialog box to register.");
- ShowPlayerDialog(playerid,DIALOG_LOGIN1,DIALOG_STYLE_PASSWORD,"SERVER: Registration","Welcome to the //// RPG Server.\n\nPlease enter your desired password below!","Register","Cancel");
- }
- login[playerid] = 60;
- }
- else if(IsPlayerNPC(playerid)) return 1;
- return 1;
- }
- /////////////////////////////// tutorial ////////////////////////////////////////////////////
- }//Done with car check
- if(TutTime[i] >= 1)
- {
- TutTime[i] += 1;
- if(TutTime[i] == 3)
- {
- PlayerTextDrawShow(i, Step[i]);
- PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~1~w~/~r~8");
- PlayerTextDrawShow(i, Tutorial[i]);
- new Cache: ab = mysql_query(SQL, "SELECT * FROM users");
- new registered = cache_get_row_count();
- cache_delete(ab);
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SetPlayerVirtualWorld(i, 0);
- if(PlayerInfo[i][pLanguage] == 2)
- {
- new name[MAX_PLAYER_NAME];
- GetPlayerName(i, name, sizeof name);
- SetPlayerPosEx(i, 1341.6196,-948.8746,75.5354);
- SetPlayerCameraPos(i, 1341.6196,-948.8746,75.5354);
- SetPlayerCameraLookAt(i, 1341.6196,-948.8746,75.5354);
- TogglePlayerControllable(i,0);
- format(string, sizeof(string), "Salutare, %s! Bun venit pe !", name);
- SendClientMessage(i, COLOR_WHITE, string);
- SendClientMessage(i, COLOR_WHITE, "Serverul a fost deschis pe data de 20.09.2017 (BETA).");
- format(string, sizeof(string), "Avem %d playeri inregistrati, iar acum sunt %d playeri online.",registered,GetOnLinePlayers());
- SendClientMessage(i, COLOR_WHITE, string);
- SendClientMessage(i, COLOR_WHITE, "Sunt 200+ case si 70+ business-uri pe server, iar in dealership sunt disponibile 204 modele diferite de masini.");
- 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.");
- SendClientMessage(i, COLOR_WHITE, "Se fac updateuri frecvente la server, iar bugurile aparute sunt reparate rapid.");
- SendClientMessage(i, COLOR_WHITE, "Adminii si helperii sunt bine alesi si te pot ajuta cu orice problema.");
- SendClientMessage(i, COLOR_WHITE, "Intrebarile despre server le poti pune pe /n, iar daca ai o problema poti folosi /report.");
- SendClientMessage(i, COLOR_WHITE, "In continuare iti vom prezenta cateva informatii despre joc.");
- }
- else
- {
- new name[MAX_PLAYER_NAME];
- GetPlayerName(i, name, sizeof name);
- format(string, sizeof(string), "Hi, %s! Welcome to !", name);
- SendClientMessage(i, COLOR_WHITE, string);
- SendClientMessage(i, COLOR_WHITE, "Our server, , has opened on 20.09.2017 (BETA).");
- format(string, sizeof(string), "We have %d players registered and now there are %d players online.",registered,GetOnLinePlayers());
- SendClientMessage(i, COLOR_WHITE, string);
- 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.");
- SendClientMessage(i, COLOR_WHITE, "If you play on Chronos RPG, you'll never have to worry about server wipes.");
- SendClientMessage(i, COLOR_WHITE, "Our server is frequently updated and the bugs are fixed quickly.");
- SendClientMessage(i, COLOR_WHITE, "The admins and helpers can help you with any problem you may have.");
- SendClientMessage(i, COLOR_WHITE, "If you have any questions, use /n. If you have any problems, use /report.");
- }
- }
- else if(TutTime[i] == 15)
- {
- PlayerTextDrawShow(i, Step[i]);
- PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~2~w~/~r~8");
- InterpolateCameraPos(i, 1431.601440, -915.382141, 63.175796, 1481.467773, -850.762634, 66.295494, 5000);
- InterpolateCameraLookAt(i, 1427.158569, -917.496093, 64.065879, 1477.214477, -848.428039, 67.503387, 5000);
- SetPlayerPos(i, 1483.0885,-851.0576,60.4548);
- SetPlayerInterior(i,0);
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- if(PlayerInfo[i][pLanguage] == 2)
- {
- SendClientMessage(i, COLOR_WHITE, "Daca vrei sa afli locatiile serverului atunci foloseste comanda /gps !");
- SendClientMessage(i, COLOR_WHITE, "De asemenea langa spawn se afla un magazin 24/7 iar de acolo iti poti achizitiona un telefon.");
- SendClientMessage(i, COLOR_WHITE, "- agenda telefonica - vei putea afla numerele de telefon ale altor playeri folosind comanda /number.");
- SendClientMessage(i, COLOR_WHITE, "- credit pentru telefon - pe serverul nostru telefoanele folosesc credit pentru apeluri si sms-uri.");
- SendClientMessage(i, COLOR_WHITE, "- walkie-talkie - walkie-talkie poate fi folosit pentru a discuta cu un grup de prieteni.");
- SendClientMessage(i, COLOR_WHITE, "Te lasam pe tine sa descoperi ce altceva poti cumpara din magazine.");
- }
- else
- {
- SendClientMessage(i, COLOR_WHITE, "This is a 24/7 store. You can buy the following products from here:");
- SendClientMessage(i, COLOR_WHITE, "- phone - you can use the phone to make calls(/call) and send texts(/sms).");
- SendClientMessage(i, COLOR_WHITE, "- phonebook - you'll be able to find the phone number another player using /number.");
- SendClientMessage(i, COLOR_WHITE, "- prepay credit - on this server the phones use prepay credit. when it runs out, buy some more.");
- SendClientMessage(i, COLOR_WHITE, "- walkie-talkie - this can be used to talk with a group of friends.");
- SendClientMessage(i, COLOR_WHITE, "We'll let you discover what else can be bought from the stores.");
- }
- }
- else if(TutTime[i] == 27)
- {
- PlayerTextDrawShow(i, Step[i]);
- PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~3~w~/~r~8");
- InterpolateCameraPos(i, 1481.828125, -849.984375, 66.295486, 1669.196533, -1709.910766, 54.042552, 5000);
- InterpolateCameraLookAt(i, 1477.575317, -847.710266, 67.615585, 1667.701782, -1705.139526, 54.011302, 5000);
- SetPlayerPos(i, 1668.2339,-1708.2545,20.4772);
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- if(PlayerInfo[i][pLanguage] == 2)
- {
- SendClientMessage(i, COLOR_WHITE, "Level & Payday");
- SendClientMessage(i, COLOR_WHITE, "Pe acest server ruleaza un stil de joc RPG! Tu trebuie sa avansezi in level (castigand payday-uri).");
- SendClientMessage(i, COLOR_WHITE, "La fiecare ora jucata pe server vei primi un respect-point (RP) si o suma de bani");
- SendClientMessage(i, COLOR_WHITE, "Iti poti afla punctele de respect daca tastezi comanda: /stats");
- SendClientMessage(i, COLOR_WHITE, "Cand faci Punctele de Respect necesare pentru level tastezi comanda: /buylevel");
- SendClientMessage(i, COLOR_WHITE, "Si vei plati o suma de bani pentru a avansa in nivel (level).");
- }
- else
- {
- SendClientMessage(i, COLOR_WHITE, "Here is the place where you can get your driver's licence.");
- SendClientMessage(i, COLOR_WHITE, "If you don't know to get here, you can use /gps and choose 'Los Santos DMV' from the list.");
- 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.");
- SendClientMessage(i, COLOR_WHITE, "Once you'll get your driver's license, you'll able to drive cars, but not planes or boats.");
- SendClientMessage(i, COLOR_WHITE, "To be able to drive planes and boats, you'll need to contact an instructor once you reach level 3.");
- SendClientMessage(i, COLOR_WHITE, "The licenses expires after 100 hours spent in game.");
- }
- }
- else if(TutTime[i] == 39)
- {
- PlayerTextDrawShow(i, Step[i]);
- PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~4~w~/~r~8");
- InterpolateCameraPos(i, 1669.233642, -1710.084228, 54.049716, 1451.639648, -1720.322509, 34.753833, 5000);
- InterpolateCameraLookAt(i, 1668.190673, -1705.196289, 53.909111, 1454.797485, -1724.072631, 33.771972, 5000);
- SetPlayerPos(i, 1451.0076,-1720.0073,13.7969);
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- if(PlayerInfo[i][pLanguage] == 2)
- {
- SendClientMessage(i, COLOR_WHITE, "Job-uri");
- SendClientMessage(i, COLOR_WHITE, "Iti poti alege un job tastand comanda [ /jobs ]!");
- SendClientMessage(i, COLOR_WHITE, "Pe server sunt doua tipuri de job-uri:");
- SendClientMessage(i, COLOR_WHITE, "Job-uri Legale");
- SendClientMessage(i, COLOR_WHITE, "Job-uri Ilegale");
- SendClientMessage(i, COLOR_WHITE, "De asemenea pe server sunt si joburi banoase cum ar fi:");
- SendClientMessage(i, COLOR_WHITE, "Trucker, Curier, Farmer.");
- }
- else
- {
- SendClientMessage(i, COLOR_WHITE, "That is the dealership, the place where players can buy personal vehicles.");
- SendClientMessage(i, COLOR_WHITE, "To buy your own vehicle you need level 3 and enough money.");
- 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.");
- SendClientMessage(i, COLOR_WHITE, "There are 103 different car models available in our vehicle dealership.");
- 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.");
- SendClientMessage(i, COLOR_WHITE, "You can have 2 personal vehicles or 4 if you have a premium account.");
- SendClientMessage(i, COLOR_WHITE, "Untill you reach level 3, you can use one of the 10+ jobs available.");
- }
- }
- else if(TutTime[i] == 51)
- {
- PlayerTextDrawShow(i, Step[i]);
- PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~5~w~/~r~8");
- InterpolateCameraPos(i, 1451.640747, -1720.322509, 34.753929, 1425.798583, -1044.092285, 53.434612, 8000);
- InterpolateCameraLookAt(i, 1455.009399, -1723.869384, 33.718505, 1429.216430, -1041.379638, 50.993324, 8000);
- SetPlayerPos(i, 1424.2955,-1043.1990,23.8356);
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- if(PlayerInfo[i][pLanguage] == 2)
- {
- SendClientMessage(i, COLOR_WHITE, "Unde imi pot depozita banii ?");
- SendClientMessage(i, COLOR_WHITE, "Banii sunt stocati in 2 moduri:");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "Cash (Banii pe care-i ai la tine si-ti sunt afisati - in dreapta sus).");
- SendClientMessage(i, COLOR_WHITE, "Banca (Banii pe care-i depui la banca si dupa care primesti dobanda).");
- SendClientMessage(i, COLOR_WHITE, "Pentru a trimite bani unui jucator foloseste comanda: /pay.");
- SendClientMessage(i, COLOR_WHITE, "Pentru a trimite sume mari de bani foloseste comanda: /transfer.");
- }
- else
- {
- SendClientMessage(i, COLOR_WHITE, "Trucker is one of the 10+ jobs available on our server.");
- SendClientMessage(i, COLOR_WHITE, "This job requires you to deliver stuff from one city to another.");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "To see list of all available jobs, you can use the command /jobs.");
- SendClientMessage(i, COLOR_WHITE, "One most jobs you'll earn the same ammount of money.");
- SendClientMessage(i, COLOR_WHITE, "You can test all jobs to find out which one you like better.");
- SendClientMessage(i, COLOR_WHITE, "If you get bored, you can use /quitjob and take another job.");
- }
- }
- else if(TutTime[i] == 63)
- {
- PlayerTextDrawShow(i, Step[i]);
- PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~6~w~/~r~8");
- InterpolateCameraPos(i, 386.273284, -2030.129516, 59.993469, 395.822113, -2044.595703, 59.993469, 5000);
- InterpolateCameraLookAt(i, 386.591949, -2029.832275, 55.012496, 396.252319, -2044.526245, 55.012496, 5000);
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- if(PlayerInfo[i][pLanguage] == 2)
- {
- SendClientMessage(i, COLOR_WHITE, "Politistii sunt impartiti in 4 factiuni: Los Santos Police Department, Las Venturas Police Department, FBI si National Guard.");
- SendClientMessage(i, COLOR_WHITE, "Vei putea aplica la una din cele 4 factiuni de politisti incepand cu level 7.");
- SendClientMessage(i, COLOR_WHITE, "Pana ajungi la level 7, vei putea aplica la factiunile Taxi, Paramedic, News Reporters, School Instructors incepand cu level 5.");
- SendClientMessage(i, COLOR_WHITE, "La factiunea Hitman Agency sau la una din cele 4 mafii, vei putea aplica incepand cu level 7.");
- SendClientMessage(i, COLOR_WHITE, "Aplicatiile se fac pe panel (nel).");
- SendClientMessage(i, COLOR_WHITE, "Cei care fac parte din factiuni primesc salarii saptamanale de la liderul factiunii.");
- }
- else
- {
- SendClientMessage(i, COLOR_WHITE, "Cops are divided in 4 factions: Los Santos Police Department, Las Venturas Police Department, FBI and National Guard.");
- SendClientMessage(i, COLOR_WHITE, "You'll be able to apply to on of the cops factions once you get level 7.");
- SendClientMessage(i, COLOR_WHITE, "You can apply to the factions Taxi, Paramedic, News Reporters and School Instructors once you get level 5.");
- SendClientMessage(i, COLOR_WHITE, "You'll need level 7 to become a Hitman or a gang member.");
- SendClientMessage(i, COLOR_WHITE, "You can apply to join a faction on our forum ().");
- }
- }
- else if(TutTime[i] == 75)
- {
- PlayerTextDrawShow(i, Step[i]);
- PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~7~w~/~r~8");
- InterpolateCameraPos(i, 1425.798583, -1044.092285, 53.434612, 1587.031860, -2265.820068, 18.506265, 9000);
- InterpolateCameraLookAt(i, 1429.320434, -1041.326049, 51.210960, 1591.250488, -2263.193847, 17.953033, 7000);
- SetPlayerPos(i, 1587.3394,-2265.0037,15.8115);
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- if(PlayerInfo[i][pLanguage] == 2)
- {
- SendClientMessage(i, COLOR_WHITE, "Hackeri & DM");
- SendClientMessage(i, COLOR_WHITE, "Este interzis cu desavarsire utilizarea aplicatilor de tip hack.");
- SendClientMessage(i, COLOR_WHITE, "Daca vezi pe cineva care foloseste coduri te rugam sa dai /report.");
- SendClientMessage(i, COLOR_WHITE, "Cei care folosesc coduri primesc ban permanent.");
- SendClientMessage(i, COLOR_WHITE, "Te sfatuim sa nu folosesti hack-uri altfel vei fi banat.");
- SendClientMessage(i, COLOR_WHITE, "Nu uita ca avem un sisteam anti-cheat care detecta anumite coduri si vei primi ban automat.");
- SendClientMessage(i, COLOR_WHITE, "Daca vezi un jucator ce face DM nu uita sa raportezi folosind comanda /report.");
- SendClientMessage(i, COLOR_WHITE, "Reclamatiile se face pe (www..ro/panel) .");
- }
- else
- {
- SendClientMessage(i, COLOR_WHITE, "This is the Los Santos Bank. There is also a bank in Las Venturas.");
- SendClientMessage(i, COLOR_WHITE, "The bank can be used to deposit and withdraw money from your bank account or transfer money to another player.");
- SendClientMessage(i, COLOR_WHITE, "You'll get interest from the bank for the money you have deposited in your bank account.");
- SendClientMessage(i, COLOR_WHITE, "Don't loan money for other players. You'll have no guaratees that you'll get them back.");
- SendClientMessage(i, COLOR_WHITE, "Also, buying in game goods(money, cars, houses) with real life money from other players is forbidden.");
- SendClientMessage(i, COLOR_WHITE, "Most People that offering in game goods for real money are scammers.");
- SendClientMessage(i, COLOR_WHITE, "You can get some stuff by donatingw.ro/premium). The money from donations are used to support the server.");
- }
- }
- else if(TutTime[i] == 87)
- {
- PlayerTextDrawShow(i, Step[i]);
- PlayerTextDrawSetString(i, Step[i], "~w~Step: ~r~8~w~/~r~8");
- SetPlayerPosEx(i, 1093.7021,-1485.0731,15.7074);
- SetPlayerCameraPos(i, 1065.9988,-1418.0643,56.6048);
- SetPlayerCameraLookAt(i, 1127.9037,-1486.0226,22.7690);
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- if(PlayerInfo[i][pLanguage] == 2)
- {
- SendClientMessage(i, COLOR_WHITE, "Aici este CNN Los Santos, adica locul unde poti plasa anunturi pe server.");
- SendClientMessage(i, COLOR_WHITE, "Anunturile sunt vazute de toti playerii de pe server si sunt folosite pentru a vinde/cumpara/schimba bunuri pe server.");
- SendClientMessage(i, COLOR_WHITE, "Anunturile se folosesc doar pentru vanzari, cumparari si schimburi de bunuri.");
- SendClientMessage(i, COLOR_WHITE, "Vei putea scrie un anunt incepand cu level 5.");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "Si pe forumul nostru ro exista o sectiune de vanzari unde playerii pot posta anunturi.");
- }
- else
- {
- SendClientMessage(i, COLOR_WHITE, "This is CNN Los Santos, the place where players can place ads to buy, sell or trade stuff.");
- 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.");
- SendClientMessage(i, COLOR_WHITE, "Players can also use our forum (www.ro) to advertise for stuff.");
- }
- }
- else if(TutTime[i] == 99)
- {
- PlayerTextDrawHide(i, Step[i]);
- PlayerTextDrawHide(i, Tutorial[i]);
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- SendClientMessage(i, COLOR_WHITE, "");
- if(PlayerInfo[i][pLanguage] == 2)
- {
- SendClientMessage(i, COLOR_YELLOW, "Ai ajuns la sfarsitul tutorialului. Daca ai fost atent, ar trebui sa stii cateva lucruri despre joc.");
- SendClientMessage(i, COLOR_YELLOW, "Daca ai vreo intrebare legata de joc, foloseste /n si helperii vor incerca sa te ajute.");
- SendClientMessage(i, COLOR_YELLOW, "Poti folosi si /help pentru comenzi de baza.");
- SendClientMessage(i, COLOR_YELLOW, "Distractie placuta!");
- }
- else
- {
- SendClientMessage(i, COLOR_YELLOW, "We reached the end of the tutorial. We hope you learned something about the game.");
- SendClientMessage(i, COLOR_YELLOW, "If you have any game-questions, you can use /n and our helpers will try to help you.");
- SendClientMessage(i, COLOR_YELLOW, "You cand also use /help for basic commands.");
- SendClientMessage(i, COLOR_YELLOW, "Have fun!");
- }
- CP[i] = 43;
- SetPlayerCheckpointEx(i, 1154.3219,-1771.8583,16.5992, 4.0);
- StopAudioStreamForPlayer(i);
- }
- else if(TutTime[i] == 101)
- {
- TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
- gNews[i] = 0;
- TogglePlayerControllable(i, 1);
- SetCameraBehindPlayer(i);
- TogglePlayerSpectating(i, 0);
- SetPlayerSpawn(i);
- PlayerInfo[i][pAccount] = 10000;
- ResetPlayerCash(i);
- GivePlayerCash(i,50000);
- SetPlayerInterior(i,0);
- SetPlayerVirtualWorld(i,0);
- TogglePlayerControllable(i,true);
- new str1[256];
- mysql_format(SQL,str1,256,"UPDATE users SET `Tutorial`='1',`Bank`='10000',`Money`='500000' WHERE `name`='%s'",PlayerInfo[i][pNormalName]);
- mysql_tquery(SQL,str1,"","");
- //Bonus
- GivePlayerCash(i, 500000);
- PlayerInfo[i][pLevel] = 3;
- Update(i, pCashx);
- Update(i, pLevelx);
- SetPlayerScore(i, PlayerInfo[i][pLevel]);
- 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.");
- }
- }
Add Comment
Please, Sign In to add comment