Beiträge von Freshmatics

    #include <a_samp>
    #include <dcmd>


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }


    //==================================================================================================
    //========================================GANGAUTOHAUS/ FRAKCARS ==================================
    #define FACTION_CAR_FILE ("Fraktionsautos.cfg")//Datei wo die gesamten Fraktionsfahrzeuge ge3chert werden sollen!
    #define MAX_FACTION_CARS (990)//Die Maximale anzahl von Fraktionsfahrzeugen!
    #define NEEDED_ADMINLEVEL (2000)//Das benötigte Adminlevel um Fraktionfahrzeuge zu fahren, ab/-aufschließen, umzuparken, entfernen, erstellen.
    #define MAX_FACTIONS (30)//Die Maximale anzahl von Fraktionen aus deinem Script!
    #define MAX_BUY (40)//Die Maximale anzahl von Fahrzeugen die eine Fraktion kaufen darf!


    #define FACTION_CARS_TUNEABLE



    #if defined FACTION_CARS_LOCKABLE
    #include <ForAllPlayers>


    #define SpamLimit (2000)
    #define SpamLimit2 (6900)
    #define FACTION_COL_GREY (0xAFAFAFAA)
    #define FACTION_COL_YELLOW (0xFFFF00FF)
    #define FactionCars
    #define FactionCars
    forward LoadFactionCars();
    forward SaveFactionCars(bool:destroy);
    forward LockFactionCarDoors();
    forward DestroyAndCreateFactionCar(fc);
    forward RemoveComponent(vehicleid,componentid);
    forward ChangePaintjob(vehicleid,paintjobid);
    forward ChangeColor(vehicleid,color1,color2);
    forward RespawnFactionBuylist();


    new fCarName[][]={
    "Landstalker","Bravura","Buffalo","Linerunner","Perrenial","Sentinel",
    "Dumper","Firetruck","Trashmaster","Stretch","Manana","Infernus",
    "Voodoo","Pony","Mule","Cheetah","Ambulance","Leviathan","Moonbeam",
    "Esperanto","Taxi","Washington","Bobcat","Whoopee","BF Injection",
    "Hunter","Premier","Enforcer","Securicar","Banshee","Predator","Bus",
    "Rhino","Barracks","Hotknife","Trailer","Previon","Coach","Cabbie",
    "Stallion","Rumpo","RC Bandit","Romero","Packer","Monster","Admiral",
    "Squalo","Seasparrow","Pizzaboy","Tram","Trailer","Turismo","Speeder",
    "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair", "Berkley's RC Van",
    "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale",
    "Oceanic","Sanchez", "Sparrow", "Patriot", "Quad", "Coastguard", "Dinghy",
    "Hermes", "Sabre", "Rustler", "ZR-350", "Walton", "Regina", "Comet", "BMX",
    "Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick", "News Chopper",
    "Rancher", "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring", "Sandking",
    "Blista Compact", "Police Maverick", "Boxvillde", "Benson", "Mesa", "RC Goblin",
    "Hotring Racer A", "Hotring Racer B", "Bloodring Banger", "Rancher", "Super GT",
    "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stunt",
    "Tanker", "Roadtrain", "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra",
    "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Tow Truck", "Fortune",
    "Cadrona", "FBI Truck", "Willard", "Forklift", "Tractor", "Combine", "Feltzer",
    "Remington", "Slamvan", "Blade", "Freight", "Streak", "Vortex", "Vincent",
    "Bullet", "Clover", "Sadler", "Firetruck", "Hustler", "Intruder", "Primo",
    "Cargobob", "Tampa", "Sunrise", "Merit", "Utility", "Nevada", "Yosemite",
    "Windsor", "Monster", "Monster", "Uranus", "Jester", "Sultan", "Stratum",
    "Elegy", "Raindance", "RC Tiger", "Flash", "Tahoma", "Savanna", "Bandito",
    "Freight Flat", "Streak Carriage", "Kart", "Mower", "Dune", "Sweeper",
    "Broadway","Tornado","AT-400","DFT-30","Huntley","Stafford","BF-400",
    "News Van","Tug","Trailer","Emperor","Wayfarer","Euros","Hotdog","Club",
    "Freight Box","Trailer","Andromada","Dodo","RC Cam","Launch","Police Car",
    "Police Car","Police Car","Police Ranger","Picador","S.W.A.T","Alpha",
    "Phoenix","Glendale Shit","Sadler Shit","Luggage","Luggage","Stairs","Boxville",
    "Tiller","Utility Trailer"
    };
    enum fBuylist{
    fbVehid,
    Float:fbX,
    Float:fbY,
    Float:fbZ,
    Float:fbA,
    fbPrice,
    fbCarid,
    Text3D:fbLabel
    };
    new FactionBuylist[][fBuylist] = {
    {409,2809.2407,2591.4727,10.2670,45.0406,1000000},//Limo
    {411,2803.8850,2638.3367,10.5474,208.0673,400000},//infi
    {560,2806.6479,2633.0139,10.5301,205.5252,150000},//sultan
    {412,2809.3193,2627.2603,10.6602,205.3533,50000},//voodoo
    {551,2797.2939,2638.4636,10.6205,205.9698,60000},//merit
    {451,2800.2388,2632.3491,10.7018,205.2567,50000},//Turismo
    {419,2803.2078,2626.2551,10.6178,205.0044,60000},//esperanto
    {467,2796.7737,2626.7510,10.5395,209.3019,50000},//Oceanic
    {603,2793.6660,2632.8435,10.6679,201.5880,350000},//Phoenix
    {580,2790.5339,2638.6252,10.6193,207.1720,300000},//Stafford
    {418,2789.4448,2627.4524,10.9159,207.5537,70000},//moonbeam
    {489,2786.2551,2633.3818,10.9693,207.0808,95000},//Rancher
    {482,2783.2520,2639.5498,10.9479,205.3567,105000},//Burrito
    {470,2777.6633,2638.7817,10.8141,203.7399,150000},//Patriot
    {445,2780.1357,2632.9875,10.6950,205.4132,65999},//Admiral
    {480,2783.1157,2627.2261,10.5804,206.1883,200000},//Comet
    {567,2776.2273,2627.0923,10.6898,201.7901,85000},//Savanna
    {575,2773.4026,2633.3862,10.4239,206.6292,50000},//Broadway
    {565,2770.6355,2639.8335,10.4326,205.5786,45000},//Flash
    {535,2769.9946,2627.5547,10.5798,205.7442,35999},//Slamwan
    {491,2767.0391,2633.4260,10.6064,204.9495,50000},//Virgo
    {555,2764.0752,2639.5774,10.5052,205.7986,70000},//Windsor
    {545,2757.5056,2639.3545,10.6595,202.7056,80000},//Hustler
    {521,2801.2610,2584.3152,10.3835,47.0117,40000},//FCR-900
    {463,2803.0894,2579.3125,10.3385,47.5597,25000},//Freeway
    {468,2804.7930,2580.9817,10.4839,44.6914,25000},//Sanchez
    {461,2806.1641,2582.5828,10.3831,63.6891,40000},//PCJ-600
    {487,2750.8496,2630.7129,11.0149,222.3642,1000000}//Heli
    };


    new Float:FactionBuySpawn[4]={2819.2473,2606.9507,10.8203,49.6717};
    enum fCar{
    fCarid,
    fVehid,
    Float:fPos[4],
    fCol[2],
    fFaction[5],
    fTuning[14],
    fPrice,
    fTowed
    #if defined FACTION_CARS_LOCKABLE
    bool:fLock
    };
    new FactionCars[MAX_FACTION_CARS][fCar];
    #if defined FACTION_CARS_LOCKABLE
    new FactionCarsTimer;
    new BuylistRespawner;
    new SaveFactionCarsTimer;
    new LastRespawned[MAX_FACTIONS];
    #endif



    Das #endif kommt als Letzes Unten.


    Muss das vllt.wo anders hin?

    C:\Users\Pfadi\Desktop\ Project- Kopie\gamemodes\win1.pwn(56) : error 074: #define pattern must start with an alphabetic character
    C:\Users\Pfadi\Desktop\Project - Kopie\gamemodes\win1.pwn(20794) : error 017: undefined symbol "GetPlayerFaction"
    C:\Users\Pfadi\Desktop\ Project- Kopie\gamemodes\win1.pwn(20828) : error 017: undefined symbol "NEEDED_ADMINLEVEL"
    C:\Users\Pfadi\Desktop\Project - Kopie\gamemodes\win1.pwn(20841) : warning 209: function "OnPlayerCommandText" should return a value
    C:\Users\Pfadi\Desktop\ Project- Kopie\gamemodes\win1.pwn(20842) : warning 225: unreachable code
    C:\Users\Pfadi\Desktop\ Project- Kopie\gamemodes\win1.pwn(20849) : error 078: function uses both "return" and "return <value>"
    C:\Users\Pfadi\Desktop\Project - Kopie\gamemodes\win1.pwn(20852) : error 017: undefined symbol "NEEDED_ADMINLEVEL"
    C:\Users\Pfadi\Desktop\Project - Kopie\gamemodes\win1.pwn(20855) : error 017: undefined symbol "string"
    C:\Users\Pfadi\Desktop\ Project- Kopie\gamemodes\win1.pwn(20855) : error 017: undefined symbol "string"
    C:\Users\Pfadi\Desktop\Project - Kopie\gamemodes\win1.pwn(20855) : error 029: invalid expression, assumed zero
    C:\Users\Pfadi\Desktop\ Project- Kopie\gamemodes\win1.pwn(20855) : fatal error 107: too many error messages on one line


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



    9 Errors.


    Hey Habe 9 Errors weis aber nicht wieso


    bitte um schnelle hilfe.


    Gruß Domenik


    /push Name Geändert da es ein Project ist was noch nicht fertig ist

    Hallo Com,



    Ich Bin auf der suche nach einen fraktions autohaus.ich bin wirklich zu doof dafür eins zu scripten deswegen frage ich hier.


    ich biete maximal 20€ per paypal wenn es mir einer scripten würde


    Kontakt:


    Hier
    Skype: der_huster01
    Oder auf Teamspeak.


    wenn es geht so gut wie bug frei.


    Gruß Domenik

    Morgen Com,



    Mein tor geht auf aber nicht zu:


    ocmd:open(playerid,params[])
    {
    if(!IsPlayerInRangeOfPoint(playerid,10,987, 1264.3000488281, -1839.5, 12.39999961853))
    {
    MoveObject(tor1, 1264.3000488281, -1839.5, 12.39999961853-10,5);
    }
    else
    {
    SendClientMessage(playerid,0xFF0019FF,"Du Bist nicht in der Nähe Vom Tor");
    }
    return 1;
    }
    ocmd:close(playerid,params[])
    {
    if(!IsPlayerInRangeOfPoint(playerid,10,987, 1264.3000488281, -1839.5, 12.39999961853))
    {
    MoveObject(tor1,987, 1264.3000488281, -1839.5, 12.39999961853,5);
    }
    else
    {
    SendClientMessage(playerid,0xFF0019FF,"Du Bist nicht in der Nähe Vom Tor");
    }
    return 1;


    Und hier 2 Errors:



    C:\Users\Mark\Desktop\Neuer Ordner\gamemodes\fresh.pwn(133) : warning 202: number of arguments does not match definition
    C:\Users\Mark\Desktop\Neuer Ordner\gamemodes\fresh.pwn(145) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Warnings.



    Sry ich weis echt nicht weiter ;(

    C:\Users\Mark\Desktop\Neuer Ordner\gamemodes\fresh.pwn(179) : warning 202: number of arguments does not match definition
    C:\Users\Mark\Desktop\Neuer Ordner\gamemodes\fresh.pwn(191) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Warnings.



    2 Errors