Beiträge von EliteBread

    Suche ein Syteam was bei Einlogen das Pw abfragt oder beim ersten mal kommen so was fragt wie Wann bist du geboren, Mänlich/weiblich .
    Das alles soll in eine Fenster und nach Dreimal falsch eingeben wird man gekickt Gibt es Sowas...

    //=====================================Duty=====================================
    if(strcmp(cmd, "/lspd", true) == 0)
    {
    if(OnDuty[playerid]==0)
    {
    GetPlayerName(playerid, sendername, sizeof(sendername));
    if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
    {
    if (PlayerToPoint(6, playerid,254.3112,77.4773,1003.6406) || PlayerInfo[playerid][pLocal] != 255)
    {
    PreviousSkin[playerid] = GetPlayerSkin(playerid);
    format(string, sizeof(string), "* %s begibt sich nun als Polizist in den Dienst.", sendername);
    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    if(PlayerInfo[playerid][pSex] == 1)
    {
    if(PlayerInfo[playerid][pRank] == 1) { SetPlayerSkin(playerid, 71); }
    else if(PlayerInfo[playerid][pRank] == 2) { SetPlayerSkin(playerid, 280); }
    else if(PlayerInfo[playerid][pRank] == 3) { SetPlayerSkin(playerid, 265); }
    else if(PlayerInfo[playerid][pRank] == 4) { SetPlayerSkin(playerid, 267); }
    else if(PlayerInfo[playerid][pRank] == 5) { SetPlayerSkin(playerid, 282); }
    else if(PlayerInfo[playerid][pRank] == 6) { SetPlayerSkin(playerid, 283); }


    }
    else if(PlayerInfo[playerid][pSex] == 2)
    {
    SetPlayerSkin(playerid, 192);
    }
    GivePlayerWeapon(playerid, 3, 1);
    GivePlayerWeapon(playerid, 24, 200);
    GivePlayerWeapon(playerid, 29, 500);
    GivePlayerWeapon(playerid, 25, 250);
    GivePlayerWeapon(playerid, 41, 1500);
    SetPlayerHealth(playerid, 100);
    SetPlayerArmour(playerid, 100);
    SetPlayerColor(playerid, COLOR_LIGHTBLUE);
    OnDuty[playerid] = 1;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Du bist kein Beamter!");
    }
    }
    else if(OnDuty[playerid] == 1)
    {
    if (PlayerToPoint(6, playerid,254.3112,77.4773,1003.6406) || PlayerInfo[playerid][pLocal] != 255)
    {
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* Beamter %s legt seine Uniform in seinen Spint.", sendername);
    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    SetPlayerSkin(playerid, PreviousSkin[playerid]);
    ResetPlayerWeapons(playerid);
    SetPlayerToTeamColor(playerid);
    SetPlayerArmour(playerid, 0);
    OnDuty[playerid] = 0;
    }
    }
    return 1;
    }

    Hallo User wie kan ma es scripten das wen man /lspd , /fbi , /army /únd /medic eimal den skin kriegt wen man den befehl eigibit und beim erneuten eintippen sein zivi ski kriegt
    im moment hat ma halt z.b den fbi skin und wen man duty geht kriget man ur die waffen und der name färbt sich ????



    MFG
    CapCon

    Hallo Forum
    wie kann man einbefehl machen für die frakcars der /flock heißt zum abschlißen der cars


    Z.B
    Groove(id:13)
    will ihr car aufschließen und nur für sich!!!
    egen wie muss man ja was damit IsAGrooveCar machn!!


    P.S ich habe im mome in jeden frak car Eject Person und das soll mit /flock für die nicht gang mitgleider aufheben




    MFg CAPCON

    //=====================================Duty=====================================
    if(strcmp(cmd, "/lspd", true) == 0)
    {
    if(OnDuty[playerid]==0)
    {
    GetPlayerName(playerid, sendername, sizeof(sendername));
    if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
    {
    if (PlayerToPoint(6, playerid,254.3112,77.4773,1003.6406) || PlayerInfo[playerid][pLocal] != 255)
    {
    PreviousSkin[playerid] = GetPlayerSkin(playerid);
    format(string, sizeof(string), "* %s begibt sich nun als Polizist in den Dienst.", sendername);
    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    if(PlayerInfo[playerid][pSex] == 1)
    {
    if(PlayerInfo[playerid][pRank] == 1) { SetPlayerSkin(playerid, 71); }
    else if(PlayerInfo[playerid][pRank] == 2) { SetPlayerSkin(playerid, 280); }
    else if(PlayerInfo[playerid][pRank] == 3) { SetPlayerSkin(playerid, 265); }
    else if(PlayerInfo[playerid][pRank] == 4) { SetPlayerSkin(playerid, 267); }
    else if(PlayerInfo[playerid][pRank] == 5) { SetPlayerSkin(playerid, 282); }
    else if(PlayerInfo[playerid][pRank] == 6) { SetPlayerSkin(playerid, 283); }


    }
    else if(PlayerInfo[playerid][pSex] == 2)
    {
    SetPlayerSkin(playerid, 192);
    }
    GivePlayerWeapon(playerid, 3, 1);
    GivePlayerWeapon(playerid, 24, 200);
    GivePlayerWeapon(playerid, 29, 500);
    GivePlayerWeapon(playerid, 25, 250);
    GivePlayerWeapon(playerid, 41, 1500);
    SetPlayerHealth(playerid, 100);
    SetPlayerArmour(playerid, 100);
    SetPlayerColor(playerid, COLOR_LIGHTBLUE);
    OnDuty[playerid] = 1;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, "Du bist kein Beamter!");
    }
    }
    else if(OnDuty[playerid] == 1)
    {
    if (PlayerToPoint(6, playerid,254.3112,77.4773,1003.6406) || PlayerInfo[playerid][pLocal] != 255)
    {
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* Beamter %s legt seine Uniform in seinen Spint.", sendername);
    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    SetPlayerSkin(playerid, PreviousSkin[playerid]);
    ResetPlayerWeapons(playerid);
    SetPlayerToTeamColor(playerid);
    SetPlayerArmour(playerid, 0);
    OnDuty[playerid] = 0;
    }
    }
    return 1;

    Hallo Leute
    Ich würde gerne was so machen das wen man durch eine waffe oder Explosion stribt ein totenkopf für 1 minute kommt und die cam des spielers so lange auf den Totekopf gerichtet ist
    weil ich habe schon ein /wiederbeleb drin aber wen keine totenköpfe da sind get es nicht




    MFG CapCon

    unter public OnPlayerSpawn(playerid)


    if(PlayerInfo[playerid][pTot] == 1 && FirstSpawn[playerid] == 0)
    {
    SendClientMessage(playerid, COLOR_LIGHTRED, "Weil du Gestorben bist bistt du auf den Friedhof");
    TogglePlayerControllable(playerid, 0);
    ResetPlayerWeapons(playerid);
    SetPlayerPos(playerid,815.1574,-1101.5314,25.7896);
    SetPlayerInterior(playerid, 0);
    SetPlayerVirtualWorld(playerid,0);
    UnFreezePlayer(playerid);
    return 1;
    }


    Wenn du Stribst dan Spawste da

    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(4155) : error 029: invalid expression, assumed zero


    if(Desktop_Timer_Started[playerid] == 1) { <KillTimer(Desktop_Timer[playerid]); }


    Was ist das Falsch ???

    if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3||PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 21||PlayerInfo[playerid][pLeader] == 21)
    {
    SetTimer("GateClose", 3000, 0);
    SetObjectRot(MEDICTor,1198.818359375, -1353.837890625, 13.202307701111, 5);
    SendClientMessage(playerid, COLOR_GRAD1,"** Du hast das Tor geöffnet, es schließt sich automatisch wieder!");
    }
    else


    {
    SendClientMessage(playerid, COLOR_GRAD1, "** Du bist kein Beamter!");
    }
    }
    if(PlayerToPoint(6.0, playerid, 1195.4270,-1296.3477,13.3836))
    {
    if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3||PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 21||PlayerInfo[playerid][pLeader] == 21)
    {
    SetTimer("GateClose", 3000, 0);
    SetObjectRot(MEDICTor1,1198.9619140625, -1296.265625, 13.183508872986, 5);
    SendClientMessage(playerid, COLOR_GRAD1,"** Du hast das Tor geöffnet, es schließt sich automatisch wieder!");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, "** Du bist kein Beamter!");
    }
    }


    public GateClose()
    {
    MoveObject(LSPDTOR,1588.904296875, -1638.0607910156, 12.758577346802, 1.0);
    MoveObject(SFPDTOR,-1631.4951171875, 688.35559082031, 8.7092628479004, 1.0);
    MoveObject(Hitmantor1,2527.9396972656, -1316.2072753906, 1033.0587158203, 1.0);
    MoveObject(LSPDTUR,250.54026794434, 62.3515625, 1004.6530151367, 1.0);
    MoveObject(LSPDTUR1,246.48791503906, 72.480041503906, 1004.6530151367, 1.0);
    MoveObject(FBITUR,253.17106628418, 109.00959014893, 1004.2311401367 , 1.0);
    MoveObject(FBITUR1,239.41581726074, 117.62347412109, 1004.2310791016 , 1.0);
    MoveObject(OAMTTOR,923.5419921875, -1216.17578125, 19.60000038147, 1.0);
    MoveObject(ARMYTOR,96.83000183,1920.43835449,17.14513397, 1.0);
    MoveObject(ARMYTOR1,209.94999695,1875.58898926,12.14695930, 1.0);
    SetObjectRot(MEDICTor,1198.818359375, -1353.837890625, 13.202307701111, 1.0);
    SetObjectRot(MEDICTor1,1198.9619140625, -1296.265625, 13.183508872986, 1.0);
    MoveObject(ALKATOR,-2874.9501953125, 1987.3408203125, 1.0116875171661, 1.0);
    MoveObject(FBITor,-1770.193359375, 980.63336181641, 22.709495544434, 1.0);


    return 1;
    }



    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(14475) : warning 202: number of arguments does not match definition
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(14489) : warning 202: number of arguments does not match definition
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(32322) : warning 202: number of arguments does not match definition
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(32323) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Header size: 9576 bytes
    Code size: 1486808 bytes
    Data size: 2779924 bytes
    Stack/heap size: 16384 bytes; estimated max. usage=4078 cells (16312 bytes)
    Total requirements: 4292692 bytes


    4 Warnings.

    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(14475) : error 017: undefined symbol "RotateObject"
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(14489) : error 017: undefined symbol "RotateObject"
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(32322) : error 017: undefined symbol "RotateObject"
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(32323) : error 017: undefined symbol "RotateObject"
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(12375) : warning 204: symbol is assigned a value that is never used: "MEDICTor"
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(12376) : warning 204: symbol is assigned a value that is never used: "MEDICTor1"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.


    was ist das ??

    Hallo leute
    Ich habe mal ne Frage wie kann ich leute anstad zu Freezen ejecten
    habe das gefunde


    RemovePlayerFromVehicle(playerid);


    aber dan kommt dieses beim Compilen


    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(9507) : warning 217: loose indentation
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Header size: 9556 bytes
    Code size: 1486608 bytes
    Data size: 2782588 bytes
    Stack/heap size: 16384 bytes; estimated max. usage=4078 cells (16312 bytes)
    Total requirements: 4295136 bytes


    1 Warning.

    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(8729) : error 029: invalid expression, assumed zero
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(8729) : warning 215: expression has no effect
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(8729) : error 001: expected token: ";", but found ")"
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(8729) : error 029: invalid expression, assumed zero
    C:\Users\FloCrow\Desktop\SAMP Server\gamemodes\GeG.pwn(8729) : fatal error 107: too many error messages on one line


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



    4 Errors.






    if (PlayerToPoint(5.0, playerid,2542.4968,-1304.5408,1025.0743)) && (PlayerInfo[playerid][pMember] == 8 ||PlayerInfo[playerid][pLeader] == 8 ))