Thursday, October 18, 2012

Halloween Zombie-Mod - NEW ADDON Trick or Treat



Warning you need this includes and plugins:
Include:http://forum.sa-mp.com/showthread.php?t=92679
plugin:http://forum.sa-mp.com/showthread.php?t=102865

Credits: Kitten for scripting , Incognito For streamer , Y_Less for foreach include, Who ever made the language script

This is a mode i made for Halloween special it has 6 classes

Survivors:
Medic
Survivor (Civilian)
Solider
Cops
Zombies:
Zombie 1 (162 id)
Zombie 2

Zombies get a special knife effect when u are near a human u press your knife button it loses there hp
This gamemode have cool textdraws
Good map edit in San fierro
A little bit of construction site

Weapons(survivors):
sorry im lazy:P
Code:
#define AK47 30
#define M4 31
#define MP5 29
#define DEAGLE 24
#define GRENADE 16
#define TEC9 32
#define SHOTGUN 25
#define BASEBALL 5
Zombies(infected):
sorry im lazy still ha
Code:
#define KNIFE 4
This gamemode features a good EXP system made by kitten
Survivors Skin ids:
still lazy:P
Code:
 AddPlayerClass(275, -2036.4352,179.3066,28.8429,266.0225,0,0,0,0,0,0); //MEDIC
 AddPlayerClass(287, -1979.9567,138.0153,27.6875,91.8412,0,0,0,0,0,0);// SOLIDER
 AddPlayerClass(280, -2019.7849,-46.1203,35.3375,270.1827,0,0,0,0,0,0);// POLICE
 AddPlayerClass(2,   -1978.7373,564.7525,38.6038,152.8846,0,0,0,0,0,0);// SURVIVOR
Zombies Skin ids:
Code:
        AddPlayerClass(162, -1950.8861,696.2945,46.5625,355.4216,0,0,0,0,0,0);// ZOMBIE 1
        AddPlayerClass(137, -1950.8861,696.2945,46.5625,355.4216,0,0,0,0,0,0);// ZOMBIE 2

Thats enough info now for some pictures?









Download:
http://pastebin.com/seUN08a0

or get it here
Code:
//Gamemode by kitten 10/29/10 2:30 AM
// Made for Halloween by kitten
// So far some credits to playbox12 for making the Accent FS converted into this gamemode
#include <a_samp>
#include <streamer>
#include <foreach>
//--TEAMS--//
new cTeam[MAX_PLAYERS];
#define TEAM_MEDIC 0
#define TEAM_SOLIDER 1
#define TEAM_POLICE 2
#define TEAM_SURVIVOR 3
#define TEAM_ZOMBIE 4
#define TEAM_ZOMBIE2 5
//--WEAPONS--//
#define AK47 30
#define M4 31
#define MP5 29
#define DEAGLE 24
#define GRENADE 16
#define TEC9 32
#define SHOTGUN 25
#define BASEBALL 5
#define KNIFE 4
//--COLORS--//
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_RED 0xAA3333AA
//--TEAM COLORS--//
#define TEAMMEDICSOLIDERPOLICESURVIVOR_COLOR 0x33CCFFAA
#define TEAM_COLORZOMBIE 0xFFFF00AA
//--Varaibles--//
new Text:Death;
new Text:ZMMESSAGE;
new Text:Deaths[MAX_PLAYERS];
new Text:cHP[MAX_PLAYERS];
new Text:Money[MAX_PLAYERS];
new Text:Score[MAX_PLAYERS];
new Text:Textdraw5;
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Bar[MAX_PLAYERS];
new Text:EXPNUM[MAX_PLAYERS];
new Deathss[MAX_PLAYERS];
new string[128];
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
//--Forwards--//
forward NearbyMessageForPlayers( playerid, stringcolour, text[]);
//--Dialogs--//
#define DialogIDChangeOnProblems 1928


main()
{
 print("\n----------------------------------");
 print(" Zombie-Mod V1.0 SF");
 print("----------------------------------\n");
}

