Beiträge von FantaTrixxa

    Hi,


    ich hab ein Pastebin Code von einer Map (in dem Code steht nur CreateDynamicObject ... )


    Ich möchte diese Map als Filterscript einfügen. Nur wie mach ich das?


    Mein jetziges Filterscript sieht so aus (es gab keine Warnings bzw. Erros, die Map ist aber Leider nicht im Spiel vorhanden... )


    #include <a_samp>
    #if defined FILTERSCRIPT


    CreateDynamicObject(16192,665.18853760,2921.79956055,43.88856888,0.00000000,0.00000000,108.00000000); //object(cen_bit_01) (1)
    CreateDynamicObject(11533,460.72915649,2898.00512695,16.27879333,0.00000000,0.00000000,301.99829102); //object(sw_bit_04) (10)
    CreateDynamicObject(16251,321.20104980,3108.26660156,12.40697098,0.00000000,1.25000000,202.00000000); //object(n_bit_17) (1)
    CreateDynamicObject(16255,525.37554932,3128.93750000,26.49018860,0.00000000,0.00000000,236.00000000); //object(ne_bit_24) (1)
    CreateDynamicObject(16255,548.39532471,3118.08227539,26.49018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (2)
    CreateDynamicObject(16255,571.02587891,3107.41088867,25.99018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (3)
    CreateDynamicObject(16255,592.42651367,3097.32055664,29.24018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (4)
    CreateDynamicObject(16693,570.22998047,3117.51953125,-6.50403547,0.00000000,0.00000000,224.00000000); //object(n_bit_11b) (1)
    CreateDynamicObject(16694,474.25067139,3167.02441406,3.34229660,0.00000000,0.00000000,224.00000000); //object(n_bit_11c) (1)
    CreateDynamicObject(16255,495.37374878,3146.46899414,29.49018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (5)
    CreateDynamicObject(16255,613.63995361,3222.36645508,44.74018860,0.00000000,0.00000000,335.99734497); //object(ne_bit_24) (6)
    CreateDynamicObject(16255,632.30377197,3263.27001953,36.74018860,0.00000000,0.00000000,335.99487305); //object(ne_bit_24) (7)
    CreateDynamicObject(16255,658.32812500,3320.14282227,29.49018860,0.00000000,0.00000000,335.99487305); //object(ne_bit_24) (8)
    CreateDynamicObject(16116,397.33160400,3093.00756836,10.24071121,0.00000000,0.00000000,78.00000000); //object(des_rockgp2_04) (2)
    CreateDynamicObject(16116,397.85119629,3102.27148438,11.74071121,0.00000000,0.00000000,25.99743652); //object(des_rockgp2_04) (3)
    CreateDynamicObject(16116,383.17828369,3117.80761719,5.99071121,0.00000000,0.00000000,241.99365234); //object(des_rockgp2_04) (4)
    CreateDynamicObject(3991,549.54077148,2938.60498047,11.22721291,0.00000000,0.00000000,324.00000000); //object(gsfreeway7_lan) (1)
    CreateDynamicObject(3991,624.28613281,3062.50585938,11.22721291,0.00000000,0.00000000,143.99783325); //object(gsfreeway7_lan) (3)
    CreateDynamicObject(16255,674.00213623,3040.63574219,29.24018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (9)
    CreateDynamicObject(16255,555.02020264,2858.86938477,29.24018860,0.00000000,0.00000000,235.99731445); //object(ne_bit_24) (10)


    #endif


    Hab sehr viele CreateDynamic Object Zeilen entfernt da es sonst zu viel wäre... bitte hilfe


    (habs schonmal geschafft aber vergessen)

    Hey,


    ich habe ein Laptop mit einem integrierten Headset...
    wenn ich in TS3 gehe, ist mein Headset immer ungültig, egal was ich mache.
    Ich gehe um mein Headset zu aktivieren auf "Aufnahmegeräte" dann Rechtsklick auf "Mikrofon" und dann aktivieren.


    Nur leider ist mein Headset immer ungültig... ich gehe dann oft auf Sprache Testen, manchmal geht es dann. Wird aber danach sofort wieder ungültig.


    Manchmal wird es sogar einfach mitten im Sprechen ungültig.. ich hab keine Ahnung was das ist..


    pls help

    Hi hab 1 Wunsch und 1 Frage^^ Fangen wir mit dem Wunsch an:



    public SetPlayerSpawn(playerid)
    {
    new string[128], rand;
    if(IsPlayerConnected(playerid))
    {
    if(!IsPlayerNPC(playerid))
    {
    if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0)
    {
    if(PlayerInfo[playerid][pAdminDuty] == 1) return 1;
    if(FirstSpawn[playerid] != 1)
    {
    SetRealMoney(playerid, ScriptMoney[playerid]);
    PlayerInfo[playerid][pDeaths] += 1;
    SetPlayerHealth(playerid, 50.0);
    SafeSetPlayerInterior(playerid, 3);
    rand = random(sizeof(gMedicSpawns));
    SafeSetPlayerPos(playerid, gMedicSpawns[rand][0], gMedicSpawns[rand][1], gMedicSpawns[rand][2]); // Warp the player
    SetPlayerFacingAngle(playerid, 0);
    TogglePlayerControllable(playerid, 0);
    GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~w~Du musst dich jetzt ausruhen ...", 5000, 3);
    ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
    if(PlayerInfo[playerid][pRegularRank] == 1)
    {
    SetTimerEx("ReleaseFromHospital", 20000, 0, "i", playerid);
    }
    else if(PlayerInfo[playerid][pRegularRank] == 2)
    {
    SetTimerEx("ReleaseFromHospital", 17500, 0, "i", playerid);
    }
    else if(PlayerInfo[playerid][pRegularRank] == 3)
    {
    SetTimerEx("ReleaseFromHospital", 15000, 0, "i", playerid);
    }
    else if(PlayerInfo[playerid][pAdmin] >= 1)
    {
    SetTimerEx("ReleaseFromHospital", 12500, 0, "i", playerid);
    }
    else if(PlayerInfo[playerid][pAdmin] >= 4)
    {
    SetTimerEx("ReleaseFromHospital", 10000, 0, "i", playerid);
    }
    else
    {
    SetTimerEx("ReleaseFromHospital", 25000, 0, "i", playerid);
    }
    PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
    return 1;
    }
    }
    if(PlayerInfo[playerid][pAdminDuty] == 1 && PlayerInfo[playerid][pAdmin] >= 3)
    {
    SetPlayerSkin(playerid, 294);
    if(PlayerInfo[playerid][pAdmin] >= 6)
    {
    SafeResetPlayerWeapons(playerid);
    SafeGivePlayerWeapon(playerid, 42, 10000);
    SafeGivePlayerWeapon(playerid, 39, 10000);
    SafeGivePlayerWeapon(playerid, 38, 10000);
    SafeGivePlayerWeapon(playerid, 34, 10000);
    SafeGivePlayerWeapon(playerid, 31, 10000);
    SafeGivePlayerWeapon(playerid, 29, 10000);
    SafeGivePlayerWeapon(playerid, 27, 10000);
    SafeGivePlayerWeapon(playerid, 24, 10000);
    SafeGivePlayerWeapon(playerid, 40, 1);
    SafeGivePlayerWeapon(playerid, 10, 1);
    SafeGivePlayerWeapon(playerid, 9, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1000);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 1000);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 1000);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 1000);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 1000);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 1000);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1000);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 1000);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 1000);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 1000);
    SetPlayerHealth(playerid, 99999);
    SetPlayerArmour(playerid, 99999);
    }
    }
    if(Spectate[playerid] != 255)
    {
    SafeSetPlayerPos(playerid, TeleportDest[playerid][0],TeleportDest[playerid][1],TeleportDest[playerid][2]);
    SafeSetPlayerInterior(playerid, Interior[playerid]);
    SetPlayerVirtualWorld(playerid, VirWorld[playerid]);
    if(PlayerInfo[playerid][pAdmin] >= 6)
    {
    if(PlayerInfo[playerid][pAdminDuty] == 1)
    {
    SetPlayerHealth(playerid, SpHealth[playerid]);
    SetPlayerArmour(playerid, SpArmour[playerid]);
    }
    else
    {
    SetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
    SetPlayerArmour(playerid, PlayerInfo[playerid][pArmour]);
    }
    }
    else
    {
    SetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
    SetPlayerArmour(playerid, PlayerInfo[playerid][pArmour]);
    }
    SetPlayerWeapons(playerid);
    SetPlayerToTeamColor(playerid);
    Spectate[playerid] = 255;
    TextDrawShowForPlayer(playerid, Textdraw44);
    TextDrawShowForPlayer(playerid, Textdraw45);
    TextDrawShowForPlayer(playerid, Textdraw55);
    TextDrawShowForPlayer(playerid, Textdraw51[playerid]);
    TextDrawHideForPlayer(playerid, Textdraw54[playerid]);
    if(PlayerInfo[playerid][pWatch] == 1)
    {
    TextDrawShowForPlayer(playerid, Textdraw56);
    TextDrawShowForPlayer(playerid, Textdraw57);
    TextDrawShowForPlayer(playerid, Textdraw58);
    }
    return 1;
    }
    if(PlayerInfo[playerid][pAndro] == 1)
    {
    SendClientMessage(playerid, COLOR_GREY, "US Airlines: Ein Arzt hat dich gerettet!");
    SafeSetPlayerInterior(playerid, PlayerInfo[playerid][pInt]);
    SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pVirWorld]);
    SafeSetPlayerPos(playerid, 315.745,984.969,1958.919);
    return 1;
    }
    if(PlayerInfo[playerid][pJet] == 1)
    {
    SendClientMessage(playerid, COLOR_GREY, "US Airlines: Ein Arzt hat dich gerettet!");
    SafeSetPlayerInterior(playerid, PlayerInfo[playerid][pInt]);
    SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pVirWorld]);
    SafeSetPlayerPos(playerid, 3.7333,23.0483,1199.6012);
    return 1;
    }


    Hier hat mir Firerfan gesagt da muss ich die Variablen beim Tod des Spielers und beim Start setzen.. nur check ich das nicht so ganz. (Das Problem is das wenn ich sterbe spawne ich nicht am KH) Kann mir einer sagen wo ich die Variablen hinmachen muss oder am besten den richtigen Code geben? ^^ (Link: Habe ein "KH-Bug")


    Frage:


    Habe das Dynamic Fraktion Car System als Filterscript eingefügt, und ich musste noch solche "Forwards" in mein GM einfügen damit es richtig funktioniert. Nur Leider bekomm ich diese Warnings:


    C[color=green]:[/color]\Users\Benedikt\Desktop\Eigener Server\Server_1 (Raven[color=red]'s Roleplay)\gamemodes\larp.pwn(1419) : error 017: undefined symbol "PlayerInfo"
    C:\Users\Benedikt\Desktop\Eigener Server\Server_1 (Raven'[/color]s Roleplay)\gamemodes\larp.pwn([color=darkorange]1425[/color]) [color=green]:[/color] error [color=darkorange]017[/color][color=green]:[/color] undefined symbol [color=red]"PlayerInfo"[/color]
    C[color=green]:[/color]\Users\Benedikt\Desktop\Eigener Server\Server_1 (Raven's Roleplay)\gamemodes\larp.pwn([color=darkorange]1431[/color]) [color=green]:[/color] error [color=darkorange]017[/color][color=green]:[/color] undefined symbol [color=red]"PlayerInfo"[/color]


    Compilation aborted.Pawn compiler [color=darkorange]3[/color].[color=darkorange]2[/color].[color=darkorange]3664[/color] Copyright (c) [color=darkorange]1997[/color][color=green]-[/color][color=darkorange]2006[/color], ITB CompuPhase



    [color=darkorange]3[/color] Errors.


    (Link: [ FILTERSCRIPT ] [DYNAMIC] Fraction - Car - System v1.0)



    So hoffe mal das ist nicht zu viel^^ Danke für die Hilfe ^^

    OK danke wenn ich das jetzt mahce und kompilieren will kommen Errors


    C:\Users\Benedikt\Desktop\Eigener Server\Server_1 (Raven's Roleplay)\gamemodes\larp.pwn(1419) : error 017: undefined symbol "PlayerInfo"
    C:\Users\Benedikt\Desktop\Eigener Server\Server_1 (Raven's Roleplay)\gamemodes\larp.pwn(1425) : error 017: undefined symbol "PlayerInfo"
    C:\Users\Benedikt\Desktop\Eigener Server\Server_1 (Raven's Roleplay)\gamemodes\larp.pwn(1431) : error 017: undefined symbol "PlayerInfo"


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Errors.

    Kannst mir bitte richtigen Code geben??? :D


    /edit: Push


    /edit: Jo hätte immernoch gerne den richtigen Code oder hätts gern erklärt was ich jetz machen muss


    /edit: Jetzt helft mir doch mal Bitte -_-


    Habea auch noch einen neuen Bug, wenn ich ins KH gehe ist alles grau und ich flieg vom Himmel

    Hi was ist der Unterschied zischen "CreateObject" und CreateDynamicObject?


    Und, ich habe ein KH gemappt, es dann convertiert und in mein Script eingefügt. Die Objecte sind jetzt da, aber die alten immernoch :S Warum? Hab die alten Objecte alle gelöscht