Beiträge von QwErTs

    Sehr gut! Funzt! hab was gefunden:


    Wen ihr sucht "Horn" und von unten 3 Abzeht landet ihr obewn bei "Crouch", danke!
    //edit Thema erledigt-->Close

    public OnFilterScriptInit(){
    CreateObject(8131,1260.477,-2026.187,69.100,0.0,0.0,-90.000);
    CreateObject(982,1252.668,-2003.154,59.491,0.0,0.0,-90.000);
    CreateObject(983,1269.263,-2002.387,58.891,0.0,0.0,-90.000);
    CreateObject(983,1276.268,-2001.928,58.562,0.0,0.0,-90.000);
    CreateObject(983,1266.831,-2004.230,59.063,0.0,0.0,-101.250);
    CreateObject(1478,1420.254,-1881.987,13.183,0.0,0.0,-270.000);
    CreateObject(3398,1416.007,-1902.072,38.786,0.0,0.0,-326.250);
    CreateObject(3398,1437.430,-1987.754,62.783,0.0,0.0,-123.750);
    CreateObject(3398,1320.801,-2068.654,70.629,0.0,0.0,-22.500);
    CreateObject(3398,1284.715,-2046.316,72.133,0.0,0.0,-303.750);
    CreateObject(3398,1262.961,-1969.274,66.139,0.0,0.0,-225.000);
    CreateObject(3398,1209.893,-2008.118,82.196,0.0,0.0,-405.000);
    CreateObject(3398,1127.777,-2073.657,82.196,0.0,0.0,-225.000);
    CreateObject(3398,1210.503,-2069.641,83.101,0.0,0.0,-146.250);
    CreateObject(3398,1136.216,-2006.822,82.196,0.0,0.0,-315.000);
    CreateObject(1318,1123.631,-2036.916,69.385,0.0,0.0,0.0);
    CreateObject(12839,1547.215,-1636.584,24.999,0.0,0.0,-90.000);
    CreateObject(12950,1556.216,-1636.716,18.413,0.0,0.0,90.000);
    CreateObject(12950,1561.263,-1636.572,13.989,0.0,0.0,-270.000);
    CreateObject(3280,1544.201,-1631.806,12.383,0.0,0.0,0.0);
    CreateObject(1247,1555.302,-1675.613,15.807,0.0,0.0,-90.000);
    CreateObject(1676,1588.357,-1690.736,6.800,0.0,0.0,-78.750);
    CreateObject(1676,1588.271,-1687.280,6.806,0.0,0.0,-90.000);
    CreateObject(1676,1588.320,-1684.067,6.806,0.0,0.0,-101.250);
    CreateObject(3267,1543.666,-1648.217,26.963,0.0,0.0,-213.750);
    CreateObject(3267,1544.140,-1701.979,26.955,0.0,0.0,33.750);
    CreateObject(973,1537.601,-1668.221,13.387,0.0,0.0,-270.000);
    CreateObject(973,1537.619,-1677.423,13.387,0.0,0.0,90.000);
    CreateObject(3458,1570.038,-1619.644,14.068,0.0,0.0,-180.000);
    CreateObject(1233,1534.927,-1681.919,14.107,0.0,0.0,-90.000);
    CreateObject(1233,1534.872,-1663.470,14.107,0.0,0.0,-90.000);
    CreateObject(1682,1562.981,-1655.814,33.850,0.0,0.0,-315.000);
    CreateObject(2794,1548.283,-1637.146,26.937,0.0,0.0,0.0);
    CreateObject(10282,1585.145,-1670.746,5.905,0.0,0.0,0.0);
    CreateObject(1216,1553.745,-1668.111,13.248,0.0,0.0,-90.000);
    CreateObject(1216,1553.776,-1667.462,13.248,0.0,0.0,-90.000);
    CreateObject(1216,1553.783,-1666.857,13.248,0.0,0.0,-90.000);
    CreateObject(1257,1523.245,-1676.474,13.826,0.0,0.0,-180.000);
    CreateObject(910,1540.622,-1601.587,13.816,0.0,0.0,-180.000);
    CreateObject(16782,1578.255,-1691.278,8.537,0.0,0.0,-90.000);
    CreateObject(750,1541.027,-1612.018,13.019,0.0,0.0,0.0);
    CreateObject(751,1541.193,-1616.054,13.314,0.0,0.0,0.0);
    CreateObject(748,1542.830,-1615.192,13.206,0.0,0.0,101.250);
    CreateObject(746,1543.521,-1612.420,13.585,0.0,0.0,33.750);
    CreateObject(630,1540.299,-1613.714,13.408,0.0,0.0,0.0);
    CreateObject(623,1543.533,-1606.990,17.168,0.0,0.0,-123.750);
    CreateObject(748,1544.982,-1614.440,13.206,0.0,0.0,33.750);
    CreateObject(636,1543.332,-1616.231,12.626,0.0,0.0,0.0);
    CreateObject(11494,1545.602,-1605.613,12.375,0.0,0.0,45.000);
    CreateObject(746,1543.116,-1610.148,13.585,0.0,0.0,326.250);
    CreateObject(747,1544.361,-1610.494,12.774,0.0,0.0,-78.750);
    CreateObject(626,1543.210,-1616.866,14.431,0.0,0.0,0.0);
    CreateObject(628,1544.690,-1616.539,14.377,0.0,0.0,0.0);
    CreateObject(1349,2513.233,-1655.195,13.451,0.0,0.0,-78.750);
    CreateObject(1358,2515.671,-1679.238,13.779,0.0,0.0,0.0);
    CreateObject(1357,2514.351,-1676.317,12.935,0.0,0.0,0.0);
    CreateObject(1238,2484.386,-1688.849,12.831,0.0,0.0,0.0);
    CreateObject(1238,2483.164,-1688.787,12.831,0.0,0.0,0.0);
    CreateObject(1238,2482.038,-1688.678,12.831,0.0,0.0,0.0);
    CreateObject(1238,2480.802,-1688.592,12.835,0.0,0.0,0.0);
    CreateObject(1238,2482.952,-1722.362,12.873,0.0,0.0,0.0);
    CreateObject(1238,2481.754,-1722.429,12.873,0.0,0.0,0.0);
    CreateObject(1238,2480.419,-1722.357,12.873,0.0,0.0,0.0);
    CreateObject(1238,2478.877,-1722.190,12.865,0.0,0.0,0.0);
    CreateObject(918,2511.286,-1680.780,12.904,0.0,0.0,-22.500);
    CreateObject(1225,2512.123,-1681.862,12.874,0.0,0.0,0.0);
    CreateObject(1222,2510.188,-1682.374,13.006,0.0,0.0,0.0);
    CreateObject(1318,2495.338,-1691.097,14.264,0.0,0.0,-90.000);
    CreateObject(1306,2514.056,-1702.380,19.901,0.0,0.0,-168.750);
    CreateObject(853,2457.124,-1674.475,12.902,0.0,0.0,0.0);
    CreateObject(854,2457.507,-1672.296,12.709,0.0,0.0,0.0);
    CreateObject(852,2456.083,-1673.251,12.468,0.0,0.0,0.0);
    CreateObject(851,2459.002,-1672.752,12.816,0.0,0.0,45.000);
    CreateObject(911,2484.227,-1690.118,13.082,0.0,0.0,-90.000);
    CreateObject(910,2521.686,-1663.826,15.185,0.0,0.0,-45.000);
    CreateObject(913,2480.348,-1691.349,13.351,0.0,0.0,-236.250);
    CreateObject(917,2512.740,-1679.068,12.648,0.0,0.0,0.0);
    CreateObject(916,2513.337,-1679.662,12.557,0.0,0.0,0.0);
    CreateObject(922,2483.560,-1694.774,13.408,0.0,0.0,78.750);
    CreateObject(924,2483.983,-1691.709,12.698,0.0,0.0,56.250);
    CreateObject(926,2514.244,-1664.098,12.846,0.0,0.0,0.0);
    CreateObject(928,2514.376,-1664.737,12.854,0.0,0.0,0.0);
    CreateObject(928,2514.822,-1664.069,12.928,0.0,0.0,0.0);
    CreateObject(926,2514.525,-1664.858,13.363,0.0,0.0,0.0);
    CreateObject(928,2514.891,-1664.547,12.923,0.0,0.0,0.0);
    CreateObject(926,2514.242,-1664.277,13.355,0.0,0.0,0.0);
    CreateObject(18248,2459.456,-1715.225,20.619,0.0,0.0,-247.500);
    CreateObject(850,2458.884,-1675.805,12.615,0.0,0.0,0.0);
    CreateObject(852,2460.465,-1715.434,12.502,0.0,0.0,0.0);
    CreateObject(852,2458.847,-1714.686,12.524,0.0,0.0,0.0);
    CreateObject(852,2457.891,-1713.368,12.538,0.0,0.0,0.0);
    CreateObject(852,2457.884,-1711.676,12.537,0.0,0.0,0.0);
    }

    Berichtigte Version, du willst ja nur Mechanicern senden:


    [pwn]
    dcmd(f,1,cmdtext); // unter OnPlayerCommandText


    dcmd_f(playerid,params[])
    {
    new fmsg[256];
    if(sscanf(params,"s",fmsg))
    {
    return SCM(playerid,GREY,"Benutzung: /f [Text]");
    }
    else
    {


    for(new i = 0;i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(gTeam[i] == TEAM_ADAC)
    {

    new format_me[128],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof name);
    format(format_me,sizeof format_me,"Mechaniker %s: %s",name,fmsg);
    SendClientMessage(i, 0x33CCFFAA,format_me);
    }
    }
    }
    }
    }[/pwn]


    dcmd(f,1,cmdtext); // unter OnPlayerCommandText


    dcmd_f(playerid,params[])
    {
    new fmsg[256];
    if(sscanf(params,"s",fmsg))
    {
    return SCM(playerid,GREY,"Benutzung: /f [Text]");
    }
    else
    {


    for(new i = 0;i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(gTeam[i] == TEAM_ADAC)
    {

    new format_me[128],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof name);
    format(format_me,sizeof format_me,"Mechaniker %s: %s",name,fmsg);
    SendClientMessage(i, 0x33CCFFAA,format_me);
    }
    }
    }
    }
    }


    ;)

    Hier mal die Server.cfg erklärt, für anfänger:



    Und wie, damit der ganze Bildschirm gefüllt ist?


    Habe schon:
    bewustlos = TextDrawCreate(0, 0, " ");
    TextDrawAlignment(bewustlos, 1);
    TextDrawFont(bewustlos, 0);
    TextDrawLetterSize(bewustlos, 0.1, 0.1);
    TextDrawColor(bewustlos, 0x000000FF);
    TextDrawSetProportional(bewustlos, 1);
    TextDrawUseBox(bewustlos, 1);
    TextDrawTextSize(bewustlos,25.0, 25.0);