public OnGameModeInit()
{
 // Don't use these lines if it's a filterscript
 SetGameModeText("Halloween Zombie-Mod");
 AddPlayerClass(275, -2036.4352,179.3066,28.8429,266.0225,0,0,0,0,0,0); //MEDIC
 AddPlayerClass(162, -1950.8861,696.2945,46.5625,355.4216,0,0,0,0,0,0);// ZOMBIE 1
 AddPlayerClass(287, -1979.9567,138.0153,27.6875,91.8412,0,0,0,0,0,0);// SOLIDER
 AddPlayerClass(137, -1950.8861,696.2945,46.5625,355.4216,0,0,0,0,0,0);// ZOMBIE 2
 AddPlayerClass(280, -2019.7849,-46.1203,35.3375,270.1827,0,0,0,0,0,0);// POLICE
 AddPlayerClass(2,   -1978.7373,564.7525,38.6038,152.8846,0,0,0,0,0,0);// SURVIVOR

 
 //--CARS--//
 AddStaticVehicle(481,-2001.14855957,191.51016235,27.14783859,0.00000000,-1,-1); //BMX
 AddStaticVehicle(481,-2000.90405273,193.13311768,27.14783859,0.00000000,-1,-1); //BMX
 AddStaticVehicle(481,-2000.85705566,194.85237122,27.14783859,0.00000000,-1,-1); //BMX
 AddStaticVehicle(481,-2000.51403809,196.48480225,27.14783859,0.00000000,-1,-1); //BMX
 AddStaticVehicle(481,-2000.62243652,199.00923157,27.14016533,0.00000000,-1,-1); //BMX
 AddStaticVehicle(481,-2030.83471680,171.84078979,28.44471359,273.99987793,-1,-1); //BMX
 AddStaticVehicle(597,-2010.13940430,-57.55938721,35.03497696,0.00000000,-1,1); //Police Car (SFPD)
 AddStaticVehicle(597,-2010.10949707,-51.39652634,35.03497696,0.00000000,-1,1); //Police Car (SFPD)
 AddStaticVehicle(597,-2009.96496582,-45.44446564,35.04187393,0.00000000,-1,1); //Police Car (SFPD)
 AddStaticVehicle(597,-2009.99194336,-38.89971161,35.02678299,0.00000000,-1,1); //Police Car (SFPD)
 AddStaticVehicle(597,-2002.32812500,-21.70625877,34.88402939,0.00000000,-1,1); //Police Car (SFPD)
 AddStaticVehicle(597,-2002.52661133,-33.21662140,34.97959518,0.00000000,-1,1); //Police Car (SFPD)
 AddStaticVehicle(597,-2002.73022461,-40.48923111,35.03497696,0.00000000,-1,1); //Police Car (SFPD)
 AddStaticVehicle(533,-2009.73657227,154.29324341,27.33906174,0.00000000,-1,-1); //Feltzer
 AddStaticVehicle(533,-2010.02624512,160.68347168,27.33906174,0.00000000,-1,-1); //Feltzer
 AddStaticVehicle(533,-2010.00012207,167.99829102,27.33906174,0.00000000,-1,-1); //Feltzer
 AddStaticVehicle(533,-2010.03308105,175.05853271,27.33906174,0.00000000,-1,-1); //Feltzer
 AddStaticVehicle(533,-2010.43811035,181.43998718,27.33906174,0.00000000,-1,-1); //Feltzer
 AddStaticVehicle(466,-1997.47583008,710.11846924,45.21687317,180.00000000,-1,-1); //Glendale
 AddStaticVehicle(466,-1997.29504395,703.10711670,45.21687317,180.00000000,-1,-1); //Glendale
 AddStaticVehicle(466,-1997.55139160,695.92315674,45.21687317,180.00000000,-1,-1); //Glendale
 AddStaticVehicle(466,-1997.60876465,717.14312744,45.21687317,180.00000000,-1,-1); //Glendale
 AddStaticVehicle(489,-1978.91589355,555.88452148,35.57931137,90.00000000,-1,-1); //Rancher
 AddStaticVehicle(489,-1979.34326172,552.20745850,35.56148148,90.00000000,-1,-1); //Rancher
 AddStaticVehicle(489,-1979.63903809,548.88006592,35.56408310,90.00000000,-1,-1); //Rancher
 AddStaticVehicle(579,-1979.79711914,543.48034668,35.31917191,90.00000000,-1,-1); //Huntley
 AddStaticVehicle(579,-1979.66760254,540.60186768,35.30284119,90.00000000,-1,-1); //Huntley
 AddStaticVehicle(579,-1979.66699219,540.60156250,35.30284119,90.00000000,-1,-1); //Huntley
 AddStaticVehicle(579,-1979.76330566,537.61016846,35.30368423,90.00000000,-1,-1); //Huntley
 AddStaticVehicle(445,-1997.63684082,533.79815674,35.00562668,0.00000000,-1,-1); //Admiral
 AddStaticVehicle(445,-1996.67724609,527.94769287,35.00562668,0.00000000,-1,-1); //Admiral

 //--OBJECTS--//
 CreateDynamicObject(18450,298.25851440,2137.56518555,19.43712234,1.95626831,347.99291992,354.41601562); //object(cs_roadbridge04) (1)
 CreateDynamicObject(18450,375.74612427,2129.23632812,35.78060913,359.99926758,347.99902344,353.99743652); //object(cs_roadbridge04) (2)
 CreateDynamicObject(8390,482.57897949,2118.03686523,63.79504395,0.00000000,0.00000000,266.00000000); //object(multicarpark01_lvs) (1)
 CreateDynamicObject(18450,391.13177490,2102.32812500,78.55854797,359.99438477,359.99743652,355.99707031); //object(cs_roadbridge04) (3)
 CreateDynamicObject(1634,435.67501831,2102.22216797,77.78767395,0.00000000,0.00000000,84.00000000); //object(landjump2) (1)
 CreateDynamicObject(1634,435.24066162,2098.42553711,77.78767395,0.00000000,0.00000000,83.99597168); //object(landjump2) (2)
 CreateDynamicObject(1634,434.78421021,2094.44262695,77.78767395,0.00000000,0.00000000,83.99597168); //object(landjump2) (3)
 CreateDynamicObject(1634,428.78424072,2098.43115234,77.70126343,0.00000000,0.00000000,263.99597168); //object(landjump2) (4)
 CreateDynamicObject(1634,429.13684082,2102.69091797,77.70111084,0.00000000,0.00000000,263.99047852); //object(landjump2) (5)
 CreateDynamicObject(1634,428.57635498,2094.48046875,77.95186615,0.00000000,0.00000000,263.99047852); //object(landjump2) (6)
 CreateDynamicObject(18450,356.08535767,2105.97558594,81.46905518,359.98974609,19.99450684,347.99926758); //object(cs_roadbridge04) (4)
 CreateDynamicObject(8420,246.42150879,2128.88330078,17.47566223,0.00000000,0.00000000,0.00000000); //object(arprtcrprk04_lvs) (1)
 CreateDynamicObject(6997,284.68167114,2090.84326172,99.80050659,1.99877930,357.99877930,82.06982422); //object(strfshcpark69) (1)
 CreateDynamicObject(18450,281.78811646,2123.04760742,85.38455200,1.92913818,345.98156738,346.47509766); //object(cs_roadbridge04) (5)
 CreateDynamicObject(10629,309.34936523,2111.73779297,25.15957260,0.00000000,0.00000000,0.00000000); //object(queens_04_sfs) (1)
 CreateDynamicObject(7555,240.50645447,2239.35498047,53.01930237,0.00000000,0.00000000,90.00000000); //object(bballcpark1) (1)
 CreateDynamicObject(18450,205.66430664,2204.25268555,45.57309341,1.73132324,329.98394775,86.99758911); //object(cs_roadbridge04) (6)
 CreateDynamicObject(18450,203.25660706,2173.75708008,31.82683182,1.82559204,335.98205566,86.80786133); //object(cs_roadbridge04) (8)
 CreateDynamicObject(10394,261.75668335,2055.61596680,19.38010788,0.00000000,0.00000000,0.00000000); //object(plot1_sfs) (1)
 CreateDynamicObject(3303,273.22204590,2067.99926758,18.73773575,0.00000000,0.00000000,0.00000000); //object(des_bighus03) (1)
 CreateDynamicObject(3303,273.49493408,2051.70556641,18.73773575,0.00000000,0.00000000,0.00000000); //object(des_bighus03) (2)
 CreateDynamicObject(3303,249.39376831,2068.24121094,18.73773575,0.00000000,0.00000000,180.00000000); //object(des_bighus03) (3)
 CreateDynamicObject(3303,249.34230042,2043.95043945,18.73773575,0.00000000,0.00000000,179.99450684); //object(des_bighus03) (4)
 CreateDynamicObject(1634,262.95816040,2084.27734375,17.43794250,11.99707031,0.00000000,181.98449707); //object(landjump2) (16)
 CreateDynamicObject(1634,262.46105957,2078.80981445,17.25675392,11.99157715,0.00000000,357.98303223); //object(landjump2) (17)
 CreateDynamicObject(4199,228.04954529,2143.53417969,20.72752762,0.00000000,0.00000000,270.00000000); //object(garages1_lan) (1)
 CreateDynamicObject(6910,102.56044769,2036.48327637,21.90613556,0.00000000,0.00000000,0.00000000); //object(vgnprtlstation_01) (1)
 CreateDynamicObject(14776,494.87713623,2077.00781250,83.35222626,0.00000000,0.00000000,176.00000000); //object(int3int_carupg_int) (1)
 CreateDynamicObject(17064,143.59333801,2058.28637695,15.71645737,0.00000000,0.00000000,288.00000000); //object(cw2_garage) (1)
 CreateDynamicObject(10282,143.44694519,2124.25805664,18.75538635,0.00000000,0.00000000,0.00000000); //object(mich_int_sfe) (1)
 CreateDynamicObject(10282,133.15161133,2123.32202148,18.76105118,0.00000000,0.00000000,0.00000000); //object(mich_int_sfe) (2)
 CreateDynamicObject(11391,149.47048950,2104.13403320,18.23409081,0.00000000,0.00000000,0.00000000); //object(hubprops6_sfse) (1)
 CreateDynamicObject(11391,165.34185791,2123.88549805,19.22067451,0.00000000,0.00000000,180.00000000); //object(hubprops6_sfse) (2)
 CreateDynamicObject(14826,140.93786621,2113.45312500,17.99884987,0.00000000,0.00000000,0.00000000); //object(int_kbsgarage2) (1)
 CreateDynamicObject(14826,141.43107605,2108.93066406,17.76234245,0.00000000,0.00000000,0.00000000); //object(int_kbsgarage2) (2)
 CreateDynamicObject(14826,142.44447327,2103.52563477,17.48217964,0.00000000,0.00000000,0.00000000); //object(int_kbsgarage2) (3)
 CreateDynamicObject(11677,124.66296387,2053.03686523,21.13662720,0.00000000,0.00000000,68.00000000); //object(xen2_countn) (1)
 CreateDynamicObject(1443,133.37615967,2066.67822266,16.47530365,0.00000000,0.00000000,80.00000000); //object(dyn_street_sign_1) (1)
 CreateDynamicObject(2047,68.13633728,2020.91503906,22.45834732,0.00000000,0.00000000,0.00000000); //object(cj_flag1) (1)
 CreateDynamicObject(2745,127.49699402,2128.51391602,17.84615707,0.00000000,0.00000000,0.00000000); //object(cj_stat_3) (1)
 CreateDynamicObject(3554,157.64064026,2140.23413086,27.67276764,0.00000000,0.00000000,0.00000000); //object(visagesign04) (1)
 CreateDynamicObject(3554,170.94183350,2140.16113281,27.61890030,0.00000000,0.00000000,0.00000000); //object(visagesign04) (2)
 CreateDynamicObject(3521,181.53425598,2140.55102539,19.05852699,0.00000000,0.00000000,0.00000000); //object(vgsn_rbstiff) (1)
 CreateDynamicObject(3715,38.39371109,2066.64062500,25.63639069,0.00000000,0.00000000,274.00000000); //object(arch_sign) (1)
 CreateDynamicObject(3715,37.16772079,2094.69384766,25.89540100,0.00000000,0.00000000,273.99902344); //object(arch_sign) (2)
 CreateDynamicObject(3715,35.47429276,2123.49780273,25.82915497,0.00000000,0.00000000,273.99902344); //object(arch_sign) (3)
 CreateDynamicObject(5811,67.56576538,2060.98095703,20.92096710,0.00000000,0.00000000,60.00000000); //object(lawnmallsign1) (1)
 CreateDynamicObject(966,180.53903198,2137.49389648,16.22656250,0.00000000,0.00000000,100.00000000); //object(bar_gatebar01) (1)
 CreateDynamicObject(1634,209.84910583,2247.45703125,56.54318237,11.99157715,0.00000000,181.98303223); //object(landjump2) (18)
 CreateDynamicObject(1634,209.80651855,2241.85009766,61.85724258,23.97604370,2.18896484,181.09318542); //object(landjump2) (19)
 CreateDynamicObject(1634,205.55078125,2247.25683594,56.54318237,11.99157715,0.00000000,181.98303223); //object(landjump2) (20)
 CreateDynamicObject(1634,205.53028870,2241.50512695,62.04318237,25.99157715,0.00000000,181.98303223); //object(landjump2) (21)
 CreateDynamicObject(3257,256.10452271,2143.40942383,18.61241913,0.00000000,0.00000000,272.00000000); //object(refinerybox1) (1)
 CreateDynamicObject(1676,102.16468811,2041.24035645,18.78657150,0.00000000,0.00000000,0.00000000); //object(washgaspump) (1)
 CreateDynamicObject(1676,97.99192810,2042.75854492,18.83782578,0.00000000,0.00000000,0.00000000); //object(washgaspump) (2)
 CreateDynamicObject(7073,215.65289307,2140.10644531,41.10772324,0.00000000,0.00000000,30.00000000); //object(vegascowboy1) (1)
 CreateDynamicObject(7392,315.87710571,2102.80712891,39.33208466,0.00000000,0.00000000,0.00000000); //object(vegcandysign1) (1)
 CreateDynamicObject(3522,227.61605835,2109.04541016,17.73376656,0.00000000,0.00000000,90.00000000); //object(vgsn_flwbdcrb) (1)
 CreateDynamicObject(7520,84.06965637,2077.76147461,16.51736832,0.00000000,0.00000000,0.00000000); //object(vgnlowbuild203) (1)
 CreateDynamicObject(11439,-2026.49316406,318.99707031,24.66406250,0.00000000,0.00000000,90.00000000); //object(des_woodbr_) (2)
 CreateDynamicObject(11439,-1910.03869629,342.57656860,21.70567131,0.00000000,0.00000000,329.99450684); //object(des_woodbr_) (5)
 CreateDynamicObject(8875,-2005.13403320,300.69418335,39.79613876,0.00000000,0.00000000,92.00000000); //object(vgsecnstrct14) (1)
 CreateDynamicObject(8875,-2001.32092285,299.40856934,39.75499344,0.00000000,0.00000000,51.99951172); //object(vgsecnstrct14) (2)
 CreateDynamicObject(18275,-2016.54003906,308.70422363,36.35875702,0.00000000,0.00000000,0.00000000); //object(cw2_mtbfinish) (1)
 CreateDynamicObject(18275,-1992.18334961,295.03848267,35.79204559,0.00000000,0.00000000,0.00000000); //object(cw2_mtbfinish) (2)
 CreateDynamicObject(7089,-1979.37170410,289.56588745,40.03011322,0.00000000,0.00000000,90.00000000); //object(newscafldvegs02) (1)
 CreateDynamicObject(7089,-1978.62670898,281.62863159,50.16832733,0.00000000,0.00000000,90.00000000); //object(newscafldvegs02) (2)
 CreateDynamicObject(7089,-1932.59973145,242.63481140,41.53011322,0.00000000,0.00000000,180.00000000); //object(newscafldvegs02) (3)
 CreateDynamicObject(7089,-1977.24609375,281.28875732,55.93228149,0.00000000,0.00000000,91.99450684); //object(newscafldvegs02) (4)
 CreateDynamicObject(7089,-1975.65332031,279.43597412,66.27954865,0.00000000,0.00000000,89.99401855); //object(newscafldvegs02) (5)
 CreateDynamicObject(7089,-1935.28625488,332.96240234,43.14525604,0.00000000,0.00000000,359.98901367); //object(newscafldvegs02) (6)
 CreateDynamicObject(7089,-1937.40136719,332.71182251,53.74611664,0.00000000,0.00000000,359.98352051); //object(newscafldvegs02) (7)
 CreateDynamicObject(7089,-1936.23583984,331.77819824,62.59697723,0.00000000,0.00000000,359.98352051); //object(newscafldvegs02) (8)
 CreateDynamicObject(7089,-1973.92565918,282.06170654,66.52148438,0.00000000,0.00000000,87.98352051); //object(newscafldvegs02) (10)
 CreateDynamicObject(7089,-1933.94543457,245.80827332,50.31136322,0.00000000,359.99450684,177.97851562); //object(newscafldvegs02) (11)
 CreateDynamicObject(7089,-1925.14550781,247.55636597,60.57613373,0.00000000,359.98901367,177.97851562); //object(newscafldvegs02) (12)
 CreateDynamicObject(7089,-1891.66406250,258.16134644,40.46036530,0.00000000,359.98901367,255.97851562); //object(newscafldvegs02) (13)
 CreateDynamicObject(7089,-1894.69311523,254.04504395,50.11331940,0.00000000,359.98352051,255.97595215); //object(newscafldvegs02) (14)
 CreateDynamicObject(7089,-1897.67004395,203.81265259,46.84244537,0.00000000,359.98352051,275.97595215); //object(newscafldvegs02) (15)
 CreateDynamicObject(7089,-1905.12207031,206.23698425,44.76448822,0.00000000,359.97802734,85.97106934); //object(newscafldvegs02) (16)
 CreateDynamicObject(7089,-1914.82971191,287.85104370,43.72650909,0.00000000,359.97802734,291.96801758); //object(newscafldvegs02) (17)
 CreateDynamicObject(7089,-1909.88745117,288.57443237,53.15531921,0.00000000,359.97802734,281.96716309); //object(newscafldvegs02) (18)
 CreateDynamicObject(7089,-1905.74414062,287.80484009,51.66159439,0.00000000,359.97802734,281.96411133); //object(newscafldvegs02) (19)
 CreateDynamicObject(7089,-1902.54101562,288.17596436,56.87502289,0.00000000,359.97802734,281.96411133); //object(newscafldvegs02) (20)
 CreateDynamicObject(7089,-1976.92492676,279.73062134,64.66889191,0.00000000,359.97802734,89.96411133); //object(newscafldvegs02) (21)
 CreateDynamicObject(7017,-1988.89672852,276.13507080,34.17935562,0.00000000,0.00000000,89.99938965); //object(circusconstruct07) (2)
 CreateDynamicObject(7017,-1998.39062500,221.90898132,26.74085236,0.00000000,356.00000000,87.99450684); //object(circusconstruct07) (3)
 CreateDynamicObject(7017,-1999.84692383,188.95301819,27.17833328,0.00000000,359.99548340,87.98950195); //object(circusconstruct07) (4)
 CreateDynamicObject(7017,-2001.23510742,118.07251740,27.53138924,0.00000000,359.98901367,89.97851562); //object(circusconstruct07) (5)
 CreateDynamicObject(7017,-2017.75000000,61.69335938,27.82507133,0.00000000,359.98901367,267.98400879); //object(circusconstruct07) (6)
 CreateDynamicObject(6867,-2079.90698242,192.52803040,54.07432556,0.00000000,0.00000000,0.00000000); //object(vegasplant06) (1)
 CreateDynamicObject(12986,-2006.82641602,139.92024231,28.06169319,0.00000000,0.00000000,0.00000000); //object(sw_well1) (1)
 CreateDynamicObject(4848,-1985.26379395,450.63107300,37.05813599,0.00000000,0.00000000,270.00000000); //object(sanpedbeaut) (1)
 CreateDynamicObject(7089,-1976.73791504,288.50738525,50.68478775,0.00000000,0.00000000,90.00000000); //object(newscafldvegs02) (22)
 CreateDynamicObject(8875,-1993.36364746,244.91836548,40.26737976,0.00000000,0.00000000,351.99829102); //object(vgsecnstrct14) (3)
 CreateDynamicObject(5142,-1969.86486816,543.99151611,40.80715561,0.00000000,0.00000000,90.00000000); //object(las2plaza1bit) (1)
 CreateDynamicObject(5729,-1983.47009277,410.76522827,38.24286270,0.00000000,0.00000000,180.00000000); //object(melblok02_lawn) (1)
 CreateDynamicObject(5729,-1983.34899902,488.31799316,38.24286270,0.00000000,0.00000000,179.99450684); //object(melblok02_lawn) (2)
 CreateDynamicObject(1384,-1976.74145508,244.20945740,67.43803406,0.00000000,0.00000000,50.00000000); //object(twrcrane_m_01) (1)
 CreateDynamicObject(5126,-2028.15795898,282.45794678,48.60133362,0.00000000,0.00000000,0.00000000); //object(dockcranescale0) (1)
 CreateDynamicObject(11406,-2002.03283691,282.29147339,45.36168289,0.00000000,0.00000000,0.00000000); //object(acwinch1b_sfs01) (2)
 CreateDynamicObject(7017,-1993.64099121,-72.95140076,33.71890259,0.00000000,359.98901367,87.98400879); //object(circusconstruct07) (6)
 CreateDynamicObject(5424,-1989.29248047,-6.64309692,33.39360428,0.00000000,93.99993896,356.00030518); //object(laejeffers04) (1)
 CreateDynamicObject(5424,-1989.36682129,-61.71216202,40.13883209,0.00000000,93.99905396,355.99542236); //object(laejeffers04) (2)
 CreateDynamicObject(5424,-1991.25231934,-117.66154480,37.83666611,0.00000000,93.99905396,355.99542236); //object(laejeffers04) (3)
 CreateDynamicObject(5424,-2021.31054688,-146.47409058,36.44706345,0.00000000,93.99905396,265.99548340); //object(laejeffers04) (4)
 CreateDynamicObject(5424,-2044.28564453,-111.19506073,38.73023987,0.00000000,93.99905396,265.99548340); //object(laejeffers04) (5)
 CreateDynamicObject(5424,-2014.71386719,-128.69227600,35.02549744,0.00000000,93.99905396,185.99546814); //object(laejeffers04) (6)
 CreateDynamicObject(5424,-2079.09643555,-64.15837860,35.90800095,0.00000000,93.99905396,177.99298096); //object(laejeffers04) (7)
 CreateDynamicObject(5424,-2079.15087891,-114.33666229,35.90800095,0.00000000,93.99902344,177.98950195); //object(laejeffers04) (8)
 CreateDynamicObject(5424,-2101.40771484,-33.14077759,35.75956345,0.00000000,93.99905396,267.98950195); //object(laejeffers04) (9)
 CreateDynamicObject(5424,-2101.50097656,-34.36285782,73.79785156,0.00000000,93.99902344,267.98400879); //object(laejeffers04) (10)
 CreateDynamicObject(5424,-2158.06689453,30.38822937,35.75956345,0.00000000,93.99905396,173.98400879); //object(laejeffers04) (11)
 CreateDynamicObject(5424,-2150.29687500,108.70333862,48.42109299,0.00000000,93.99905396,173.97949219); //object(laejeffers04) (12)
 CreateDynamicObject(5424,-2139.16381836,225.73214722,34.75450897,0.00000000,93.99905396,173.97949219); //object(laejeffers04) (13)
 CreateDynamicObject(5424,-2137.17431641,279.41885376,42.83180237,0.00000000,93.99905396,173.97949219); //object(laejeffers04) (14)
 CreateDynamicObject(5424,-2139.24267578,320.26919556,35.75956345,0.00000000,93.99905396,187.97949219); //object(laejeffers04) (15)
 CreateDynamicObject(5424,-2110.42822266,395.81546021,44.11596298,0.00000000,93.99905396,173.97949219); //object(laejeffers04) (16)
 CreateDynamicObject(5424,-2133.97119141,503.95465088,35.60331345,0.00000000,93.99905396,173.97949219); //object(laejeffers04) (17)
 CreateDynamicObject(5424,-2128.14477539,463.64215088,35.39604950,0.00000000,93.99905396,223.97946167); //object(laejeffers04) (18)
 CreateDynamicObject(5424,-2129.39257812,565.10626221,35.60331345,0.00000000,93.99905396,183.97822571); //object(laejeffers04) (19)
 CreateDynamicObject(5424,-1885.73876953,595.68078613,34.69449615,0.00000000,93.99905396,353.97705078); //object(laejeffers04) (20)
 CreateDynamicObject(5424,-1905.51098633,561.66564941,35.69831467,0.00000000,93.99905396,283.97399902); //object(laejeffers04) (21)
 CreateDynamicObject(5424,-1878.47546387,736.24694824,45.88456345,0.00000000,93.99905396,3.96911621); //object(laejeffers04) (22)
 CreateDynamicObject(5424,-1897.71716309,746.44427490,45.88456345,0.00000000,93.99905396,83.96606445); //object(laejeffers04) (23)
 CreateDynamicObject(5424,-2017.98608398,749.66790771,46.03300095,0.00000000,93.99905396,83.96301270); //object(laejeffers04) (24)
 CreateDynamicObject(5424,-2121.26928711,736.89306641,87.47831726,0.00000000,93.99905396,183.96295166); //object(laejeffers04) (25)
 CreateDynamicObject(5424,-2117.79199219,651.12628174,61.28823090,0.00000000,93.99905396,183.96058655); //object(laejeffers04) (26)
 CreateDynamicObject(5424,-1911.79431152,352.18341064,45.10140610,0.00000000,93.99905396,13.96057129); //object(laejeffers04) (27)
 CreateDynamicObject(5424,-1913.85998535,399.61312866,35.97790909,0.00000000,93.99905396,13.95812988); //object(laejeffers04) (28)
 CreateDynamicObject(5424,-1898.84582520,450.86367798,35.75956345,0.00000000,93.99905396,313.95816040); //object(laejeffers04) (29)
 CreateDynamicObject(5424,-1899.79760742,511.90859985,44.22634888,0.00000000,93.99905396,63.95629883); //object(laejeffers04) (30)
 CreateDynamicObject(5424,-1924.60681152,329.60861206,32.36769867,0.00000000,93.99905396,1.95141602); //object(laejeffers04) (31)
 CreateDynamicObject(5424,-2138.96093750,311.61218262,40.50051880,0.00000000,93.99902344,173.97949219); //object(laejeffers04) (32)
 CreateDynamicObject(5424,-1986.58837891,47.70615387,27.47074318,0.00000000,93.99905396,355.99545288); //object(laejeffers04) (33)
 CreateDynamicObject(5424,-1957.94921875,93.02339935,26.72236061,0.00000000,93.99905396,355.99542236); //object(laejeffers04) (34)
 CreateDynamicObject(5424,-1958.98608398,63.74965668,28.65760231,0.00000000,93.99905396,265.99548340); //object(laejeffers04) (35)
 CreateDynamicObject(5424,-1954.90747070,188.23022461,24.11762619,0.00000000,93.99905396,355.99548340); //object(laejeffers04) (36)
 CreateDynamicObject(5424,-1955.04772949,138.68986511,38.73103333,0.00000000,93.99905396,355.98995972); //object(laejeffers04) (3)
 
 // Textdraws
 
 Death = TextDrawCreate(130.000000, 141.000000, "~r~ YOU HAVE ~b~DIED~n~~w~ EPIC FAIL");
 TextDrawBackgroundColor(Death, 255);
 TextDrawFont(Death, 1);
 TextDrawLetterSize(Death, 1.510000, 9.000000);
 TextDrawColor(Death, -1);
 TextDrawSetOutline(Death, 0);
 TextDrawSetProportional(Death, 1);
 TextDrawSetShadow(Death, 1);
 
 SetTimer("MoneyM",2000,true);
 SetTimer("ScoreM",2000,true);
 SetTimer("cHealth",2000,true);

 ZMMESSAGE = TextDrawCreate(427.000000, 390.000000, "~w~Halloween~n~~r~ZOMBIE-MOD");
 TextDrawBackgroundColor(ZMMESSAGE, 255);
 TextDrawFont(ZMMESSAGE, 1);
 TextDrawLetterSize(ZMMESSAGE, 0.500000, 2.899999);
 TextDrawColor(ZMMESSAGE, -1);
 TextDrawSetOutline(ZMMESSAGE, 0);
 TextDrawSetProportional(ZMMESSAGE, 1);
 TextDrawSetShadow(ZMMESSAGE, 1);

 for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
    {
  Deaths[playerid] = TextDrawCreate(20.000000, 414.000000, "~r~Deaths~w~[]");
  TextDrawBackgroundColor(Deaths[playerid], 255);
  TextDrawFont(Deaths[playerid], 1);
  TextDrawLetterSize(Deaths[playerid], 0.500000, 1.000000);
  TextDrawColor(Deaths[playerid], -1);
  TextDrawSetOutline(Deaths[playerid], 0);
  TextDrawSetProportional(Deaths[playerid], 1);
  TextDrawSetShadow(Deaths[playerid], 1);

  cHP[playerid] = TextDrawCreate(20.000000, 429.000000, "~b~CurrentHP~w~[100]");
  TextDrawBackgroundColor(cHP[playerid], 255);
  TextDrawFont(cHP[playerid], 1);
  TextDrawLetterSize(cHP[playerid], 0.500000, 1.000000);
  TextDrawColor(cHP[playerid], -1);
  TextDrawSetOutline(cHP[playerid], 0);
  TextDrawSetProportional(cHP[playerid], 1);
  TextDrawSetShadow(cHP[playerid], 1);

  Money[playerid] = TextDrawCreate(150.000000, 430.000000, "~r~Money~w~[]");
  TextDrawBackgroundColor(Money[playerid], 255);
  TextDrawFont(Money[playerid], 1);
  TextDrawLetterSize(Money[playerid], 0.500000, 1.000000);
  TextDrawColor(Money[playerid], -1);
  TextDrawSetOutline(Money[playerid], 0);
  TextDrawSetProportional(Money[playerid], 1);
  TextDrawSetShadow(Money[playerid], 1);

  Score[playerid] = TextDrawCreate(150.000000, 411.000000, "~b~Score~w~[]");
  TextDrawBackgroundColor(Score[playerid], 255);
  TextDrawFont(Score[playerid], 1);
  TextDrawLetterSize(Score[playerid], 0.500000, 1.000000);
  TextDrawColor(Score[playerid], -1);
  TextDrawSetOutline(Score[playerid], 0);
  TextDrawSetProportional(Score[playerid], 1);
  TextDrawSetShadow(Score[playerid], 1);
  
  // exp number
  EXPNUM[playerid] = TextDrawCreate(274.000000, 378.000000, "~w~ 0/~r~20");
  TextDrawBackgroundColor(EXPNUM[playerid], 255);
  TextDrawFont(EXPNUM[playerid], 1);
  TextDrawLetterSize(EXPNUM[playerid], 0.500000, 1.100000);
  TextDrawColor(EXPNUM[playerid], -1);
  TextDrawSetOutline(EXPNUM[playerid], 0);
  TextDrawSetProportional(EXPNUM[playerid], 1);
  TextDrawSetShadow(EXPNUM[playerid], 1);
  //bar
  Bar[playerid] = TextDrawCreate(220.000000, 385.000000, "~b~ GET A KILL");
  TextDrawBackgroundColor(Bar[playerid], 255);
  TextDrawFont(Bar[playerid], 1);
  TextDrawLetterSize(Bar[playerid], 0.500000, 1.900000);
  TextDrawColor(Bar[playerid], -1);
  TextDrawSetOutline(Bar[playerid], 0);
  TextDrawSetProportional(Bar[playerid], 1);
  TextDrawSetShadow(Bar[playerid], 1);
 }

 Textdraw5 = TextDrawCreate(425.000000, 370.000000, "~r~Current~b~Verison~n~~w~V1.0 SA-MP 0.3b");
 TextDrawBackgroundColor(Textdraw5, 255);
 TextDrawFont(Textdraw5, 1);
 TextDrawLetterSize(Textdraw5, 0.500000, 1.200000);
 TextDrawColor(Textdraw5, -1);
 TextDrawSetOutline(Textdraw5, 0);
 TextDrawSetProportional(Textdraw5, 1);
 TextDrawSetShadow(Textdraw5, 1);
 
 Textdraw0 = TextDrawCreate(230.000000, 390.000000, "~n~");
 TextDrawBackgroundColor(Textdraw0, 255);
 TextDrawFont(Textdraw0, 1);
 TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
 TextDrawColor(Textdraw0, -1);
 TextDrawSetOutline(Textdraw0, 0);
 TextDrawSetProportional(Textdraw0, 1);
 TextDrawSetShadow(Textdraw0, 1);
 TextDrawUseBox(Textdraw0, 1);
 TextDrawBoxColor(Textdraw0, 840829490);
 TextDrawTextSize(Textdraw0, 401.000000, 0.000000);

 Textdraw1 = TextDrawCreate(267.000000, 368.000000, "~r~ EXP");
 TextDrawBackgroundColor(Textdraw1, 255);
 TextDrawFont(Textdraw1, 1);
 TextDrawLetterSize(Textdraw1, 0.919999, 1.200000);
 TextDrawColor(Textdraw1, -1);
 TextDrawSetOutline(Textdraw1, 0);
 TextDrawSetProportional(Textdraw1, 1);
 TextDrawSetShadow(Textdraw1, 1);

 for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
 {
  TextDrawShowForPlayer(playerid, Deaths[playerid]);
  TextDrawShowForPlayer(playerid, cHP[playerid]);
  TextDrawShowForPlayer(playerid, Money[playerid]);
  TextDrawShowForPlayer(playerid, Score[playerid]);
 }

 for(new i; i < MAX_PLAYERS; i ++)
 {
  if(IsPlayerConnected(i))
  {
   TextDrawShowForPlayer(i, ZMMESSAGE);
   TextDrawShowForPlayer(i, Textdraw5);
   TextDrawShowForPlayer(i, Textdraw0);
   TextDrawShowForPlayer(i, Textdraw1);
   TextDrawShowForPlayer(i, Bar[i]);
   TextDrawShowForPlayer(i, EXPNUM[i]);
  }
 }
 
 return 1;
}

