Jump to content

MrBlack

Membru
  • Posts

    213
  • Joined

  • Last visited

    Never

Posts posted by MrBlack

  1. Salut la toti , azi va voi invata cum sa faceti sa apara deasupra navigatorului cati playeri online aveti .

    Sa incepem  ;)

    Prima data , punem ce avem mai jos in partea de sus al FilterScript/GameMode

    new Text:players;
    Acum cauta in gm/fs  Public OnGameModeInit/OnFilterScriptInit si adauga asta:
            // TextDraw for Players Online
    	players = TextDrawCreate(54.000000, 326.000000, "_");
    	TextDrawBackgroundColor(players, 255);
    	TextDrawFont(players, 2);
    	TextDrawLetterSize(players, 0.500000, 1.000000);
    	TextDrawColor(players, -65281);
    	TextDrawSetOutline(players, 1);
    	TextDrawSetProportional(players, 1);
    
    	for(new i; i < MAX_PLAYERS; i ++)
    	{
    		if(IsPlayerConnected(i))
    		{
    			TextDrawShowForPlayer(i, players);
    		}
    	}
    Ok textdrawl este creat , dar acuma trebuie sa facem sa il arate si la playeri  , deci pune asta la OnPlayerConnect
      new strings[15];
    	format(strings, 15, "%d/50",GetOnLinePlayers());
    	TextDrawSetString(players, strings);
    	TextDrawShowForPlayer(playerid, players);
    In public OnGameModeExit/OnFilterScriptExit pune asta:
    	TextDrawHideForAll(players);
    	TextDrawDestroy(players);
    Pentru a termina GM/FS pune asta:
    stock GetOnLinePlayers()
    {
    	new OnLine;
    	for(new i, g = GetMaxPlayers(); i < g; i++)
    		if(IsPlayerConnected(i))
    			OnLine++;
    	return OnLine;
    }

    Asa ar trebui sa arate.

    players.JPG

    Si gata....

    Daca aveti anumite nelamuriri postati aici

    Sursa: Sa-mp.Com ( tradus de sandu_mihai aka MrBlack)

  2. Incearca cu asta  , Sper sa iti fie de folos

    //----------------------------------[GMX]-----------------------------------------------
    
    	if(strcmp(cmd, "/gmx", true) == 0)
    	{
    	    if(IsPlayerConnected(playerid))
    	    {
    			if (PlayerInfo[playerid][pAdmin] >= 5)
    			{
    			    SaveAllGuns();
    			    UpdateAllPlayersPosition();
    				GameModeExitFunc(playerid);
    				new y, m, d;
    				new h,mi,s;
    				getdate(y,m,d);
    				gettime(h,mi,s);
    				format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s Has Restarted the GameMode (/gmx)",d,m,y,h,mi,s,sendername);
    				LoginLog(string);
    				AdminLog(string);
    			}
    			else
    			{
    				SendClientMessage(playerid, COLOR_GRAD1, "   You are not authorized to use that command !");
    			}
    		}
    		return 1;
    	}

  3. Salut din nou

    Locatie: Chiliad

    Timp de lucru: 30-40 minute

    Modificari: Rampe , Traseu de cursa , Rampa de sarituri cu parasura , Amenajari pentru distractie .....

    Aici aveti niste imagini:

    1.  f06615.png

    2.  20jh1ll.png

    3.  k2y644.png

    4.  3011sf4.png

    5.  hstgk6.png

    6.  wupz.png

    7.  208k5ch.png

    8.  6pb68p.png

    9.  5l1gcx.png

    10. svjre9.png

    11. 29ksz89.png

    12. 1zx7bc8.png

    Codul Pawno

    CreateObject(5128,-2296.71142600,-1534.66662600,479.03869600,0.00000000,0.00000000,-22.49999532);
    CreateObject(5128,-2259.05786100,-1443.67761200,479.03213500,0.00000000,0.00000000,-22.49999532); 
    CreateObject(5128,-2221.35986300,-1352.89685100,479.01647900,0.00000000,0.00000000,-22.49999532); 
    CreateObject(5147,-2173.26074200,-1236.66455100,489.53344700,0.00000000,0.00000000,-112.49997660); 
    CreateObject(5314,-2068.13647500,-1042.06335400,491.44775400,0.00000000,0.00000000,67.49998596); 
    CreateObject(4651,-1939.50549300,-984.65228300,491.44378700,0.00000000,0.00000000,22.49999532); 
    CreateObject(5178,-1855.55432100,-1082.78710900,33.45530700,0.00000000,0.00000000,-67.49998596); 
    CreateObject(5178,-1856.56042500,-1081.47094700,491.54718000,0.00000000,0.00000000,-67.49998596); 
    CreateObject(982,-2301.18457000,-1571.46130400,480.56445300,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2316.95043900,-1557.68176300,480.58944700,0.00000000,0.00000000,-22.49999532);
    CreateObject(982,-2307.13159200,-1533.97033700,480.58944700,0.00000000,0.00000000,-22.49999532);
    CreateObject(982,-2291.35815400,-1547.86315900,480.58944700,0.00000000,0.00000000,-22.49999532);
    CreateObject(982,-2281.54907200,-1524.11279300,480.58184800,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2271.80273400,-1500.35009800,480.58944700,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2261.95605500,-1476.68164100,480.58288600,0.00000000,0.00000000,-22.49999532);
    CreateObject(982,-2252.11962900,-1453.03369100,480.58288600,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2242.34521500,-1429.41882300,480.57528700,0.00000000,0.00000000,-22.49999532);
    CreateObject(982,-2232.57348600,-1405.70776400,480.58288600,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2222.74951200,-1382.09997600,480.56723000,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2212.85546900,-1358.43725600,480.55963100,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2203.04882800,-1334.80127000,480.56723000,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2198.74829100,-1324.41613800,480.56723000,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2297.31713900,-1510.34350600,480.58944700,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2287.45971700,-1486.64086900,480.58944700,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2277.69213900,-1463.00122100,480.58288600,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2267.87182600,-1439.57934600,480.57528700,0.00000000,0.00000000,-22.49999532);
    CreateObject(982,-2258.06396500,-1415.84716800,480.58288600,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2248.22851600,-1392.16479500,480.58288600,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2238.40429700,-1368.42199700,480.56723000,0.00000000,0.00000000,-22.49999532);
    CreateObject(982,-2228.58178700,-1344.71777300,480.55963100,0.00000000,0.00000000,-22.49999532); 
    CreateObject(982,-2218.68676800,-1320.70678700,480.56723000,0.00000000,0.00000000,-22.49999532); 
    CreateObject(8149,-2108.76538100,-1056.30224600,494.68158000,0.00000000,0.00000000,157.49996723); 
    CreateObject(8149,-2099.00561500,-1082.05542000,494.68158000,0.00000000,0.00000000,-22.49999532); 
    CreateObject(979,-2081.11621100,-996.02447500,492.42077600,0.00000000,0.00000000,225.00001049); 
    CreateObject(979,-2075.33349600,-989.02764900,492.42077600,0.00000000,0.00000000,236.24997950); 
    CreateObject(979,-2069.73022500,-982.11999500,492.42077600,0.00000000,0.00000000,-134.99997191);
    CreateObject(979,-2062.72314500,-976.24005100,492.42077600,0.00000000,0.00000000,213.74998418); 
    CreateObject(979,-2055.87402300,-970.24542200,492.42077600,0.00000000,0.00000000,-134.99997191); 
    CreateObject(979,-2048.87036100,-964.50170900,492.42077600,0.00000000,0.00000000,213.74998418); 
    CreateObject(979,-2065.47680700,-1005.33441200,492.42077600,0.00000000,0.00000000,44.99999064); 
    CreateObject(979,-2059.56982400,-998.16040000,492.42077600,0.00000000,0.00000000,56.25001695); 
    CreateObject(979,-2053.87036100,-991.25506600,492.42077600,0.00000000,0.00000000,44.99999064); 
    CreateObject(979,-2047.07788100,-985.75439500,492.42077600,0.00000000,0.00000000,33.75002163); 
    CreateObject(979,-2039.30407700,-980.59680200,492.42077600,0.00000000,0.00000000,33.75002163); 
    CreateObject(979,-2031.80749500,-975.59137000,492.42077600,0.00000000,0.00000000,33.75002163); 
    CreateObject(979,-2023.80432100,-971.65478500,492.42077600,0.00000000,0.00000000,22.49999532); 
    CreateObject(979,-2015.87902800,-968.34991500,492.42077600,0.00000000,0.00000000,22.49999532);
    CreateObject(979,-2008.52160600,-965.24346900,492.42077600,0.00000000,0.00000000,22.49999532); 
    CreateObject(979,-1999.97448700,-961.78326400,492.38058500,0.00000000,0.00000000,22.49999532); 
    CreateObject(979,-1991.39331100,-959.01397700,492.36962900,0.00000000,0.00000000,11.25002631); 
    CreateObject(979,-1982.59375000,-957.10656700,492.35879500,0.00000000,0.00000000,11.25002631);
    CreateObject(979,-1973.45495600,-956.20550500,492.34933500,0.00000000,0.00000000,0.00000000); 
    CreateObject(979,-1964.24353000,-956.14440900,492.35922200,0.00000000,0.00000000,0.00000000); 
    CreateObject(979,-1955.32543900,-957.90820300,492.34466600,0.00000000,0.00000000,-22.49999532); 
    CreateObject(979,-1946.75012200,-961.44647200,492.32543900,0.00000000,0.00000000,-22.49999532); 
    CreateObject(979,-1938.78112800,-965.74676500,492.30633500,0.00000000,0.00000000,-33.75002163); 
    CreateObject(979,-1931.03149400,-971.02453600,492.27905300,0.00000000,0.00000000,-33.75002163);
    CreateObject(979,-1924.16796900,-976.66400100,492.24755900,0.00000000,0.00000000,-44.99999064); 
    CreateObject(979,-1918.02038600,-982.86688200,492.21340900,0.00000000,0.00000000,-44.99999064); 
    CreateObject(979,-1912.24389600,-989.87121600,492.20587200,0.00000000,0.00000000,-56.25001695); 
    CreateObject(979,-1907.23449700,-997.18670700,492.16616800,0.00000000,0.00000000,-56.25001695); 
    CreateObject(979,-1902.21630900,-1004.70043900,492.15017700,0.00000000,0.00000000,-56.25001695); 
    CreateObject(979,-1897.78503400,-1012.69128400,492.13909900,0.00000000,0.00000000,-67.49998596); 
    CreateObject(979,-2041.37512200,-959.73089600,492.42077600,0.00000000,0.00000000,-146.24999822); 
    CreateObject(979,-2033.16760300,-955.54797400,492.42077600,0.00000000,0.00000000,202.49995787); 
    CreateObject(979,-2024.62927200,-952.15124500,492.42077600,0.00000000,0.00000000,-157.49996723); 
    CreateObject(979,-2016.00878900,-948.58917200,492.42077600,0.00000000,0.00000000,-157.49996723);
    CreateObject(979,-2007.60290500,-945.11163300,492.42077600,0.00000000,0.00000000,-157.49996723); 
    CreateObject(979,-1998.90747100,-942.45166000,492.34323100,0.00000000,0.00000000,-168.74999354); 
    CreateObject(979,-1990.10034200,-939.65698200,492.34771700,0.00000000,0.00000000,-157.49996723);
    CreateObject(979,-1981.25280800,-937.89386000,492.34927400,0.00000000,0.00000000,-179.99996255); 
    CreateObject(979,-1971.99865700,-937.88977100,492.35919200,0.00000000,0.00000000,-179.99996255);
    CreateObject(979,-1962.79882800,-937.93212900,492.36126700,0.00000000,0.00000000,-179.99996255); 
    CreateObject(979,-1954.08129900,-939.72021500,492.34796100,0.00000000,0.00000000,-202.49995787); 
    CreateObject(979,-1945.22424300,-942.40557900,492.33151200,0.00000000,0.00000000,-191.24998886); 
    CreateObject(979,-1936.43139600,-945.14904800,492.31738300,0.00000000,0.00000000,-202.49995787);
    CreateObject(979,-1928.36486800,-949.43756100,492.30038500,0.00000000,0.00000000,-213.74998418); 
    CreateObject(979,-1920.86120600,-954.39337200,492.28091400,0.00000000,0.00000000,-213.74998418);
    CreateObject(979,-1913.66284200,-960.23437500,492.25460800,0.00000000,0.00000000,-225.00001049); 
    CreateObject(979,-1907.05920400,-966.75793500,492.22900400,0.00000000,0.00000000,-224.99995319);
    CreateObject(979,-1901.09448200,-973.93609600,492.20419300,0.00000000,0.00000000,-236.24997950); 
    CreateObject(979,-1895.24450700,-981.02386500,492.17797900,0.00000000,0.00000000,-224.99995319); 
    CreateObject(979,-1890.10974100,-987.88177500,492.15719600,0.00000000,0.00000000,-236.24997950); 
    CreateObject(979,-1885.56579600,-995.51440400,492.14462300,0.00000000,0.00000000,112.49997660); 
    CreateObject(979,-1881.38964800,-1003.29205300,492.13510100,0.00000000,0.00000000,-236.24997950); 
    CreateObject(8150,-1875.64733900,-1067.48413100,494.78100600,0.00000000,0.00000000,-67.49998596);
    CreateObject(8150,-1855.22485400,-1063.26562500,494.85238600,0.00000000,0.00000000,-247.50000580); 
    CreateObject(982,-1819.60534700,-1116.75305200,492.36355600,0.00000000,0.00000000,-67.49998596); 
    CreateObject(982,-1797.57409700,-1123.05297900,492.36355600,0.00000000,0.00000000,-67.49998596); 
    CreateObject(982,-1821.32714800,-1132.95056200,492.36355600,0.00000000,0.00000000,-67.49998596); 
    CreateObject(982,-1845.00622600,-1142.72082500,492.36355600,0.00000000,0.00000000,-67.49998596);
    CreateObject(982,-1868.74560500,-1152.54809600,492.36355600,0.00000000,0.00000000,-67.49998596); 
    CreateObject(982,-1883.57226600,-1150.51745600,492.35577400,0.00000000,0.00000000,-157.49996723); 
    CreateObject(982,-1875.80188000,-1135.77624500,492.36355600,0.00000000,0.00000000,-67.49998596); 
    CreateObject(982,-1862.96521000,-1130.42675800,492.36355600,0.00000000,0.00000000,-67.49998596); 
    CreateObject(982,-1788.80859400,-1110.88293500,492.36355600,0.00000000,0.00000000,22.49999532);
    CreateObject(982,-1803.11084000,-1109.87341300,492.36355600,0.00000000,0.00000000,-67.49998596); 
    CreateObject(1503,-1879.09875500,-1154.90051300,492.07409700,0.00000000,0.00000000,112.49997660); 
    CreateObject(5153,-1884.43176300,-1141.44616700,492.37826500,0.00000000,0.00000000,-157.49996723);
    CreateObject(981,-1835.17431600,-1137.64929200,492.66735800,0.00000000,0.00000000,-157.49996723); 
    CreateObject(983,-1840.75219700,-1103.87451200,492.36355600,0.00000000,0.00000000,-67.49998596); 
    CreateObject(983,-1833.42285200,-1122.67260700,492.36355600,0.00000000,0.00000000,-67.49998596); 
    CreateObject(983,-1837.28674300,-1120.50598100,492.20413200,0.00000000,0.00000000,22.49999532); 
    CreateObject(983,-1839.78857400,-1114.63122600,492.20471200,0.00000000,0.00000000,22.49999532); 
    CreateObject(983,-1842.28979500,-1108.47753900,492.20596300,0.00000000,0.00000000,22.49999532); 
    CreateObject(3749,-1842.68396000,-1119.84704600,497.37692300,0.00000000,0.00000000,22.49999532); 
    CreateObject(3749,-2312.68603500,-1572.80334500,485.58926400,0.00000000,0.00000000,-22.49999532); 
    CreateObject(669,-2323.83544900,-1572.99316400,481.14041100,0.00000000,0.00000000,0.00000000); 
    CreateObject(645,-2298.31665000,-1576.33960000,476.96228000,0.00000000,0.00000000,33.75002163); 
    CreateObject(645,-2294.75512700,-1578.62878400,476.57507300,0.00000000,0.00000000,44.99999064); 
    CreateObject(645,-2288.99560500,-1582.12304700,475.90795900,0.00000000,0.00000000,33.75002163); 
    CreateObject(645,-2284.15869100,-1589.16528300,477.27789300,0.00000000,0.00000000,22.49999532); 
    CreateObject(645,-2280.64331100,-1598.73437500,477.07952900,0.00000000,0.00000000,22.49999532); 
    CreateObject(645,-2278.50146500,-1607.19714400,477.60672000,0.00000000,0.00000000,0.00000000); 
    CreateObject(645,-2276.94799800,-1615.99328600,477.71817000,0.00000000,0.00000000,11.25002631); 
    CreateObject(645,-2274.79614300,-1626.17224100,477.70770300,0.00000000,0.00000000,0.00000000); 
    CreateObject(645,-2278.37255900,-1631.04480000,480.39108300,0.00000000,0.00000000,0.00000000); 
    CreateObject(645,-2280.87939500,-1639.60351600,480.55056800,0.00000000,0.00000000,0.00000000); 
    CreateObject(645,-2281.77783200,-1646.62951700,481.04797400,0.00000000,0.00000000,-11.25002631); 
    CreateObject(645,-2283.37011700,-1654.52478000,480.77850300,0.00000000,0.00000000,-11.25002631); 
    CreateObject(645,-2284.61865200,-1662.75964400,480.73724400,0.00000000,0.00000000,-11.25002631); 
    CreateObject(645,-2284.03808600,-1672.12377900,479.94415300,0.00000000,0.00000000,0.00000000); 
    CreateObject(645,-2279.85864300,-1680.13183600,479.35864300,0.00000000,0.00000000,22.49999532); 
    CreateObject(645,-2273.96020500,-1685.71118200,478.99853500,0.00000000,0.00000000,33.75002163); 
    CreateObject(645,-2265.11645500,-1685.99462900,479.36618000,0.00000000,0.00000000,0.00000000); 
    CreateObject(645,-2258.00390600,-1690.98803700,480.10534700,0.00000000,0.00000000,-44.99999064);
    CreateObject(645,-2250.82836900,-1698.25341800,479.41156000,0.00000000,0.00000000,33.75002163); 
    CreateObject(645,-2243.70336900,-1705.39721700,479.24932900,0.00000000,0.00000000,22.49999532); 
    CreateObject(691,-2332.76196300,-1567.56799300,477.27911400,0.00000000,0.00000000,0.00000000); 
    CreateObject(691,-2345.20874000,-1572.27490200,480.81124900,0.00000000,0.00000000,33.75002163); 
    CreateObject(691,-2355.54907200,-1583.61535600,484.27581800,0.00000000,0.00000000,-11.25002631); 
    CreateObject(691,-2358.64624000,-1598.92443800,484.53836100,0.00000000,0.00000000,0.00000000); 
    CreateObject(691,-2361.86401400,-1613.28430200,485.28506500,0.00000000,0.00000000,-22.49999532); 
    CreateObject(691,-2367.38476600,-1626.89685100,485.61892700,0.00000000,0.00000000,-22.49999532); 
    CreateObject(691,-2367.20190400,-1643.94079600,485.54559300,0.00000000,0.00000000,-56.25001695);
    CreateObject(691,-2360.07763700,-1658.45959500,482.37994400,0.00000000,0.00000000,-11.25002631);
    CreateObject(691,-2351.24389600,-1673.91015600,481.73159800,0.00000000,0.00000000,0.00000000); 
    CreateObject(691,-2328.80273400,-1698.80114700,481.54892000,0.00000000,0.00000000,0.00000000); 
    CreateObject(691,-2319.89941400,-1710.07702600,478.99133300,0.00000000,0.00000000,0.00000000); 
    CreateObject(691,-2308.34863300,-1715.78210400,477.31399500,0.00000000,0.00000000,0.00000000);
    CreateObject(13636,-2347.89868200,-1621.49523900,484.94012500,0.00000000,0.00000000,-191.24998886); 
    CreateObject(13641,-2241.33105500,-1744.04052700,481.57296800,0.00000000,0.00000000,-67.49998596); 
    CreateObject(13647,-2287.27832000,-1653.07580600,482.08606000,0.00000000,0.00000000,-89.99998128); 
    CreateObject(18451,-2336.99658200,-1574.87365700,483.03826900,0.00000000,0.00000000,22.49999532); 
    CreateObject(1634,-2302.11621100,-1605.57739300,484.22775300,0.00000000,0.00000000,-56.25001695); 
    CreateObject(5130,-2236.39135700,-1720.97241200,482.85253900,0.00000000,0.00000000,146.24999822); 
    CreateObject(9766,-2194.62744100,-1712.28576700,483.21667500,0.00000000,0.00000000,101.25000758); 
    CreateObject(9766,-2124.54052700,-1698.37109400,477.88879400,0.00000000,0.00000000,101.25000758);
    CreateObject(1310,-2236.80664100,-1720.80127000,483.19863900,0.00000000,0.00000000,-78.75001226);
    CreateObject(1318,-2085.58960000,-1691.05932600,476.30395500,0.00000000,0.00000000,0.00000000);
    CreateObject(13638,-2306.59716800,-1683.40869100,484.36807300,0.00000000,0.00000000,44.99999064); 
    CreateObject(13638,-2322.94970700,-1683.36206100,492.34417700,0.00000000,0.00000000,44.99999064); 
    CreateObject(13638,-2339.41796900,-1683.26208500,500.46737700,0.00000000,0.00000000,44.99999064); 

    Sper sa va placa , Prima mea mapa de stunt ( for Fun )

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.