Beiträge von ScriptBITTE

    Hab den Fehler gefunden die Amx. datei wird nicht mehr
    gelöscht hab das mapp eingefügt
    es laggt jetzt auch nicht mehr
    aber wen ich hin gehe steht kein Baum da hab
    es bei


    OngameModeInit
    im script reingebaut

    Hmm
    Aber wen ich den Pawno code also
    das map in mein script rein mache
    Laggt es richtig.


    Wen ich raus lösche laggt es nicht


    und wen ich jetzt aufeinmall irgend was bearbeite
    löscht es meine amx. gamemode immer

    Speichere die Map ab und gehe auf http://www.Convertffs.com und füge dort alles aus deiner Map Datei ein und converte das ganze.

    Ich hab das jetzt gemacht


    CreateObject(3917,2474.49462891,-1660.06884766,5.93878269,0.00000000,0.00000000,270.00000000); //object(lib_street17) (15)
    CreateObject(3917,2461.40795898,-1660.05187988,5.93878269,0.00000000,0.00000000,270.00000000); //object(lib_street17) (16)
    CreateObject(3917,2461.42260742,-1649.71936035,5.93878269,0.00000000,0.00000000,270.00000000); //object(lib_street17) (17)
    CreateObject(3917,2448.20849609,-1649.74499512,5.93878269,0.00000000,0.00000000,270.00000000); //object(lib_street17) (18)
    CreateObject(3917,2448.35668945,-1639.19592285,5.93878269,0.00000000,0.00000000,270.00000000); //object(lib_street17) (19)
    CreateObject(3917,2461.31347656,-1639.26184082,5.96378279,0.00000000,0.00000000,270.00000000); //object(lib_street17) (20)
    CreateObject(3917,2474.49316406,-1649.61828613,5.93878269,0.00000000,0.00000000,270.00000000); //object(lib_street17) (21)
    CreateObject(3917,2474.40747070,-1639.20446777,5.93878269,0.00000000,0.00000000,270.00000000); //object(lib_street17) (22)
    CreateObject(3917,2487.47314453,-1639.05285645,5.96378279,0.00000000,0.00000000,270.00000000); //object(lib_street17) (23)
    CreateObject(3917,2487.45654297,-1649.35375977,5.96378279,0.00000000,0.00000000,270.00000000); //object(lib_street17) (24)
    CreateObject(3917,2487.44995117,-1659.82482910,5.96378279,0.00000000,0.00000000,270.00000000); //object(lib_street17) (25)
    CreateObject(3917,2500.45605469,-1647.73437500,5.96378279,0.00000000,0.00000000,270.00000000); //object(lib_street17) (26)
    CreateObject(3917,2534.73413086,-1656.00671387,5.96378279,0.00000000,0.00000000,176.75000000); //object(lib_street17) (28)
    CreateObject(3917,2471.03369141,-1646.00378418,5.98878288,0.00000000,0.00000000,179.74804688); //object(lib_street17) (29)
    CreateObject(3917,2460.62890625,-1645.96411133,5.98878288,0.00000000,0.00000000,179.74731445); //object(lib_street17) (30)
    CreateObject(12857,2489.26025391,-1667.79101562,12.08702278,0.00000000,0.00000000,0.00000000); //object(ce_bridge02) (2)
    CreateObject(12835,2488.30249023,-1667.04992676,13.02109337,0.00000000,0.00000000,0.00000000); //object(coe_traintrax_06) (1)
    CreateObject(12839,2492.50439453,-1668.87512207,13.00000000,0.00000000,0.00000000,0.00000000); //object(cos_sbanksteps02) (1)
    CreateObject(12837,2490.78613281,-1668.87231445,13.00000000,0.00000000,0.00000000,0.00000000); //object(coe_traintrax_08) (1)
    CreateObject(12835,2488.66894531,-1669.01647949,13.02109337,0.00000000,0.00000000,0.00000000); //object(coe_traintrax_06) (3)
    CreateObject(12836,2492.23046875,-1667.23937988,13.00000000,0.00000000,0.00000000,0.00000000); //object(coe_traintrax_07) (1)
    CreateObject(12837,2488.31323242,-1665.38098145,13.00000000,0.00000000,0.00000000,0.00000000); //object(coe_traintrax_08) (2)
    CreateObject(12838,2486.59936523,-1668.84680176,13.00000000,0.00000000,0.00000000,0.00000000); //object(coe_traintrax_09) (1)
    CreateObject(12838,2491.70727539,-1670.68041992,13.13671875,0.00000000,0.00000000,0.00000000); //object(coe_traintrax_09) (2)
    CreateObject(12836,2490.03100586,-1664.97473145,13.00000000,0.00000000,0.00000000,0.00000000); //object(coe_traintrax_07) (3)
    CreateObject(12837,2486.81933594,-1667.06359863,13.00000000,0.00000000,0.00000000,0.00000000); //object(coe_traintrax_08) (3)
    CreateObject(12839,2490.06542969,-1666.40527344,13.00000000,0.00000000,0.00000000,0.00000000); //object(cos_sbanksteps02) (2)
    CreateObject(12840,2486.23876953,-1667.38488770,15.20938110,0.00000000,0.00000000,0.00000000); //object(cos_pizskyglas01) (1)
    CreateObject(12840,2490.67114258,-1665.74206543,16.23438072,0.00000000,0.00000000,0.00000000); //object(cos_pizskyglas01) (2)
    CreateObject(12842,2491.93017578,-1668.60729980,16.35157204,0.00000000,0.00000000,0.00000000); //object(cos_pizseats) (1)
    CreateObject(12842,2487.17260742,-1668.95361328,16.37657928,0.00000000,0.00000000,0.00000000); //object(cos_pizseats) (2)
    CreateObject(12841,2487.11645508,-1666.77197266,16.35159492,0.00000000,0.00000000,0.00000000); //object(cos_pizinterior) (1)
    CreateObject(12841,2491.03759766,-1667.27038574,13.92660522,0.00000000,0.00000000,0.00000000); //object(cos_pizinterior) (2)
    CreateObject(12909,2487.80249023,-1665.97448730,12.41015625,0.00000000,0.00000000,0.00000000); //object(sw_bridge03) (1)
    CreateObject(12909,2491.73291016,-1665.97961426,12.41015625,0.00000000,0.00000000,0.00000000); //object(sw_bridge03) (2)
    CreateObject(12909,2491.73779297,-1669.94262695,12.41015625,0.00000000,0.00000000,0.00000000); //object(sw_bridge03) (3)
    CreateObject(12909,2487.80957031,-1669.94934082,12.41015625,0.00000000,0.00000000,0.00000000); //object(sw_bridge03) (4)
    CreateObject(12838,2491.79003906,-1665.45117188,13.00000000,0.00000000,0.00000000,0.00000000); //object(coe_traintrax_09) (3)
    CreateObject(12839,2488.05712891,-1670.96862793,13.13671875,0.00000000,0.00000000,0.00000000); //object(cos_sbanksteps02) (3)
    CreateObject(997,2493.69262695,-1668.70397949,12.49747276,0.00000000,0.00000000,270.00000000); //object(lhouse_barrier3) (1)
    CreateObject(997,2493.68603516,-1665.59851074,12.49747276,0.00000000,0.00000000,270.00000000); //object(lhouse_barrier3) (2)
    CreateObject(997,2493.66601562,-1664.06750488,12.49747276,0.00000000,0.00000000,270.00000000); //object(lhouse_barrier3) (3)
    CreateObject(997,2493.77172852,-1671.88159180,12.49747276,0.00000000,0.00000000,180.00000000); //object(lhouse_barrier3) (4)
    CreateObject(997,2490.65478516,-1671.88964844,12.49747276,0.00000000,0.00000000,179.99450684); //object(lhouse_barrier3) (5)
    CreateObject(997,2489.11279297,-1671.86889648,12.49747276,0.00000000,0.00000000,179.99450684); //object(lhouse_barrier3) (6)
    CreateObject(997,2485.94628906,-1671.94384766,12.49747276,0.00000000,0.00000000,89.99450684); //object(lhouse_barrier3) (7)
    CreateObject(997,2485.91772461,-1668.82910156,12.49747276,0.00000000,0.00000000,89.99450684); //object(lhouse_barrier3) (8)
    CreateObject(997,2485.91259766,-1667.30212402,12.49747276,0.00000000,0.00000000,89.99450684); //object(lhouse_barrier3) (9)
    CreateObject(997,2485.83593750,-1664.13061523,12.49747276,0.00000000,0.00000000,0.49450684); //object(lhouse_barrier3) (10)
    CreateObject(997,2488.94702148,-1664.08959961,12.49747276,0.00000000,0.00000000,0.49438477); //object(lhouse_barrier3) (11)
    CreateObject(997,2490.50268555,-1664.08154297,12.49747276,0.00000000,0.00000000,0.49438477); //object(lhouse_barrier3) (12)
    CreateObject(3472,2464.68261719,-1664.37097168,12.39371490,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (1)
    CreateObject(3472,2464.95678711,-1653.68908691,12.39371490,0.00000000,0.00000000,322.00000000); //object(circuslampost03) (2)
    CreateObject(3472,2475.06274414,-1653.62585449,12.39371490,0.00000000,0.00000000,321.99829102); //object(circuslampost03) (3)
    CreateObject(3472,2484.19824219,-1653.72534180,12.39371490,0.00000000,0.00000000,321.99829102); //object(circuslampost03) (4)
    CreateObject(3472,2497.90917969,-1653.74816895,12.39371490,0.00000000,0.00000000,321.99829102); //object(circuslampost03) (5)


    /*
    Objects converted: 56
    Vehicles converted: 0
    Vehicle models found: 0
    ----------------------
    In the time this conversion took to finish a hummingbird could have flapped it's wings 7.26 times!
    */


    Wo das jetzt rein?

    Ooooooooch komm schon, so schlecht kann dein Englisch nicht sein ;)
    Pstebin Lin findest du da sehr leicht, anschließend einfach in dein Script kopieren oder per Filterskript laden.

    Das jetzt in mein Script :?



    • #include <a_samp>

    • #include <streamer>

    • #include <zcmd>

    • #undef MAX_PLAYERS

    • #define MAX_SLOTS 30

    • #define MAX_SNOW_OBJECTS 20

    • #define UPDATE_INTERVAL 750

    • #if MAX_SLOTS == -1

    • #error Change MAX_SLOTS to the max players of your server! (At line 6)

    • #endif

    • #define ploop(%0) for(new %0 = 0; %0 < MAX_SLOTS; %0++) if(IsPlayerConnected(%0))

    • #define CB:%0(%1) forward %0(%1); public %0(%1)

    • new bool:snowOn[MAX_SLOTS char],

    • snowObject[MAX_SLOTS][MAX_SNOW_OBJECTS],

    • updateTimer[MAX_SLOTS char]

    • ;

    • public OnFilterScriptExit()

    • {

    • ploop(i)

    • {

    • if(snowOn{i})

    • {

    • for(new j = 0; j < MAX_SNOW_OBJECTS; j++) DestroyDynamicObject(snowObject[i][j]);

    • KillTimer(updateTimer{i});

    • }

    • }

    • return 1;

    • }

    • public OnPlayerDisconnect(playerid)

    • {

    • if(snowOn{playerid})

    • {

    • for(new i = 0; i < MAX_SNOW_OBJECTS; i++) DestroyDynamicObject(snowObject[playerid][i]);

    • snowOn{playerid} = false;

    • KillTimer(updateTimer{playerid});

    • }

    • return 1;

    • }

    • CB:UpdateSnow(playerid)

    • {

    • if(!snowOn{playerid}) return 0;

    • new Float:pPos[3];

    • GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]);

    • for(new i = 0; i < MAX_SNOW_OBJECTS; i++) SetDynamicObjectPos(snowObject[playerid][i], pPos[0] + random(25), pPos[1] + random(25), pPos[2] - 5);

    • return 1;

    • }

    • stock CreateSnow(playerid)

    • {

    • if(snowOn{playerid}) return 0;

    • new Float:pPos[3];

    • GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]);

    • for(new i = 0; i < MAX_SNOW_OBJECTS; i++) snowObject[playerid][i] = CreateDynamicObject(18864, pPos[0] + random(25), pPos[1] + random (25), pPos[2] - 5, random(100), random(100), random(100), -1, -1, playerid);

    • snowOn{playerid} = true;

    • updateTimer{playerid} = SetTimerEx("UpdateSnow", UPDATE_INTERVAL, true, "i", playerid);

    • return 1;

    • }

    • stock DeleteSnow(playerid)

    • {

    • if(!snowOn{playerid}) return 0;

    • for(new i = 0; i < MAX_SNOW_OBJECTS; i++) DestroyDynamicObject(snowObject[playerid][i]);

    • KillTimer(updateTimer{playerid});

    • snowOn{playerid} = false;

    • return 1;

    • }

    • CMD:snow(playerid, params[])

    • {

    • if(snowOn{playerid})

    • {

    • DeleteSnow(playerid);

    • SendClientMessage(playerid, 0x00FF00AA, "* It's not snowing anymore now.");

    • }

    • else

    • {

    • CreateSnow(playerid);

    • SendClientMessage(playerid, 0x00FF00AA, "* Let it snow, let it snow, let it snow!");

    • }

    • return 1;

    • }

    • CMD:allsnowon(playerid, params[])

    • {

    • if(!IsPlayerAdmin(playerid)) return 0;

    • ploop(i) //This is included in my FS! It's the '#define ploop(%0)' thing.

    • {

    • if(snowOn{i}) continue;

    • CreateSnow(i);

    • }

    • return 1;

    • }

    • CMD:allsnowoff(playerid, params[])

    • {

    • if(!IsPlayerAdmin(playerid)) return 0;

    • ploop(i)

    • {

    • if(!snowOn{i}) continue;

    • DeleteSnow(i);

    • }

    • return 1;

    • }