public OnGameModeExit()
{
    TextDrawHideForAll(Death);
 TextDrawDestroy(Death);
 TextDrawHideForAll(Textdraw0);
 TextDrawDestroy(Textdraw0);
 TextDrawHideForAll(Textdraw1);
 TextDrawDestroy(Textdraw1);
 TextDrawHideForAll(ZMMESSAGE);
 TextDrawDestroy(ZMMESSAGE);
 TextDrawHideForAll(Textdraw5);
 TextDrawDestroy(Textdraw5);
 for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
    {
  TextDrawHideForAll(EXPNUM[playerid]);
  TextDrawDestroy(EXPNUM[playerid]);
  TextDrawHideForAll(Bar[playerid]);
  TextDrawDestroy(Bar[playerid]);
  TextDrawHideForAll(Deaths[playerid]);
  TextDrawDestroy(Deaths[playerid]);
  TextDrawHideForAll(cHP[playerid]);
  TextDrawDestroy(cHP[playerid]);
  TextDrawHideForAll(Money[playerid]);
  TextDrawDestroy(Money[playerid]);
  TextDrawHideForAll(Score[playerid]);
  TextDrawDestroy(Score[playerid]);
 }
 return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
 if(newkeys & KEY_FIRE)
 {
  if(GetPlayerWeapon(playerid) == 4)
  {
   new victimid = GetClosestPlayer(playerid);
   if(IsPlayerConnected(victimid))
   {
    if(GetDistanceBetweenPlayers(playerid,victimid) < 2)
    {
     new Float:health;
     GetPlayerHealth(victimid, health);
     SetPlayerHealth(victimid, health - 20.0);
     return 1;
    }
   }
  }
 }
 return 1;
}
forward Float:GetDistanceBetweenPlayers(p1,p2); // Up top of script

