Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* ### * ##### * ##*## # # # # # ##### #### #
- # # # # # # # # # # # ## # # # #
- # # # # ## # # #***# # #***# # # # # ## #*** #
- #### # ##### # # # # ##### # # # # ##### #### #####
- ### # ###*
- # # # # # *
- #** #***# #***#
- # # # # # #
- #** # # # #
- */
- #define FILTERSCRIPT
- #include <a_samp>
- new lcsevent = 0;
- new lcsc1;
- new lcsc2;
- new lcsc3;
- new lcsc4;
- new lcsc5;
- new lcsc6;
- new lcsc7;
- new lcsc8;
- new lcsc9;
- new lcsc10;
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- CreateObject(8172, -440.37, 3173.10, 500.00, 0.00, 0.00, 0.00);
- CreateObject(8172, -480.04, 3173.09, 500.00, 0.00, 0.00, 0.00);
- CreateObject(3524, -499.04, 3252.73, 503.00, 0.00, 0.00, 0.00);
- CreateObject(3524, -421.09, 3252.58, 503.00, 0.00, 0.00, -25.00);
- CreateObject(3524, -421.19, 3094.76, 503.00, 0.00, 0.00, 229.00);
- CreateObject(3524, -499.53, 3093.28, 503.00, 0.00, 0.00, 142.00);
- CreateObject(8483, -460.16, 3186.73, 494.00, 0.00, -90.00, -90.00);
- CreateObject(3268, -460.90, 3102.36, 499.97, 0.00, 0.00, -90.00);
- CreateObject(11245, -447.50, 3094.11, 502.00, 0.00, -60.00, 127.00);
- CreateObject(11245, -474.23, 3093.96, 502.00, 0.00, -60.00, 40.00);
- CreateObject(18647, -463.61, 3105.07, 500.00, 0.00, 0.00, 0.00);
- CreateObject(18647, -462.65, 3104.10, 500.00, 0.00, 0.00, 90.00);
- CreateObject(18647, -461.26, 3105.10, 500.00, 0.00, 0.00, 0.00);
- CreateObject(18647, -460.28, 3106.09, 499.98, 0.00, 0.00, 90.00);
- CreateObject(18647, -460.28, 3104.12, 499.98, 0.00, 0.00, 90.00);
- CreateObject(18647, -457.53, 3106.08, 499.98, 0.00, 0.00, 90.00);
- CreateObject(18647, -457.76, 3105.31, 499.98, 0.00, 0.00, 45.00);
- CreateObject(18647, -458.02, 3104.31, 499.98, 0.00, 0.00, 105.00);
- CreateObject(18761, -461.02, 3112.47, 499.98, 0.00, 0.00, 0.00);
- CreateObject(13667, -461.01, 3114.19, 520.00, 0.00, 0.00, 90.00);
- CreateObject(18785, -430.36, 3102.39, 500.00, 0.00, 0.00, 0.00);
- CreateObject(18785, -435.95, 3102.39, 500.00, 0.00, 0.00, 0.00);
- CreateObject(18785, -485.87, 3102.39, 500.00, 0.00, 0.00, 0.00);
- CreateObject(18785, -489.81, 3102.39, 500.00, 0.00, 0.00, 0.00);
- CreateObject(18066, -460.11, 3106.51, 499.96, -90.00, 0.00, 0.00);
- CreateObject(8172, -440.37, 3173.10, 500.00, 0.00, 0.00, 0.00);
- CreateObject(8172, -480.04, 3173.09, 500.00, 0.00, 0.00, 0.00);
- CreateObject(3524, -499.04, 3252.73, 503.00, 0.00, 0.00, 0.00);
- CreateObject(3524, -421.09, 3252.58, 503.00, 0.00, 0.00, -25.00);
- CreateObject(3524, -421.19, 3094.76, 503.00, 0.00, 0.00, 229.00);
- CreateObject(3524, -496.38, 3093.62, 503.00, 0.00, 0.00, 142.00);
- CreateObject(8483, -460.16, 3186.73, 494.00, 0.00, -90.00, -90.00);
- CreateObject(3268, -460.90, 3102.36, 499.97, 0.00, 0.00, -90.00);
- CreateObject(11245, -447.50, 3094.11, 502.00, 0.00, -60.00, 127.00);
- CreateObject(11245, -474.23, 3093.96, 502.00, 0.00, -60.00, 40.00);
- CreateObject(18647, -463.61, 3105.07, 500.00, 0.00, 0.00, 0.00);
- CreateObject(18647, -462.65, 3104.10, 500.00, 0.00, 0.00, 90.00);
- CreateObject(18647, -461.26, 3105.10, 500.00, 0.00, 0.00, 0.00);
- CreateObject(18647, -460.28, 3106.09, 499.98, 0.00, 0.00, 90.00);
- CreateObject(18647, -460.28, 3104.12, 499.98, 0.00, 0.00, 90.00);
- CreateObject(18647, -457.53, 3106.08, 499.98, 0.00, 0.00, 90.00);
- CreateObject(18647, -457.76, 3105.31, 499.98, 0.00, 0.00, 45.00);
- CreateObject(18647, -458.02, 3104.31, 499.98, 0.00, 0.00, 105.00);
- CreateObject(18761, -461.02, 3112.47, 499.98, 0.00, 0.00, 0.00);
- CreateObject(13667, -461.01, 3114.19, 520.00, 0.00, 0.00, 90.00);
- }
- print("\n--------------------------------------");
- print(" DiGiTaL_LCS");
- print("--------------------------------------\n");
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmd, "/lcsannc", true) == 0)
- {
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- SendClientMessageToAll(TEAM_VAGOS_COLOR, "Eventul LCS a fost pornit! Scrie /joinlcs pentru a concura si tu!";
- }
- else
- {
- SendClientMessage(playerid, COLOR_NICERED, "Nu esti autorizat sa folosesti aceasta comanda!";
- }
- return 1;
- }
- return 1;
- }
- if(strcmp(cmd, "/lcsjoin", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- if lcsevent == 1)
- {
- if (GetPlayerState(playerid) == 2)
- {
- SendClientMessage(playerid, COLOR_NICERED, "Iesi din masina si incearca iar!
- return 1;
- }
- if(PlayerInfo[playerid][pJailed] == 1)
- {
- SendClientMessage(playerid,COLOR_NICERED,"Esti la parnaie, nu poti concura!
- return 1;
- }
- if(WantedLevel[playerid] >= 1)
- {
- SendClientMessage(playerid,COLOR_NICERED,"Esti cautat de politie, n-ai timp de LCS.
- return 1;
- }
- if(PlayerZTied[playerid] > 0)
- {
- SendClientMessage(playerid, COLOR_NICERED, "Esti legat, nu poti concura la Last Car Standing!
- return 1;
- }
- else
- {
- SetPlayerPos(playerid,-460.3275,3103.0244,500.9844,0.0285);
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD1, "Eventul LCS nu e activat!");
- }
- }
- return 1;
- }
- if(strcmp(cmd, "/lcs", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- if (PlayerInfo[playerid][pAdmin] >= 2 && (devent == 0))
- {
- lcsevent = 1;
- BroadCast(COLOR_NICERED, " Eventul LCS a fost activat de un Admin! Scrie /joinlcs pentru a concura!");
- }
- else if (PlayerInfo[playerid][pAdmin] >= 1 && (lcsevent == 1))
- {
- lcsevent = 0;
- BroadCast(COLOR_THEMAFIA, " Eventul LCS a fost oprit de un Admin!");
- }
- else
- {
- SendClientMessage(playerid, COLOR_NICERED, "Nu ai voie sa folosesti aceasta comanda, nu esti admin!");
- }
- }
- }
- }
- }
- return 1;
- }
- return 0;
- }
- //----------------------------CARS-------------------------------
- lcsc1 = AddStaticVehicle(415,-448.2969,3096.9011,500.7604,358.3995,0,3); //
- lcsc2 = AddStaticVehicle(415,-449.4069,3110.4045,500.7560,90.7424,0,3); //
- lcsc3 = AddStaticVehicle(415,-449.7160,3106.0381,500.7593,89.4468,0,3); //
- lcsc4 = AddStaticVehicle(541,-465.3029,3096.4758,500.6092,359.4644,0,3); //
- lcsc5 = AddStaticVehicle(415,-451.7795,3096.2251,500.7593,357.0129,0,3); //
- lcsc6 = AddStaticVehicle(415,-457.5237,3095.9136,500.7604,358.4154,0,3); //
- lcsc7 = AddStaticVehicle(541,-472.2949,3110.2378,500.6090,271.0478,0,3); //
- lcsc8 = AddStaticVehicle(541,-472.9049,3106.1006,500.6091,269.1479,0,3); //
- lcsc9 = AddStaticVehicle(541,-473.6192,3095.7981,500.6091,359.0208,0,3); //
- lcsc10 = AddStaticVehicle(541,-469.5145,3095.6216,500.6093,358.2925,0,3); //
- //----------------------------CARS-------------------------------
- #else
- main()
- {
- print("\n----------------------------------");
- print(" DiGiTaL_LCS");
- print("----------------------------------\n");
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement