Beiträge von Mischi

    mööp kenne ich^^


    am besten öffnest du die ini´s IMMER mit Pawno. weil das normal WordPad zerstört die strucktur der ini. der Editor zb nicht aber da wird alles in einer reihe aufgezählt was sehr unübersichlich ist.


    Also Pawno öffnen.
    Auf Öffnen klicken dann untern wählen Alle Datein (*.*) [Da wo normal PAWN-Scripts (*.pwn) steht)
    und dann in den ordner wo deine ini gespeichert ist wählen und die ini öffnen.


    Jetzt hast du alles schpön aufgelistet ohne irgendwelche struckturen zerstört zu haben.
    Nun das ändern was du willst und einfach auf speichern klicken.


    Fertig.


    MfG

    Hier für Heal zb:


    new healpickup;

    public OnGameModeInit()
    {
    new healpickup = CreatePickup(1274, 2, 0.0, 0.0, 9.0);
    }

    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    if(pickupid == new healpickup) SetPlayerHeal(playerid,100);
    }


    MfG

    public OnGameModeInit()
    {
    AddPlayerClass(0,1109.0306, -1796.4152, 16.5938, 87.5116, 0, 0, 0, 0, 0, 0);
    return 1;
    }


    Erklärung:

    AddPlayerClass(SkinnID, X, Y, Z, Rotation, Waffe1, Ammo1, Waffe2, Ammo2, Waffe3, Ammo3);



    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 1109.0306, -1796.4152, 16.5938);
    SetPlayerFacingAngle(playerid, 87.5116);
    SetPlayerCameraPos(playerid, 1103.8563, -1796.6984, 16.3456);
    SetPlayerCameraLookAt(playerid, 1109.0306, -1796.4152, 16.5938);
    return 1;
    }


    Erklärung

    SetPlayerPos(playerid, x, y, z); //x, y, z = Postion auf der der Spielerskin steht
    SetPlayerFacingAngle(playerid, richtung); //richtung = Richtung, in die der Spielerskin steht
    SetPlayerCameraPos(playerid, x, y, z); //x,y,z = Postion der Kamera
    SetPlayerCameraLookAt(playerid, x, y, z); //x,y,z = Position vom Skin, auf den die Kamera guckt


    Bei mehreren Skinns:


    bsp:
    public OnGameModeInit()
    {
    AddPlayerClass(105,2511.2092,-1688.0992,13.5621,44.2817,24,60,26,100,18,8); // grove1
    AddPlayerClass(106,2512.6931,-1672.5791,13.5036,66.8167,6,1,31,400,22,80); // grove2
    AddPlayerClass(107,2517.3416,-1661.4232,14.2167,100.0303,32,550,23,50,4,1); // grove3
    AddPlayerClass(102,1910.1559,-1123.0077,25.5906,183.7904,24,60,26,100,18,8); // ballas1
    AddPlayerClass(103,1939.0726,-1114.7036,27.4523,178.7263,6,1,31,400,22,80); // ballas2
    AddPlayerClass(104,2002.9470,-1115.9773,27.1250,181.3781,32,550,23,50,4,1); // ballas3
    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    if (classid == 0) //grove
    {
    SetPlayerPos(playerid, 2511.2092,-1688.0992,13.5621);
    SetPlayerFacingAngle(playerid,44.2817);
    SetPlayerCameraPos(playerid, 2508.6785,-1685.8330,13.5628);
    SetPlayerCameraLookAt(playerid, 2511.2092,-1688.0992,13.5621);
    }
    if (classid == 1)//grove
    {
    SetPlayerPos(playerid, 2518.0532,-1677.3661,14.3649);
    SetPlayerFacingAngle(playerid,48.3784);
    SetPlayerCameraPos(playerid, 2515.3792,-1674.7891,13.7942);
    SetPlayerCameraLookAt(playerid, 2518.0532,-1677.3661,14.3649);
    }
    if (classid == 2)//grove
    {
    SetPlayerPos(playerid, 2518.9741,-1661.5500,14.3701);
    SetPlayerFacingAngle(playerid,95.8370);
    SetPlayerCameraPos(playerid, 2516.1572,-1662.0303,14.0208);
    SetPlayerCameraLookAt(playerid, 2518.9741,-1661.5500,14.3701);
    }
    if (classid == 3)//ballas
    {
    SetPlayerPos(playerid, 1910.1559,-1123.0077,25.5906);
    SetPlayerFacingAngle(playerid,183.7904);
    SetPlayerCameraPos(playerid, 1910.4298,-1126.7048,24.7416);
    SetPlayerCameraLookAt(playerid, 1910.1559,-1123.0077,25.5906);
    }
    if (classid == 4)//ballas
    {
    SetPlayerPos(playerid, 1939.0726,-1114.7036,27.4523);
    SetPlayerFacingAngle(playerid,178.7263);
    SetPlayerCameraPos(playerid, 1938.8990,-1116.4243,26.9467);
    SetPlayerCameraLookAt(playerid, 1939.0726,-1114.7036,27.4523);
    }
    if (classid == 5)//ballas
    {
    SetPlayerPos(playerid, 2002.9470,-1115.9773,27.1250);
    SetPlayerFacingAngle(playerid,181.3781);
    SetPlayerCameraPos(playerid, 2002.8882,-1118.4071,26.7813);
    SetPlayerCameraLookAt(playerid, 2002.9470,-1115.9773,27.1250);
    }



    return 1;
    }


    MfG


    PS: [ SCRIPTING ] TDM-Gamemode [Teil1]

    öffne dein pawno
    öffne in pawno deine Gamesmod aus
    gehe in pawno auf Edit im Menü und wähle dort Find aus
    gib bei Search for: DisableInteriorEnterExits(); ein und klicke auf OK
    dann entferne das gefundene DisableInteriorEnterExits(); aus deiner Mod.


    Denke das sollte nun jeder verstanden haben.


    MfG

    cfg:
    plugins sampmysql.so



    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3a, (C)2005-2009 SA-MP Team


    [03:32:58] filterscripts = "" (string)
    [03:32:58]
    [03:32:58] Server Plugins
    [03:32:58] --------------
    [03:32:58] Loading plugin: sampmysql.so
    [03:32:58] Failed (/lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by plugins/sampmysql.so))
    [03:32:58] Loaded 0 plugins.


    [03:32:58]
    [03:32:58] Ban list
    [03:32:58] --------
    [03:32:58] Loaded: samp.ban
    [03:32:58]
    [03:32:58]
    [03:32:58] Filter Scripts
    [03:32:58] ---------------
    [03:32:58] Loaded 0 filter scripts.


    [03:32:58] Script[gamemodes/Untitled.amx]: Run time error 19: "File or function is not found"


    cfg:
    plugins sampmysql



    [03:34:55] --- Server Shutting Down.


    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3a, (C)2005-2009 SA-MP Team


    [03:35:10] filterscripts = "" (string)
    [03:35:10]
    [03:35:10] Server Plugins
    [03:35:10] --------------
    [03:35:10] Loading plugin: sampmysql
    [03:35:10] Failed (plugins/sampmysql: cannot open shared object file: No such file or directory)
    [03:35:10] Loaded 0 plugins.


    [03:35:10]
    [03:35:10] Ban list
    [03:35:10] --------
    [03:35:10] Loaded: samp.ban
    [03:35:10]
    [03:35:10]
    [03:35:10] Filter Scripts
    [03:35:10] ---------------
    [03:35:10] Loaded 0 filter scripts.


    [03:35:10] Script[gamemodes/Untitled.amx]: Run time error 19: "File or function is not found"


    cfg:
    Plugins sampmysql



    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3a, (C)2005-2009 SA-MP Team


    [03:37:22] filterscripts = "" (string)
    [03:37:22]
    [03:37:22] Server Plugins
    [03:37:22] --------------
    [03:37:22] Loaded 0 plugins.


    [03:37:22]
    [03:37:22] Ban list
    [03:37:22] --------
    [03:37:22] Loaded: samp.ban
    [03:37:22]
    [03:37:22]
    [03:37:22] Filter Scripts
    [03:37:22] ---------------
    [03:37:22] Loaded 0 filter scripts.


    [03:37:22] Script[gamemodes/Untitled.amx]: Run time error 19: "File or function is not found"


    cfg:
    Plugins sampmysql.so



    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3a, (C)2005-2009 SA-MP Team


    [03:39:05] filterscripts = "" (string)
    [03:39:05]
    [03:39:05] Server Plugins
    [03:39:05] --------------
    [03:39:05] Loaded 0 plugins.


    [03:39:05]
    [03:39:05] Ban list
    [03:39:05] --------
    [03:39:05] Loaded: samp.ban
    [03:39:05]
    [03:39:05]
    [03:39:05] Filter Scripts
    [03:39:05] ---------------
    [03:39:05] Loaded 0 filter scripts.


    [03:39:05] Script[gamemodes/Untitled.amx]: Run time error 19: "File or function is not found"

    hmpf also er bring nun nichtmehr die error meldung sondern garnichts mehr.


    Serverlog:

    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3a, (C)2005-2009 SA-MP Team


    [02:18:27] filterscripts = "" (string)
    [02:18:27]
    [02:18:27] Server Plugins
    [02:18:27] --------------
    [02:18:27] Loaded 0 plugins.


    [02:18:27]
    [02:18:27] Ban list
    [02:18:27] --------
    [02:18:27] Loaded: samp.ban
    [02:18:27]
    [02:18:27]
    [02:18:27] Filter Scripts
    [02:18:27] ---------------
    [02:18:27] Loaded 0 filter scripts.


    [02:18:27]
    ----------------------------------
    [02:18:27] Server wurd gestartet
    [02:18:27] ----------------------------------


    [02:18:27]


    Server cfg:
    echo Executing Server Config...
    lanmode 0
    rcon_password meinrcon
    maxplayers 500
    port 7777
    hostname testserver
    gamemode0 meinselfmade 1
    filterscripts
    Plugins sampmysql
    mapname San Andreas
    password onlyfortests
    announce 0
    query 1
    weburl www.sa-mp.com
    maxnpc 0
    onfoot_rate 40
    incar_rate 40
    weapon_rate 40
    stream_distance 300.0
    stream_rate 1000

    also wenn du die gelben kegel wieder haben willst musst du
    DisableInteriorEnterExits(); aus deinem Scirpt entfernen. wenn diese dann immernoch nicht weg sehen ka. vil. erstellst du dir dann einfach eigene kegel. wäre aber auch nur eine notlösung. Da ich nicht weis was du vor hast bzw was für einen server du hast oder machen willst.