forward GetClosestPlayer(p1); // Up top of script

public Float:GetDistanceBetweenPlayers(p1,p2)
{
 new Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2;
 if(!IsPlayerConnected(p1) || !IsPlayerConnected(p2))
 {
  return -1.00;
 }
 GetPlayerPos(p1,x1,y1,z1);
 GetPlayerPos(p2,x2,y2,z2);
 return floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));
}

public GetClosestPlayer(p1)
{
 new x,Float:dis,Float:dis2,player;
 player = -1;
 dis = 99999.99;
 for (x=0;x<MAX_PLAYERS;x++)
 {
  if(IsPlayerConnected(x))
  {
   if(x != p1)
   {
    dis2 = GetDistanceBetweenPlayers(x,p1);
    if(dis2 < dis && dis2 != -1.00)
    {
     dis = dis2;
     player = x;
    }
   }
  }
 }
 return player;
}
forward MoneyM(playerid);
public MoneyM(playerid)
{
 new Mon = GetPlayerMoney(playerid);
 new string5[48];
  format(string5, sizeof(string), "~r~Money~w~[$%d]", Mon);
    TextDrawSetString(Money[playerid],string5);
    return 1;
}
forward ScoreM(playerid);
public ScoreM(playerid)
{
     new string2[128];
     new ScoreMM = GetPlayerScore(playerid);
     format(string2, sizeof(string), "~b~Score~w~[%d]",ScoreMM);
     TextDrawSetString(Score[playerid],string2);
     return 1;
}
forward cHealth(playerid);
public cHealth(playerid)
{
    new Float:health;
  new string3[128];
  GetPlayerHealth(playerid,health);
 if (health < 100.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[100]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 95.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[95]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 90.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[90]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 85.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[85]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 80.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[80]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 75.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[75]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 70.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[70]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 65.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[65]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 60.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[60]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 55.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[55]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 50.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[50]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 45.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[45]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 40.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[40]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 35.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[35]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 30.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[30]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 25.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[25]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 20.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[20]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 15.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[15]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 10.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[10]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 5.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[5]");
  TextDrawSetString(cHP[playerid],string3);
 }
 if (health < 0.0)
 {
  format(string3, sizeof(string), "~b~CurrentHP~w~[0]");
  TextDrawSetString(cHP[playerid],string3);
 }
 
 return 1;
}
forward HideMessage(playerid);
public HideMessage(playerid)
{
 TextDrawHideForPlayer(playerid, Death);
 TextDrawDestroy(Death);
 return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
 TextDrawShowForPlayer(playerid, Death);
 SetTimerEx("HideMessage", 2000, 0, "i", killerid);
  new string10[48];
    Deathss[playerid] ++;
 format(string10, sizeof(string), "~r~Deaths~w~[%d]",Deathss[playerid]);
 TextDrawSetString(Deaths[playerid],string10);

    new msg[64];
    new score = GetPlayerScore(killerid);
    SetPlayerScore(killerid, score+1);
    format(msg, sizeof(msg),"EXP: %d/20",score+1);
    TextDrawSetString(EXPNUM[killerid],msg);
    GivePlayerMoney(killerid, 12000);
    GameTextForPlayer(killerid, "~p~1+ ~w~EXP Experience! ~n~~g~+$12000!!",6000,4);

 switch(GetPlayerScore(killerid))
 {
     case 1:
  {
      TextDrawSetString(Bar[killerid],"~b~l");
      TextDrawSetString(EXPNUM[killerid],"~w~ 1/~r~20");
     }
  case 2:
  {
      TextDrawSetString(Bar[killerid],"~b~ll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 2/~r~20");
  }
    case 3:
  {
      TextDrawSetString(Bar[killerid],"~b~lll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 3/~r~20");
     }
  case 4:
  {
      TextDrawSetString(Bar[killerid],"~b~llll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 4/~r~20");
  }
    case 5:
  {
      TextDrawSetString(Bar[killerid],"~b~lllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 5/~r~20");
     }
  case 6:
  {
      TextDrawSetString(Bar[killerid],"~b~llllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 6/~r~20");
  }
    case 7:
  {
      TextDrawSetString(Bar[killerid],"~b~lllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 7/~r~20");
     }
  case 8:
  {
      TextDrawSetString(Bar[killerid],"~b~llllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 8/~r~20");
  }
    case 9:
  {
      TextDrawSetString(Bar[killerid],"~b~lllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 9/~r~20");
     }
  case 10:
  {
      TextDrawSetString(Bar[killerid],"~b~llllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 10/~r~20");
  }
    case 11:
  {
      TextDrawSetString(Bar[killerid],"~b~lllllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 11/~r~20");
     }
  case 12:
  {
      TextDrawSetString(Bar[killerid],"~b~llllllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 12/~r~20");
  }
    case 13:
  {
      TextDrawSetString(Bar[killerid],"~b~lllllllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 13/~r~20");
     }
  case 14:
  {
      TextDrawSetString(Bar[killerid],"~b~llllllllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 14/~r~20");
  }
  case 15:
  {
      TextDrawSetString(Bar[killerid],"~b~lllllllllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 15/~r~20");
  }
  case 16:
  {
      TextDrawSetString(Bar[killerid],"~b~llllllllllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 16/~r~20");
  }
  case 17:
  {
      TextDrawSetString(Bar[killerid],"~b~lllllllllllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 17/~r~20");
  }
  case 18:
  {
      TextDrawSetString(Bar[killerid],"~b~llllllllllllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 18/~r~~20");
  }
  case 19:
  {
      TextDrawSetString(Bar[killerid],"~b~lllllllllllllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 19/~r~20");
  }
  case 20:
  {
      TextDrawSetString(Bar[killerid],"~b~lllllllllllllllllllll");
      TextDrawSetString(EXPNUM[killerid],"~w~ 20/~r~20");
        new name[MAX_PLAYER_NAME], string6[100];
         GetPlayerName(playerid, name, sizeof(name));
         format(string6, sizeof(string), "Player * %s Has been finshed with the EXP System ** Desert Eagle unlocked for him", name);
         SendClientMessageToAll(COLOR_ORANGE, string6);
         GivePlayerWeapon(playerid,24,100);
   SetPlayerHealth(playerid,100.0);
  }
 }
    return 1;
}


