Beiträge von [IRP]Haui_CH

    Neh steht ned im OnGameModeInit
    //Fraktionen
    #define fraktname1 "Medic"
    #define fraktname2 "LSPD"
    #define fraktname3 "FBI"
    #define fraktname4 "Bundeswehr"
    #define fraktname5 "Los Santos Ordnungsamt"
    #define fraktname6 "Los Santos Fahrschule"
    #define fraktname7 "Terroristen"
    #define fraktname8 "Hitman"
    #define fraktname9 "Yakuza"
    #define fraktname10 "Traiden"
    #define fraktname11 "Red Soldiers"
    #define fraktname12 "La Costra Nostra"
    #define fraktname13 "Rolling Height Ballas"
    #define fraktname14 "Grove Street Families"
    #define fraktname15 "Los Santos Vagos"
    #define fraktname16 "Varrios Los Aztecas"
    #define fraktname17 "San Fierro Rifas"
    #define fraktname18 "Regierung"
    #define fraktname19 "SAN News"
    #define fraktname20 "Taxi"


    //Jobnamen
    #define jobname1 "Stadtreinigung"
    #define jobname2 "Pizza Boy"
    #define jobname3 "Drogendealer"
    #define jobname4 "Detektiv"
    #define jobname5 "Anwalt"
    #define jobname6 "Mechaniker"
    #define jobname7 "Taschendieb"
    #define jobname8 "Autodieb"
    #define jobname9 "Müllmann"
    #define jobname10 "Hure"


    //Medic
    #define medicspawn 1142.3062,-1327.5186,13.6287
    //LSPD
    #define lspdspawn 254.8491,79.1805,1003.6406
    //FBI
    #define fbispawn 254.8491,79.1805,1003.6406
    //Los Santos Ordnungsamt
    #define oamtspawn 918.4932,-1252.3275,16.2109
    //Fahrschule
    #define fahrschulspawn 1084.4570,-1234.8286,16.0852
    //SanNews
    #define sannewsspawn 333.8344,-1506.7856,36.0391
    //RedSoldiers
    #define redsoldierspawn 689.2744,-1276.6854,13.5591
    //Vagos
    #define vagosspawn 2186.3328,-998.2936,66.4688
    //GroveStreet
    #define gsfspawn 2495.5452,-1688.5946,13.9040
    //Ballas
    #define ballasspawn 2000.4672,-1114.2272,27.1250
    //Yakuza
    #define yakuzaspawn 1043.6317,1011.6219,11.0000
    //Hitman
    #define hitmanspawn 299.6822,-1155.5525,80.9099
    //Taxi
    #define taxispawn 1754.8770,-1893.9900,13.5568
    ///New///
    new Text3D:trainlabel;
    new pdgate;








    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" SwissRoleplay by Haui_CH");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" SwissRoleplay by Haui_CH");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {



    DisableInteriorEnterExits();
    UsePlayerPedAnims();
    SetGameModeText("Switzerland");

    Ok Sry :D
    //Fraktionen
    #define fraktname1 "Medic"
    #define fraktname2 "LSPD"
    #define fraktname3 "FBI"
    #define fraktname4 "Bundeswehr"
    #define fraktname5 "Los Santos Ordnungsamt"
    #define fraktname6 "Los Santos Fahrschule"
    #define fraktname7 "Terroristen"
    #define fraktname8 "Hitman"
    #define fraktname9 "Yakuza"
    #define fraktname10 "Traiden"
    #define fraktname11 "Red Soldiers"
    #define fraktname12 "La Costra Nostra"
    #define fraktname13 "Rolling Height Ballas"
    #define fraktname14 "Grove Street Families"
    #define fraktname15 "Los Santos Vagos"
    #define fraktname16 "Varrios Los Aztecas"
    #define fraktname17 "San Fierro Rifas"
    #define fraktname18 "Regierung"
    #define fraktname19 "SAN News"
    #define fraktname20 "Taxi"


    //Jobnamen
    #define jobname1 "Stadtreinigung"
    #define jobname2 "Pizza Boy"
    #define jobname3 "Drogendealer"
    #define jobname4 "Detektiv"
    #define jobname5 "Anwalt"
    #define jobname6 "Mechaniker"
    #define jobname7 "Taschendieb"
    #define jobname8 "Autodieb"
    #define jobname9 "Müllmann"
    #define jobname10 "Hure"


    //Medic
    #define medicspawn 1142.3062,-1327.5186,13.6287
    //LSPD
    #define lspdspawn 254.8491,79.1805,1003.6406
    //FBI
    #define fbispawn 254.8491,79.1805,1003.6406
    //Los Santos Ordnungsamt
    #define oamtspawn 918.4932,-1252.3275,16.2109
    //Fahrschule
    #define fahrschulspawn 1084.4570,-1234.8286,16.0852
    //SanNews
    #define sannewsspawn 333.8344,-1506.7856,36.0391
    //RedSoldiers
    #define redsoldierspawn 689.2744,-1276.6854,13.5591
    //Vagos
    #define vagosspawn 2186.3328,-998.2936,66.4688
    //GroveStreet
    #define gsfspawn 2495.5452,-1688.5946,13.9040
    //Ballas
    #define ballasspawn 2000.4672,-1114.2272,27.1250
    //Yakuza
    #define yakuzaspawn 1043.6317,1011.6219,11.0000
    //Hitman
    #define hitmanspawn 299.6822,-1155.5525,80.9099
    //Taxi
    #define taxispawn 1754.8770,-1893.9900,13.5568
    ///New///
    new Text3D:trainlabel;
    new pdgate;

    Guten Tag Community


    Ich habe folgendes Problem mit meinem Script.


    Fehlermeldungen:


    C:\Users\Haui\Desktop\Test24.pwn(356) : error 017: undefined symbol "pdgate"
    C:\Users\Haui\Desktop\Test24.pwn(1245) : error 017: undefined symbol "pdgate"


    Was ich gemacht habe:


    PHP
    #include <a_samp> 
    #include <ocmd>


    PHP
    new Text3D:trainlabel; 
    new pdgate;


    PHP
    pdgate=CreateObject(980, 1550.8115234375, -1627.4191894531, 15.156204223633, 0, 0, 90);//Airportgate


    PHP
    ocmd:pgate(playerid,params[]) 
    { 
    if(IsPlayerInRangeOfPoint(playerid,10,1550.8115234375, -1627.4191894531, 15.156204223633)) 
    MoveObject(pdgate,1550.8115234375, -1627.4191894531, 15.156204223633-10,5); 
    return 1; 
    }


    Bin noch ein anfänger bitte um Hilfe :D


    Danke schon mal im vorraus.




    Mfg


    Haui_CH