public OnPlayerRequestClass(playerid, classid)
{
 SetPlayerPos(playerid, -1959.4025,700.4174,46.5625);
  SetPlayerCameraPos(playerid, -1958.2029,711.0995,53.6375);
   SetPlayerCameraLookAt(playerid,  -1959.4025,700.4174,46.5625);
   SetPlayerFacingAngle(playerid,357.4232);
 
 if(classid == 0)
 {
     GameTextForPlayer(playerid,"~b~ Human- Medic~w~Objective:Survive the Infection",1000,4);
  cTeam[playerid] = TEAM_MEDIC;
 }
 else if(classid == 1)
 {
     GameTextForPlayer(playerid,"~r~ Zombie ~w~Objective: Eat brains",1000,4);
     cTeam[playerid] = TEAM_ZOMBIE;
 }
  else if(classid == 2)
 {
     GameTextForPlayer(playerid,"~b~ Human- Solider ~w~Objective:Survive the Infection",1000,4);
  cTeam[playerid] = TEAM_SOLIDER;
 }
 else if(classid == 3)
 {
     GameTextForPlayer(playerid,"~r~ Zombie 2 ~w~Objective: Eat brains",1000,4);
     cTeam[playerid] = TEAM_ZOMBIE2;
 }
 else if(classid == 4)
 {
     GameTextForPlayer(playerid,"~b~ Human- Police ~w~Objective:Survive the Infection",1000,4);
  cTeam[playerid] = TEAM_POLICE;
 }
 else if(classid == 5)
 {
     GameTextForPlayer(playerid,"~b~ Human- Survivor ~w~Objective:Survive the Infection",1000,4);
  cTeam[playerid] = TEAM_SURVIVOR;
 }
 
 
 
 return 1;
}

public OnPlayerConnect(playerid)
{
    SetPVarString(playerid,"Language","American");


 //--Weapon Skills--//
 SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 0);
 SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 0);
 SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 0);
 SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 0);
 SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 0);
 SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 0);
 SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 0);
 SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 0);
 SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 0);
 SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 0);
 SetPlayerSkillLevel(playerid, WEAPONSKILL_SNIPERRIFLE, 0);
 

 return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
 return 1;
}

public OnPlayerSpawn(playerid)
{
 SetPlayerTime(playerid,20,0);
 SetPlayerWeather(playerid, 32);
 GameTextForPlayer(playerid,"~r~ Type ~n~ ~w~ /obj ~n~ ~r~ For The objectives",6000,3);
 TextDrawShowForPlayer(playerid, Textdraw1);
 TextDrawShowForPlayer(playerid, Textdraw0);
 TextDrawShowForPlayer(playerid, Bar[playerid]);
 TextDrawShowForPlayer(playerid, EXPNUM[playerid]);
 TextDrawShowForPlayer(playerid, ZMMESSAGE);
 TextDrawShowForPlayer(playerid, Deaths[playerid]);
 TextDrawShowForPlayer(playerid, cHP[playerid]);
 TextDrawShowForPlayer(playerid, Money[playerid]);
 TextDrawShowForPlayer(playerid, Score[playerid]);
 TextDrawShowForPlayer(playerid, Textdraw5);

 if(cTeam[playerid] == TEAM_MEDIC)
 {
     GivePlayerWeapon(playerid,M4,500);
     GivePlayerWeapon(playerid,SHOTGUN,10);
     GivePlayerWeapon(playerid,DEAGLE,50);
     SetPlayerTeam(playerid,TEAM_MEDIC);
     SetPlayerColor(playerid,TEAMMEDICSOLIDERPOLICESURVIVOR_COLOR);
     SendClientMessage(playerid,COLOR_WHITE,"SERVER: You are a MEDIC you can heal others or heal your self by typing /heal or /healhim id");
        SetPlayerHealth(playerid,35.0);
 }
 else if(cTeam[playerid] == TEAM_SOLIDER)
 {
     GivePlayerWeapon(playerid,AK47,500);
     GivePlayerWeapon(playerid,MP5,1000);
     GivePlayerWeapon(playerid,DEAGLE,50);
     SetPlayerTeam(playerid,TEAM_SOLIDER);
     SetPlayerColor(playerid,TEAMMEDICSOLIDERPOLICESURVIVOR_COLOR);
     SetPlayerHealth(playerid,100.0);
 }
 else if(cTeam[playerid] == TEAM_POLICE)
 {
     GivePlayerWeapon(playerid,M4,500);
     GivePlayerWeapon(playerid,TEC9,1000);
     GivePlayerWeapon(playerid,GRENADE,50);
     SetPlayerTeam(playerid,TEAM_POLICE);
     SetPlayerColor(playerid,TEAMMEDICSOLIDERPOLICESURVIVOR_COLOR);
     SetPlayerHealth(playerid,100.0);
 }
 else if(cTeam[playerid] == TEAM_SURVIVOR)
 {
     GivePlayerWeapon(playerid,AK47,500);
     GivePlayerWeapon(playerid,MP5,1000);
     GivePlayerWeapon(playerid,BASEBALL,50);
     SetPlayerTeam(playerid,TEAM_SURVIVOR);
     SetPlayerColor(playerid,TEAMMEDICSOLIDERPOLICESURVIVOR_COLOR);
  SetPlayerHealth(playerid,100.0);
 }
 else if(cTeam[playerid] == TEAM_ZOMBIE)
 {
     GivePlayerWeapon(playerid,KNIFE,1000);
     SetPlayerTeam(playerid,TEAM_ZOMBIE);
     SetPlayerColor(playerid,TEAM_COLORZOMBIE);
     SetPlayerHealth(playerid,65.0);
 }
 else if(cTeam[playerid] == TEAM_ZOMBIE2)
 {
     GivePlayerWeapon(playerid,KNIFE,1000);
     SetPlayerTeam(playerid,TEAM_ZOMBIE);
     SetPlayerColor(playerid,TEAM_COLORZOMBIE);
        SetPlayerHealth(playerid,100.0);
 }



 return 1;
}



public OnPlayerText(playerid, text[])
{
    new playername[MAX_PLAYER_NAME], PlayersLanguage[12];
    GetPlayerName(playerid, playername, sizeof(playername));
    GetPVarString(playerid, "Language", PlayersLanguage, 12);
    format(string, sizeof(string), "[%s Language] %s: %s", PlayersLanguage, playername, text);
    NearbyMessageForPlayers(playerid, 0xFFFFFFAA, string);
    return 0;
}
public OnPlayerCommandText(playerid, cmdtext[])
{


 if(strcmp("/heal", cmdtext, true, 10) == 0)
 if(cTeam[playerid] == TEAM_MEDIC)
 {
  SetPlayerHealth(playerid,100);
  SendClientMessageToAll(COLOR_LIGHTBLUE,"MEDIC: Has healed him self");
  return 1;
 }

 if(strcmp("/class", cmdtext, true, 10) == 0)
 {
     ForceClassSelection(playerid);
     return 1;
 }

 if(strcmp("/kill", cmdtext, true, 10) == 0)
 {
     SetPlayerHealth(playerid,0);
     return 1;
 }

 if (strcmp("/lang", cmdtext, true, 10) == 0)
  {
        ShowPlayerDialog(playerid, DialogIDChangeOnProblems, DIALOG_STYLE_LIST, "Language selection", "American\nRussian\nBritish\nItalian\nDutch\nFrance\nAustralian\nAfrican\nChinese", "Select", "Quit");
        return 1;
  }
  
  if(strcmp("/cmds", cmdtext, true, 10) == 0)
  {
      SendClientMessage(playerid,COLOR_RED,"-----COMMANDS-----");
        SendClientMessage(playerid,COLOR_LIGHTBLUE,"MEDIC: /heal /healhim");
      SendClientMessage(playerid,COLOR_LIGHTBLUE,"SOLIDER: Coming soon");
      SendClientMessage(playerid,COLOR_LIGHTBLUE,"POLICE: Coming soon");
      SendClientMessage(playerid,COLOR_LIGHTBLUE,"SURVIVOR: Coming soon");
      SendClientMessage(playerid,COLOR_LIGHTBLUE,"ZOMBIE: Coming soon");
      return 1;
 }

 if(strcmp("/help", cmdtext, true, 10) == 0)
 {
     SendClientMessage(playerid,COLOR_RED,"-----HELP-----");
     SendClientMessage(playerid,COLOR_LIGHTBLUE,"Welcome to San Fierro Zombie Infection Made for halloween");
     SendClientMessage(playerid,COLOR_LIGHTBLUE,"This is a server with fully self scripted by kitten");
     SendClientMessage(playerid,COLOR_LIGHTBLUE,"What do you do in this server / gamemode");
     SendClientMessage(playerid,COLOR_LIGHTBLUE,"There are 5 teams");
     SendClientMessage(playerid,COLOR_LIGHTBLUE,"Medic,Solider,Police,Survivor,Zombie");
     SendClientMessage(playerid,COLOR_LIGHTBLUE," For Objectives for each team please goto /obj");
     return 1;
 }
 
 if(strcmp("/obj", cmdtext, true, 10) == 0)
 {
     SendClientMessage(playerid,COLOR_RED,"-----TEAM OBJECTIVES-----");
     SendClientMessage(playerid,COLOR_LIGHTBLUE,"Medic: Heal others survive the Infection");
     SendClientMessage(playerid,COLOR_LIGHTBLUE,"SOLIDER: Keep the survivors, police , medics alive");
     SendClientMessage(playerid,COLOR_LIGHTBLUE,"Police: Do not let any civilian DIE and survive the Infection");
     SendClientMessage(playerid,COLOR_LIGHTBLUE,"Survivor: Survive the Infection");
     SendClientMessage(playerid,COLOR_LIGHTBLUE,"Zombie: Eat human brains by knifing them if u knife the humans they lose 50 hp for 1 hit");
     return 1;
 }
  
 new
 index,
 cmd[20];
 cmd = strtok(cmdtext, index);
 if (strcmp(cmd, "/healhim", true) == 0)
 if(cTeam[playerid] == TEAM_MEDIC)
 {
  new
  tmp[20],
  id;
  tmp = strtok(cmdtext, index);
  if (strlen(tmp))
  {
   id = strval(tmp);
   if (IsPlayerConnected(id))
   {
    SetPlayerHealth(id, 35.0);
    SendClientMessage(id, 0x00FF00AA, "You have been healed by medic survivor");
    SendClientMessage(playerid, 0x00FF00AA, "you have healed the survivor");
   }
   else
   {
    SendClientMessage(playerid, 0xFF0000AA, "Player not found");
   }
  }
  else
  {
   SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/heal <playerid>\"");
  }
  return 1;
 }
 return 0;
}



public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DialogIDChangeOnProblems)
    {
        switch( listitem )
        {
                        case 0:
                        {
                            SetPVarString(playerid,"Language", "American");
                        }
                        case 1:
                        {
                            SetPVarString(playerid,"Language", "Russian");
                        }
                        case 2:
                        {
                            SetPVarString(playerid,"Language","British");
                        }
                        case 3:
                        {
                            SetPVarString(playerid,"Language","Italian");
                        }
                        case 4:
                        {
                            SetPVarString(playerid,"Language","Dutch");
                        }
                        case 5:
                        {
                            SetPVarString(playerid,"Language","France");
                        }
                        case 6:
                        {
                            SetPVarString(playerid,"Language","Australian");
                        }
                        case 7:
                        {
                            SetPVarString(playerid,"Language","African");
                        }
                        case 8:
                        {
                            SetPVarString(playerid,"Language","Chinese");
                        }
                }
        }
}

public NearbyMessageForPlayers( playerid, stringcolour, text[])
{
        new Float:PosX, Float:PosY, Float:PosZ;
        for(new p = 0; p < MAX_PLAYERS; p++)
        {
                if(IsPlayerConnected( p ))
                {
                        GetPlayerPos( playerid, PosX, PosY, PosZ );
                        if(IsPlayerInRangeOfPoint(p, 12, PosX, PosY, PosZ) )
                        {
                            if(GetPlayerInterior( playerid ) == GetPlayerInterior( p ) && GetPlayerVirtualWorld( playerid ) == GetPlayerVirtualWorld( p ) )
                    {
                                SendClientMessage(p, stringcolour, text);
                        }
                }
                }
        }
        return 1;
}

//--Stuff not using only codes--//
strtok(const string2[], &index)
{
 new length = strlen(string2);
 while ((index < length) && (string2[index] <= ' '))
 {
  index++;
 }

 new offset = index;
 new result[20];
 while ((index < length) && (string2[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
 {
  result[index - offset] = string2[index];
  index++;
 }
 result[index - offset] = EOS;
 return result;
}
Read More..

Modern Wars [V1.6] [NEW GM]

Download-Link

Solid-Files

http://www.solidfiles.com/d/db6be98b67/


Teams In Game-Mode

-Team USA
-Team Russia
-Team UK
-Team China


Script Features
-Death Cam [Spectate The Player Who Killed A Player]

-Contest System [Every Minute A Game Will Be There Who Ever Types First Wins $5000]

-Anti-Spawn-Kill System [On Player Spawn Player Will Get 10 Seconds Spawn Protection]

-Capture Zone System [Capturing System When Players Enter Zone Checkpoint]

-12 Kill Streak System [It Will Show How Much Kill A Player Did]

-AFK System [/afk To Go AFK And /afk Again To Come Back So Everyone Knows The Player Is AFK Or Not]

-Random Messages [Players Will See Random Messages Which Helps Them]

-Class System With 6 Classes [Dialog When Spawn Shows Which Class Players Want To Spawn In]

-6 Classes Name [Soldier,Sniper,Engineer,JetTrooper,Pilot,Spy]

-Simple Rank System With 8 Ranks [There Is 8 Rank More Experienced Player More Higher Rank]

-Rank Bonus System [If Player Get A Higher Rank Spawn With More Health And Armour]

-Releastic Weapon Damage System [Like Hit With Better Weapons More Health Damage]

-TDM Looking Mapped Server


Game-Mode Commands
-banrules
-help
-kill
-afk
-rules
-sync
-forum
-ranks
-myrank


About Game-Mode

So After Months I Released A Script So Everyone Can Have Fun This Is More Advanced Script From Here You

Guys Can Learn How To Make Capture Zone System This Is More Fun And More Advanced Script I Scripted I Mapped

It Like A TDM Server Even If It Took Me Only 2 Days I Worked Many Hours On Thinking And Scripting So I Exam

Ended On 19th June I Made And Released It Now I Also Have My Server Work But For You Guys I Did Release As I

Like To Release Things Fast Thank You! Hope You Guys Have More Fun In This Game-Mode.


As You Guys Already Know No Uploaders Working For Me Thats Why Can't Provide Picture
Read More..

Call Of Duty Black Ops

------===Info===------
It's simple DM script
There is Three teams
1: IRAN
2: America
3: JAPAN


------===Features===------

Rank System v.1
LuX AdminScript System v1.3
Animations

------===Commands===------
/register /login /Report /Kill /pm /class /getid /nrg /sp /lp /(un)lock
/parachute /bombme /me /admins /credits /rankinfo /myrank /anims


------===Credits===------
Gamemode By HyperZ
Rank System v.1 by Toniu_
LuX AdminScript System v1.3 By LuxurioN



Screenshots






Download
Read More..

Greek Ultimate EN/GR [0,3e]

//Dont Remove the Credits!//
////////////////////////////////
Hi guys this is my first gamemode for samp forums
the name of this server is Greek Ultimate and this is a cool samp server
-------

---------
Features:

Fix Luxadmin System
--------------------
New Teleports
--------------------
New Commands
--------------------
Fixed Repair System with 2 Key
------------------------------
Garhouse,Garstore by Garsino
------------------------------
LSPD Eleveator System by Dario
-------------------------------
Two Kartraces by Me
-------------------------------
Animations System By Me /anims
-------------------------------
Great Anti-Bot System

And More
-------------------
Download Link :

http://www.solidfiles.com/d/a96a52f740/
Read More..

WeaponShop

Command: /weapons

There Are 11 Weapons: (Only For Rcons)

COLT45
COLT45 SILENCED
Deagle
SawnOff Shotgun
Uzi
Tec9
SMG
Ak47
M4
RIFLE
Sniper

Download:
Click Me
Read More..

xAdminControlPanel

xAdminControlPanel


Commands:
No One. Press Tab and click a player (if you are a rcon) [playerid] [reason]

Screenshoot:



Download:
http://www.solidfiles.com/d/fb0ee1297c/ [PWN]
Read More..

[FS] BoOm Headshot!!!

Infinite-Gaming.com Presents:
A Tannz0rz and Cyber_Punk Production
(in other words scripted by us)

BoOm Headshot


Intro:

Before I get to the nitty gritty, first off I would like to explain exactly what this script does, what it intends to do and finally what it will pull off. This is nothing more than a line tracer that takes 3d camera coordinates and translates it on your screen. The goal of this line trace is to have the line end in the location you had your cross hairs at the moment you hit the fire key. While that's what the line does, the script on the other hand checks at a per unit basis (1.0 GTA unit) if a player happens to be in that path at the moment that line hits him. If that line is near his head, BoOm Headshot.

There is no hocus pocus, no trickery and defiantly no hit boxes involved.


Before we released this script we wanted to get a good understanding of just how everything would play out, especially in the processing department. We could have had it out sooner but there was some testing to be done and also had to fix bullets from shooting out behind you :P (yes thats fixed).


What you need to know:


Surprisingly with a 50 player loop (standard loop) it took the headshot function an average of 7 to 8ms to complete that was at the max distance of 100.0 units (Sniper Rifle), with foreach it was 0 to 1 but that was with one player on the server. To further test the function I made the loop max at 500 and stuff an array of 500 locations into the IsPointInRangeOfPoint. The end result with 500 players (pseudo connected test - real results may vary) was about 76 to 78ms. The ranges used for the weapons all came from weapons.dat, the amount of time to process the function decreases after the Sniper Rifle. Small handguns take an average of 22 to 25ms with 500 players (due to the shorter distance checks).


For a high player count server it is recommended that you do not comment out CONSERVATIVE mode


How To Use:

Code:
//======Config Options
//#define DEBUG
//#define NO_LOS //Uncomment this if you want no "Line of Sight" with your DEBUG mode
//#define FOR_EACH
#define CONSERVATIVE  //Comment for servers less than 100 players....Use @ your own risk.
#define DESTROY_LOS 500 //Time in milliseconds to remove line of sight objects
#undef MAX_PLAYERS
 #define MAX_PLAYERS 50 //Set to your max players

//======End Options

This is the default configuration, first be sure to set your MAX_PLAYERS. Then if you prefer foreach (by Y_Less) and you have it in your include folder you can uncomment #define FOR_EACH, this will set up its own itter for the processing. For everyone's curiosity I left the debug mode in including the line of sight code. To use debug simply uncomment the line, if you don't want the i icons uncomment #define NO_LOS, alternatively you can also set the amount of time before the icons disappear with DESTROY_LOS.

Conservative Mode:
There are 2 modes to run BoOm Headshot by, the default is a conservation mode to prevent rapid fire headshot detection from lagging your server. While it has not been test in the real world, speed test results on a dual core processor shown that an extreme numbers of players firing weapons at the same time might lag your server (again all theory haven't really tested on that scale). To comment out conservative mode on a high player number server is done at your own risk.

For servers with 50 players the time to process was much much faster, 7ms and allows for rapid fire weapons to potentially detect headshots with every shot fired (give or take a few sync/timing isn't always perfect)

Videos:
http://www.youtube.com/watch?v=w1R-n9S4oMg#


Final Notes:
The distance loop will end if a success full hit, this further helps speed up processing time. There is no object or health detection method on this script. During testing we found that it was hardly an issue, to be honest I have never seen so many draw kills (where both attackers kill each other) till this script, even with higher pinged players. If the need arises we may put something in.

*Could we detect nut shoots* YES! - Why didn't we? Well we were going to then I made headshots work for crouched players instead. Maybe next version.

Download:
www.infinite-gaming.com/iG_BoOm_Headshot.zip
Read More..

[FS] Vehicle Spawner

Description (ENG):
The script has got four menu. The menus have got six cars, four bikes and three order vehicles for money.
The menu command (in the english version): /vehicle
Anything bug or a thing to be repaired, please write!


Leírás (HUN):

A script egy fő és három al menüvel rendelkezik. A menükben hat darab kocsi, négy darab motor és három darab egyéb jármű kérhető le pénz levonásával.
A menüt előhívó parancs (a magyar verzióban): /jarmu
Bármi bugot, esetleg javítandó dolgot találtok, írjatok!



PICTURE || English version







KÉP || Magyar verzió







DOWNLOAD || English version

Read More..

Simple Neon System v2

Simple Neon System v2

Commands :
"/takeneon"

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Info :
'12 neon colors'

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Neons :

DarkBlue
Red
Green
White
Violet
Yellow
Cyan
LightBlue
Pink
Orange
LightGreen
LightYellow

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Download :

- - - - - - - -Pastebin - - - - - - - -

http://pastebin.com/u7rmVVnn

- - - - - - - -Mirrors - - - - - - - -


http://www.4shared.com/file/PYfh0zWq/NeonSystem_V2.html
Read More..

AntiCheat - Balkan Security v0.7 R1

UPDATE

Description


Hello, first I want to say sorry for my bad English.
I start scripting this AntiCheat 5 months ago, and evry few weeks i did some update, but all that on balkan samp, now i decided to translate last verison on english.
This anticheat is protecting on 14-16 areas, you have easy configuration and log files to check who is kicked, and admin protection too.

EDIT:
I forgot to translate "Nisi ovlascen da koristis ovu komandu!" it mean's, that you are not RCON Admin

Credits:
Mihail_Vukota - Help with testing AC (on version v0.1/v0.2)
Gamestar - AntiSwear
Gagi_Corleone - Help with foreach, anti health hack and with checking animations
[FG]Snich_Wolf - explanation of how to remove the second "OK" button
Gigi_Falcone - he helped my to fix bug from v0.8 (with lag)



Changes in v0.8 R1
Quote:
v0.8 R1
Fixed bug from v0.8 , v0.8 has made big lag on server, now that's fixed, Gigi_Falcone has found what's problem...

v0.8
NEW: AntiSpam, Anti AFK
Anti Teleport is now more secure, Anti Teleport[INT] is now Anti Interior Hack
Fixed bug with Anti AirBrake, when you enter to building or come back from afk, you get kick, now that is fixed.
Fixed bug with player name in Anti Vehicle repair

v0.7 R1
FIXED: Old bugs with Anti Drive By, and bug with sprunk on Health Hack
v0.7
NEW: Scripted new Anti AirBrake, detection is now perfect!
Scripted Anti Teleport, teleport over menu and over map, there are 2 type of teleport, first type is when you press in ****** f11 > teleports > some place, and that teleport on kick is flaged as Teleport Hack[1]
And there is Map teleport, press esc > map > right click somvere on the map, and that teleport on kick is flaged as Teleport Hack[2].
Scripted Anti Vehicle Repair.
There are more changes, but tehy are not so important..


v0.6
Optimized Script
FIXED: Anti Money Cheat, Anti Teleport[INT]
FIX AND UPGRADE: Anti Health Hack, Anti Armour Hack


v0.5
Optimized Script, and fixed some little bugs.
From now and reseting money is going over AntiCheat.
NEW: Anti Teleport[INT] - anit teleport in INTERIOR , Anti Fly Hack - if player is using Fly hack, anticheat will kick him.
From now, you don't put stock funciton in mode, now you have include file!!
"Printing" weapon names in text on bad weapon kick is now autimatic!


v0.4
FIXED AND UPGRADED: Anti Money Cheat, Anti AirBrake, fixed few little bugs with log files.
NEW(BETA): Anti Health and Anti Armour Hack
Now kicked player get's dialog with message that he is kicked/banned, with his name, reason, and ip adress.


v0.3
Optimized Script
NEW: Now anticheat can ignore admins, over command /adminduty in your mode(just need to set wef pvars)
Now there is kick log, when player is kicked, his name, time, and reason will be in log.
NEW BETA ANTICHEATS: Anti Money Hack
FIXED AND UPGRADED: Anti AirBrake, Anti BunnyHop
Happy New Year, 2012!!!


v0.2
NEW: Anti Drive By, Anti Swear, Anti BunnyHop, RCON Protection, Anti AirBreake (beta test)
Script fully optimized, removed timer for each player, and all check put in 1 timer.
Now you can turn on/off some detection in AntiCHeat, over command /aticheat (RCON)


v0.1
Scripted Anti: Speed Hack, High Ping, Jet Pack and Bad Weapons


What can this AntiCheat ?
  • Anti High Ping
  • Bad Weapons
  • Anti Speed Hack
  • Anti JetPack
  • Anti Drive By
  • Anti RCON Hack
  • Anti Swear
  • Anti AirBrake
  • Anti Bunny Hop
  • Anti Money Hack
  • Anti Health Hack
  • Anti Armour Hack
  • Anti Interior Teleport[INT>EXT|EXT>INT]
  • Anti Fly Hack
  • Anti Teleport [1] i [2](1 - menu | 2 - samp map)
  • Anti Vehicle Repair
  • Anti Spam
  • Anti Afk


Commands
There is only one command, and it's /anticheat [RCON ONLY]
over that command, you can turn on/off some detection...


Using


Max speed, higest ping and bad weapons, you need to change directly in FilterScript

Bugs?

Anti AirBrake is little buged, but it will be fixed in v0.8

Instalation

It is easy to install, just put files from filterscripts to your filterscriptes folder, and AC_Balkan_Security include to your pawno/include folder, after that, you MUST read Instalation.txt , if you don't read and do what instalation.txt say, AC will don't work!.
You must read INSTALATION.txt , or AntiCheat will not work![/b]

PICTURES
[hr]
http://www.dodaj.rs/f/3H/dv/ho2mCDa/1/sa-mp-498.png
http://www.dodaj.rs/f/40/vf/2iL9uuUE/sa-mp-500.png
http://www.dodaj.rs/f/1P/TM/3jn0JXJP/sa-mp-501.png
http://www.dodaj.rs/f/3g/K4/1sKOM9ia/sa-mp-503.png
http://www.dodaj.rs/f/46/d7/9UEjenU/sa-mp-524.png


Notice

I don't give suport for this filterscript on private message!

DOWNLOAD
v0.8 R1

ENGLISH VERISON:

http://www.solidfiles.com/d/98929c45ef/

OR

https://hotfile.com/dl/154409760/081...lish).zip.html

ATENTION: Pastebin is only to look at script, not to use it!

http://pastebin.com/YQbzr9WN



SERBIAN VERSION:
http://www.solidfiles.com/d/d57460fef9/
OR
https://hotfile.com/dl/154237724/8d3....8_R1.zip.html

ATENTION: Pastebin is only to look at script, not to use it!

http://pastebin.com/qzQpWKSu
v0.8 - BUGED(fixed in v0.8 R1)

ONLY SERBIAN VERSION

http://www.solidfiles.com/d/473b86c57c/
OR
https://hotfile.com/dl/153925040/b9a..._v0.8.zip.html

v0.7 R1

ENGLISH VERISON:

http://www.solidfiles.com/d/38b9257802/

OR

http://www.fileserve.com/file/EbaGZV...1(English).zip

OR

https://hotfile.com/dl/153103059/1a6...lish).zip.html

SERBIAN VERSION:
http://solidfiles.com/d/4102a90e45/

OR
http://www.fileserve.com/file/TNRG58...ityv0.7-R1.zip

OR
https://hotfile.com/dl/152909391/a55....7-R1.zip.html

ATENTION: Pastebin is only to look at script, not to use it!
--v0.7 R1--
http://pastebin.com/TYwZPpWa
[hr]
v0.6 - ONLY SERBIAN VERSION
http://solidfiles.com/d/cbf0055bda/
OR
http://www.fileserve.com/file/k3puqM...ity%20v0.6.zip

ATENTION: Pastebin is only to look at script, not to use it!
http://pastebin.com/NXWGiSZ8
[hr]
v0.5 - ONLY SERBIAN VERSION
http://solidfiles.com/d/730e7b72c9/
OR
http://www.fileserve.com/file/WzbU7B...ity%20v0.5.zip
ATENTION: Pastebin is only to look at script, not to use it!
http://bu-rp.info/pastebin/index.php?show=14

Ukoliko fali nesto, recite
[hr]
v0.4 - ONLY SERBIAN VERSION
http://solidfiles.com/d/9f742bf742/
OR
http://www.fileserve.com/file/rEMVfb...ity%20v0.4.zip

ATENTION: Pastebin is only to look at script, not to use it!
http://pastebin.com/eCRz2dqf

Valjda nista nisa zaboravio da upload
[hr]
v0.3 - ONLY SERBIAN VERSION
http://solidfiles.com/d/d6bb17e5e5/
OR
http://www.fileserve.com/file/2zK3Hh...ity%20v0.3.zip

ATENTION: Pastebin is only to look at script, not to use it!
http://pastebin.com/RMj3NsXT
[hr]
v0.2 - ONLY SERBIAN VERSION
http://solidfiles.com/d/985646fb26/
OR
http://www.fileserve.com/file/kpNM9w...eat%20v0.2.zip

ATENTION: Pastebin is only to look at script, not to use it!
http://pastebin.com/wuUa35CN
[hr]
v0.1 - ONLY SERBIAN VERSION
http://solidfiles.com/d/e99aafd04c/
OR
http://www.fileserve.com/file/6FYQPBX/AntiCheat.zip

Please don't rename anticheat
Read More..

jHouse

jHouse
Instructions
Open up the script and READ the comments at the top. Make sure you follow them if they have instructions.
Compile the script.
Put the script in your filterscripts folder.
Add it to server.cfg.
Run!

Add-ons
You will need:
zcmd (put it in pawno/includes)
G-sTyLeZzZ's MySQL Plugin (Instructions in the thread)

Main Commands
/buyhouse - buys a house
/enterhouse - enters a house
/exithouse - exits a house
/sellhouse - sells a house

Selling and Buying
To buy a house, get to the checkpoint of the house you want, and type /buyhouse. You must have the right amount of money, and you can only own one house. To sell a house, get to the checkpoint, on the outside of the house, and type /sellhouse. You will get the full amount of money back.

House Creation
(I recommend using an Interior Explorer for this)
Log into RCON.
Go to the spot you want the entrance pickup to be, and type /createhouse exterior.
Now go to the place you want the player to be teleported to when they enter, and type /createhouse interior.
Type /createhouse finish and you will be teleported to the house's exterior.
Walk over the pickup, and if you are still logged onto RCON then you will get a message saying the house's ID.
Type /setprice ID PRICE with the ID of the house and the PRICE you want it to be.
That's it, your house is created and someone can buy it!
(P.s. setting the house's price to -1 makes it unavailable to buy, setting it to 0 makes it free!)

Locks
If you own the house, type /lockhouse to lock it. Simple.
Unlike other house systems, you can lock the house from inside or out, you can lock people inside and you can lock yourself inside to hide.
The house's lock can also be permanently broken (until it's fixed!)
To break a lock (you can break your own lock, and you can break the lock from indoors if you get locked in) go to the door and do /breaklock. You will be frozen and a timer will appear. If you wish to stop breaking in, do /stopbreaking. When the lock is broken, the house will be unlocked and the house will be unable to be locked again. (P.s. it's easier to break a door from outside than inside, and it's easier to break a locked door than an unlocked one.)
To fix the lock, type /fixlock and it will be fixed, for a small fee.
To upgrade your lock and make it harder for attackers, type /upgradelock, and it will be upgraded, for a slightly larger fee.

Safes and Lockers
When you own a house, you get access to a gun safe and a cash locker.
To access these, go into the house and type either /housesafe or /houselocker - the rest will become clear.

Bugs/requests
I will fix any bugs (or atleast attempt) and will take all requests/suggestions into consideration. Just post any suggestions or requests on the thread!

Downloads
.pwn
.amx
Package (both .pwn and .amx, and zcmd include)

Last but not least...
Enjoy the script! If you do choose to use it on your server, I ask that out of respect you give me credits, but if you choose not to then there's not much I can do.
Read More..

Hungry System (with Progress Bar) nice for RP Update V2.0

Welcome To My Thread
This Is My First FS

//Feature
You Hungry Will Descrease Every 3 Minutes (Lose 2%)
If You Hungry 0% You Will Lose Your Health Every 30 seconds (Lose 5.0)
Hunger Saving OnPlayerDisconnect

//COMMANDS
only /eat (only on restaurant like BurgerShot, Well Stacked Pizza and Cluckin Bell)
If You Type /eat In Burger Shot You Will Buying A Burger
If You Type /eat In Well Stacked Pizza You Will Buying A Pizza
And If You Type /eat In Cluckin Bell You Will Buying A Fried Chicken

//ScreenShot
V1


V2


//Download Link
V1.0 http://www.mediafire.com/?c393nva11b6bf6c
V1.1 http://www.mediafire.com/?kx28mnjr0pa9bxe
Update: The food Not Give Health http://www.mediafire.com/download.php?9mdnn0npc9aa049
(i give this because: when you buy a food and your health full but your hungry empty you cant buy a food for increase hungry percentage)
V2.0 http://www.mediafire.com/?o0d3pnmmbf52dqx

//How To Install
1.extract hunger.pwn and .amx to filterscript folder
2.extract Stats folder to your scriptfiles folder
3.add "hunger" to the server.cfg at the filterscript line
4.done, test it

//Bug
If you found bug please post reply

//Credits
To Include Maker:
Dini.inc
ZCMD.inc
ProgressBar.inc

//Update
V2.0 : New Design, New Command System(/eat [burger/pizza/chicken])
Read More..

[FS] Chat Bot

Basic Chat Bot ive been working on, it can give random messages, give messages on stuff like OnPlayerConnect and also when a person talks it can talk back to them, for example when you say "Hi" The bot will say "Wassup 'YOUR NAME'" Stuff like that, very easy to edit, Updates will come.

Download


Credits to - Shadow for creating it and Pandabear for helping.

Have Fun,

Shadow-
Read More..

Race Track

Hey guys,
This is a race track made by me, i had nothing to do so i made it nothing special i think...

TP cmd : /race
Screenshots : http://imgur.com/a/WszT2



Credits:
Zeex- Zcmd
ME- MAP
Read More..

LS-PD Equipment.


Los Santos Police Department Equipment - For beginners
So I created this system for beginners, It's very useful for roleplay servers, the entrance of the door is near the LS-PD garage which located at Los Santos Department, there is two command, "/enter" to get inside the building and /equipment to take any weapon from the table, the system is very simple and this is my first system that I posting in SA-MP.com, If you have problem or you want me to help you with a system, just let me know and I will try to help you, that's all, have fun
Commands:
  1. /enter to get inside the building
  2. /equipment to take any weapon from the table
Screenshots:




Download:
Pastebin
__________________

   Reply With Quote

Read More..

0.3e Textdraw

Description
This is a simple textdraw, recommanded to show only at RequestClass.

Photos


Download
Too small to upload, so Code:
News:

Code:
new Text:SA;
new Text:vers;
new Text:Server;
new Text:Star5;
new Text:Star6;
new Text:Star7;
new Text:Star8;
new Text:Star9;
new Text:Star10;
new Text:Star11;
new Text:star1;
new Text:star2;
new Text:star3;
new Text:star4;
OnGameModeInit:
Code:
SA = TextDrawCreate(459.375000, 78.166671, "San Andreeas");
 TextDrawLetterSize(SA, 0.449999, 1.600000);
 TextDrawTextSize(SA, 6.250000, 86.333374);
 TextDrawAlignment(SA, 2);
 TextDrawColor(SA, 12648447);
 TextDrawSetShadow(SA, 0);
 TextDrawSetOutline(SA, 1);
 TextDrawBackgroundColor(SA, 51);
 TextDrawFont(SA, 0);
 TextDrawSetProportional(SA, 1);

 vers = TextDrawCreate(459.375000, 95.083366, "] 0.3e ]");
 TextDrawLetterSize(vers, 0.449999, 1.600000);
 TextDrawTextSize(vers, 505.625000, 89.833374);
 TextDrawAlignment(vers, 2);
 TextDrawColor(vers, -1208024833);
 TextDrawSetShadow(vers, 0);
 TextDrawSetOutline(vers, 1);
 TextDrawBackgroundColor(vers, 51);
 TextDrawFont(vers, 2);
 TextDrawSetProportional(vers, 1);

 Server = TextDrawCreate(458.125000, 111.416656, "Server");
 TextDrawLetterSize(Server, 0.449999, 1.600000);
 TextDrawTextSize(Server, 31.250000, 90.416732);
 TextDrawAlignment(Server, 2);
 TextDrawColor(Server, -1);
 TextDrawSetShadow(Server, 0);
 TextDrawSetOutline(Server, 1);
 TextDrawBackgroundColor(Server, 51);
 TextDrawFont(Server, 2);
 TextDrawSetProportional(Server, 1);

 Star5 = TextDrawCreate(406.250000, 108.500022, "]");
 TextDrawLetterSize(Star5, 0.449999, 1.600000);
 TextDrawAlignment(Star5, 1);
 TextDrawColor(Star5, -5963521);
 TextDrawSetShadow(Star5, 0);
 TextDrawSetOutline(Star5, 1);
 TextDrawBackgroundColor(Star5, 51);
 TextDrawFont(Star5, 2);
 TextDrawSetProportional(Star5, 1);

 Star6 = TextDrawCreate(495.375000, 107.750022, "]");
 TextDrawLetterSize(Star6, 0.449999, 1.600000);
 TextDrawAlignment(Star6, 1);
 TextDrawColor(Star6, -5963521);
 TextDrawSetShadow(Star6, 0);
 TextDrawSetOutline(Star6, 1);
 TextDrawBackgroundColor(Star6, 51);
 TextDrawFont(Star6, 2);
 TextDrawSetProportional(Star6, 1);

 Star7 = TextDrawCreate(501.375000, 80.166687, "]");
 TextDrawLetterSize(Star7, 0.449999, 1.600000);
 TextDrawAlignment(Star7, 1);
 TextDrawColor(Star7, -5963521);
 TextDrawSetShadow(Star7, 0);
 TextDrawSetOutline(Star7, 1);
 TextDrawBackgroundColor(Star7, 51);
 TextDrawFont(Star7, 2);
 TextDrawSetProportional(Star7, 1);

 Star8 = TextDrawCreate(404.875000, 78.250007, "]");
 TextDrawLetterSize(Star8, 0.449999, 1.600000);
 TextDrawAlignment(Star8, 1);
 TextDrawColor(Star8, -5963521);
 TextDrawSetShadow(Star8, 0);
 TextDrawSetOutline(Star8, 1);
 TextDrawBackgroundColor(Star8, 51);
 TextDrawFont(Star8, 2);
 TextDrawSetProportional(Star8, 1);

 Star9 = TextDrawCreate(412.750000, 121.250038, "]");
 TextDrawLetterSize(Star9, 0.449999, 1.600000);
 TextDrawAlignment(Star9, 1);
 TextDrawColor(Star9, -5963521);
 TextDrawSetShadow(Star9, 0);
 TextDrawSetOutline(Star9, 1);
 TextDrawBackgroundColor(Star9, 51);
 TextDrawFont(Star9, 2);
 TextDrawSetProportional(Star9, 1);

 Star10 = TextDrawCreate(488.750000, 121.083374, "]");
 TextDrawLetterSize(Star10, 0.449999, 1.600000);
 TextDrawAlignment(Star10, 1);
 TextDrawColor(Star10, -5963521);
 TextDrawSetShadow(Star10, 0);
 TextDrawSetOutline(Star10, 1);
 TextDrawBackgroundColor(Star10, 51);
 TextDrawFont(Star10, 2);
 TextDrawSetProportional(Star10, 1);

 Star11 = TextDrawCreate(425.375000, 125.000038, "]");
 TextDrawLetterSize(Star11, 0.449999, 1.600000);
 TextDrawAlignment(Star11, 1);
 TextDrawColor(Star11, -5963521);
 TextDrawSetShadow(Star11, 0);
 TextDrawSetOutline(Star11, 1);
 TextDrawBackgroundColor(Star11, 51);
 TextDrawFont(Star11, 2);
 TextDrawSetProportional(Star11, 1);

 star1 = TextDrawCreate(477.000000, 125.416702, "]");
 TextDrawLetterSize(star1, 0.449999, 1.600000);
 TextDrawAlignment(star1, 1);
 TextDrawColor(star1, -5963521);
 TextDrawSetShadow(star1, 0);
 TextDrawSetOutline(star1, 1);
 TextDrawBackgroundColor(star1, 51);
 TextDrawFont(star1, 2);
 TextDrawSetProportional(star1, 1);

 star2 = TextDrawCreate(438.000000, 129.333374, "]");
 TextDrawLetterSize(star2, 0.449999, 1.600000);
 TextDrawAlignment(star2, 1);
 TextDrawColor(star2, -5963521);
 TextDrawSetShadow(star2, 0);
 TextDrawSetOutline(star2, 1);
 TextDrawBackgroundColor(star2, 51);
 TextDrawFont(star2, 2);
 TextDrawSetProportional(star2, 1);

 star3 = TextDrawCreate(464.000000, 129.750045, "]");
 TextDrawLetterSize(star3, 0.449999, 1.600000);
 TextDrawAlignment(star3, 1);
 TextDrawColor(star3, -5963521);
 TextDrawSetShadow(star3, 0);
 TextDrawSetOutline(star3, 1);
 TextDrawBackgroundColor(star3, 51);
 TextDrawFont(star3, 2);
 TextDrawSetProportional(star3, 1);

 star4 = TextDrawCreate(451.250000, 135.416702, "]");
 TextDrawLetterSize(star4, 0.449999, 1.600000);
 TextDrawAlignment(star4, 1);
 TextDrawColor(star4, -5963521);
 TextDrawSetShadow(star4, 0);
 TextDrawSetOutline(star4, 1);
 TextDrawBackgroundColor(star4, 51);
 TextDrawFont(star4, 2);
 TextDrawSetProportional(star4, 1);
Read More..