Beiträge von Tommyx3

    schon wenn die, die amx haben ist es futsch.
    Denn es reicht ja schon die amx um ein server zu eröffnen.
    Von daher würde es nur geringeren höheren schaden verursachen, aber kein sehr hohen.


    Die amx bringt dir nichts wenn du z.b Mysql benutzt usw..
    kannst auch nen schutz einbauen..

    new AChatTime[MAX_PLAYERS];
    COMMAND:a(playerid,params[])
    {
    new grund[31],str[128];
    if(sscanf(params,"s[31]",grund)) return SendClientMessage(playerid,COLOR_GRAU,"BENUTZE: /a [Nachricht]");
    if(pInfo[playerid][pAdmin] > 0){
    format(str,128,"** %s %s: %s **",GetAdminName(playerid),PlayerName(playerid),grund);
    SendAdminMessage(0xFF00EBFF,str);
    }else{
    if(AChatTime[playerid] > gettime())return SendClientMessage(playerid,COLOR_GRAU," Du kannst nur jede 2Sekunden ein Report versenden!");
    format(str,128,"** (/a)dmin Report von %s - Nachricht: %s**",PlayerName(playerid),grund);
    SendAdminMessage(COLOR_LIGHT_RED,str);
    SendClientMessage(playerid,COLOR_GELB,"Report versendet!");
    AChatTime[playerid] = gettime()+3;
    }
    return 1;
    }

    - Newssystem (Für Spieler & Admins)
    - Bugticker
    - Beschwerdensystem
    - Als Admin Spieler bannen, bearbeiten, Admin machen..
    - Passwort, E-Mail ändern
    - Logsystem (Serverlog | Admin-,Spieler-,usw- log)
    - Statistiken (Spieler, Server)
    - Fraktionssystem (Als Leader, User rauswerfen, befördern oder als Admin Fraktion leeren und schließen)

    Hay eine frage, ich habe einen enum und möchte die Anzahl herausbekommen..
    also:

    enum
    {
    item_drogen,
    item_mats,
    item_handy,
    item_radio
    }
    Ich möchte die Anzahl in einer Schleife benutzen.. in diesem fall wäre es 4, kann mir jemand helfen?

    enum
    {
    VEHICLE_FUEL_NONE,
    VEHICLE_FUEL_PETROL,
    VEHICLE_FUEL_DIESEL,
    VEHICLE_FUEL_ELEKTRO,
    VEHICLE_FUEL_KEROSIN
    }


    new VehicleFuelType[] = {
    /*Landstalker*/VEHICLE_FUEL_DIESEL,
    /*Bravura*/VEHICLE_FUEL_PETROL,
    /*Buffalo*/VEHICLE_FUEL_PETROL,
    /*Linerunner*/VEHICLE_FUEL_DIESEL,
    /*Pereniel*/VEHICLE_FUEL_PETROL,
    /*Sentinel*/VEHICLE_FUEL_PETROL,
    /*Dumper*/VEHICLE_FUEL_DIESEL,
    /*Firetruck*/VEHICLE_FUEL_DIESEL,
    /*Trashmaster*/VEHICLE_FUEL_DIESEL,
    /*Stretch*/VEHICLE_FUEL_PETROL,
    /*Manana*/VEHICLE_FUEL_PETROL,
    /*Infernus*/VEHICLE_FUEL_PETROL,
    /*Voodoo*/VEHICLE_FUEL_PETROL,
    /*Pony*/VEHICLE_FUEL_DIESEL,
    /*Mule*/VEHICLE_FUEL_DIESEL,
    /*Cheetah*/VEHICLE_FUEL_PETROL,
    /*Ambulance*/VEHICLE_FUEL_DIESEL,
    /*Leviathan*/VEHICLE_FUEL_KEROSIN,
    /*Moonbeam*/VEHICLE_FUEL_DIESEL,
    /*Esperanto*/VEHICLE_FUEL_PETROL,
    /*Taxi*/VEHICLE_FUEL_PETROL,
    /*Washington*/VEHICLE_FUEL_PETROL,
    /*Bobcat*/VEHICLE_FUEL_DIESEL,
    /*Mr Whoopee*/VEHICLE_FUEL_DIESEL,
    /*BF Injection*/VEHICLE_FUEL_PETROL,
    /*Hunter*/VEHICLE_FUEL_KEROSIN,
    /*Premier*/VEHICLE_FUEL_PETROL,
    /*Enforcer*/VEHICLE_FUEL_DIESEL,
    /*Securicar*/VEHICLE_FUEL_DIESEL,
    /*Banshee*/VEHICLE_FUEL_PETROL,
    /*Predator*/VEHICLE_FUEL_PETROL,
    /*Bus*/VEHICLE_FUEL_DIESEL,
    /*Rhino*/VEHICLE_FUEL_DIESEL,
    /*Barracks*/VEHICLE_FUEL_DIESEL,
    /*Hotknife*/VEHICLE_FUEL_PETROL,
    /*Trailer*/VEHICLE_FUEL_DIESEL,
    /*Previon*/VEHICLE_FUEL_PETROL,
    /*Coach*/VEHICLE_FUEL_DIESEL,
    /*Cabbie*/VEHICLE_FUEL_PETROL,
    /*Stallion*/VEHICLE_FUEL_PETROL,
    /*Rumpo*/VEHICLE_FUEL_PETROL,
    /*RC Bandit*/VEHICLE_FUEL_ELEKTRO,
    /*Romero*/VEHICLE_FUEL_PETROL,
    /*Packer*/VEHICLE_FUEL_DIESEL,
    /*Monster Truck*/VEHICLE_FUEL_PETROL,
    /*Admiral*/VEHICLE_FUEL_PETROL,
    /*Squalo*/VEHICLE_FUEL_PETROL,
    /*Seasparrow*/VEHICLE_FUEL_KEROSIN,
    /*Pizzaboy*/VEHICLE_FUEL_PETROL,
    /*Tram*/VEHICLE_FUEL_PETROL,
    /*Trailer*/VEHICLE_FUEL_DIESEL,
    /*Turismo*/VEHICLE_FUEL_PETROL,
    /*Speeder*/VEHICLE_FUEL_PETROL,
    /*Reefer*/VEHICLE_FUEL_PETROL,
    /*Tropic*/VEHICLE_FUEL_PETROL,
    /*Flatbed*/VEHICLE_FUEL_DIESEL,
    /*Yankee*/VEHICLE_FUEL_DIESEL,
    /*Caddy*/VEHICLE_FUEL_ELEKTRO,
    /*Solair*/VEHICLE_FUEL_PETROL,
    /*Berkley's RC Van*/VEHICLE_FUEL_DIESEL,
    /*Skimmer*/VEHICLE_FUEL_KEROSIN,
    /*PCJ-600*/VEHICLE_FUEL_PETROL,
    /*Faggio*/VEHICLE_FUEL_PETROL,
    /*Freeway*/VEHICLE_FUEL_PETROL,
    /*RC Baron*/VEHICLE_FUEL_PETROL,
    /*RC Raider*/VEHICLE_FUEL_PETROL,
    /*Glendale*/VEHICLE_FUEL_PETROL,
    /*Oceanic*/VEHICLE_FUEL_PETROL,
    /*Sanchez*/VEHICLE_FUEL_PETROL,
    /*Sparrow*/VEHICLE_FUEL_KEROSIN,
    /*Patriot*/VEHICLE_FUEL_PETROL,
    /*Quad*/VEHICLE_FUEL_PETROL,
    /*Coastguard*/VEHICLE_FUEL_PETROL,
    /*Dinghy*/VEHICLE_FUEL_PETROL,
    /*Hermes*/VEHICLE_FUEL_PETROL,
    /*Sabre*/VEHICLE_FUEL_PETROL,
    /*Rustler*/VEHICLE_FUEL_KEROSIN,
    /*ZR-350*/VEHICLE_FUEL_PETROL,
    /*Walton*/VEHICLE_FUEL_DIESEL,
    /*Regina*/VEHICLE_FUEL_PETROL,
    /*Comet*/VEHICLE_FUEL_PETROL,
    /*BMX*/VEHICLE_FUEL_NONE,
    /*Burrito*/VEHICLE_FUEL_PETROL,
    /*Camper*/VEHICLE_FUEL_PETROL,
    /*Marquis*/VEHICLE_FUEL_PETROL,
    /*Baggage*/VEHICLE_FUEL_ELEKTRO,
    /*Dozer*/VEHICLE_FUEL_DIESEL,
    /*Maverick*/VEHICLE_FUEL_KEROSIN,
    /*SAN News Maverick*/VEHICLE_FUEL_KEROSIN,
    /*Rancher*/VEHICLE_FUEL_PETROL,
    /*FBI Rancher*/VEHICLE_FUEL_PETROL,
    /*Virgo*/VEHICLE_FUEL_PETROL,
    /*Greenwood*/VEHICLE_FUEL_PETROL,
    /*Jetmax*/VEHICLE_FUEL_PETROL,
    /*Hotring*/VEHICLE_FUEL_PETROL,
    /*Sandking*/VEHICLE_FUEL_PETROL,
    /*Blista Compact*/VEHICLE_FUEL_PETROL,
    /*Police Maverick*/VEHICLE_FUEL_KEROSIN,
    /*Boxville*/VEHICLE_FUEL_DIESEL,
    /*Benson*/VEHICLE_FUEL_DIESEL,
    /*Mesa*/VEHICLE_FUEL_DIESEL,
    /*RC Goblin*/VEHICLE_FUEL_PETROL,
    /*Hotring Racer*/VEHICLE_FUEL_PETROL,
    /*Hotring Racer*/VEHICLE_FUEL_PETROL,
    /*Bloodring Banger*/VEHICLE_FUEL_PETROL,
    /*Rancher*/VEHICLE_FUEL_PETROL,
    /*Super GT*/VEHICLE_FUEL_PETROL,
    /*Elegant*/VEHICLE_FUEL_PETROL,
    /*Journey*/VEHICLE_FUEL_DIESEL,
    /*Bike*/VEHICLE_FUEL_NONE,
    /*Mountain Bike*/VEHICLE_FUEL_NONE,
    /*Beagle*/VEHICLE_FUEL_KEROSIN,
    /*Cropdust*/VEHICLE_FUEL_KEROSIN,
    /*Stunt*/VEHICLE_FUEL_KEROSIN,
    /*Tanker*/VEHICLE_FUEL_DIESEL,
    /*RoadTrain*/VEHICLE_FUEL_DIESEL,
    /*Nebula*/VEHICLE_FUEL_PETROL,
    /*Majestic*/VEHICLE_FUEL_PETROL,
    /*Buccaneer*/VEHICLE_FUEL_PETROL,
    /*Shamal*/VEHICLE_FUEL_KEROSIN,
    /*Hydra*/VEHICLE_FUEL_KEROSIN,
    /*FCR-900*/VEHICLE_FUEL_PETROL,
    /*NRG-500*/VEHICLE_FUEL_PETROL,
    /*HPV1000*/VEHICLE_FUEL_PETROL,
    /*Cement Truck*/VEHICLE_FUEL_DIESEL,
    /*Tow Truck*/VEHICLE_FUEL_DIESEL,
    /*Fortune*/VEHICLE_FUEL_PETROL,
    /*Cadrona*/VEHICLE_FUEL_PETROL,
    /*FBI Truck*/VEHICLE_FUEL_DIESEL,
    /*Willard*/VEHICLE_FUEL_PETROL,
    /*Forklift*/VEHICLE_FUEL_ELEKTRO,
    /*Tractor*/VEHICLE_FUEL_DIESEL,
    /*Combine*/VEHICLE_FUEL_DIESEL,
    /*Feltzer*/VEHICLE_FUEL_PETROL,
    /*Remington*/VEHICLE_FUEL_PETROL,
    /*Slamvan*/VEHICLE_FUEL_PETROL,
    /*Blade*/VEHICLE_FUEL_PETROL,
    /*Freight*/VEHICLE_FUEL_DIESEL,
    /*Streak*/VEHICLE_FUEL_DIESEL,
    /*Vortex*/VEHICLE_FUEL_PETROL,
    /*Vincent*/VEHICLE_FUEL_PETROL,
    /*Bullet*/VEHICLE_FUEL_PETROL,
    /*Clover*/VEHICLE_FUEL_PETROL,
    /*Sadler*/VEHICLE_FUEL_DIESEL,
    /*Firetruck*/VEHICLE_FUEL_DIESEL,
    /*Hustler*/VEHICLE_FUEL_PETROL,
    /*Intruder*/VEHICLE_FUEL_PETROL,
    /*Primo*/VEHICLE_FUEL_PETROL,
    /*Cargobob*/VEHICLE_FUEL_KEROSIN,
    /*Tampa*/VEHICLE_FUEL_PETROL,
    /*Sunrise*/VEHICLE_FUEL_PETROL,
    /*Merit*/VEHICLE_FUEL_PETROL,
    /*Utility*/VEHICLE_FUEL_DIESEL,
    /*Nevada*/VEHICLE_FUEL_KEROSIN,
    /*Yosemite*/VEHICLE_FUEL_PETROL,
    /*Windsor*/VEHICLE_FUEL_PETROL,
    /*Monster Truck*/VEHICLE_FUEL_PETROL,
    /*Monster Truck*/VEHICLE_FUEL_PETROL,
    /*Uranus*/VEHICLE_FUEL_PETROL,
    /*Jester*/VEHICLE_FUEL_PETROL,
    /*Sultan*/VEHICLE_FUEL_PETROL,
    /*Stratum*/VEHICLE_FUEL_PETROL,
    /*Elegy*/VEHICLE_FUEL_PETROL,
    /*Raindance*/VEHICLE_FUEL_KEROSIN,
    /*RC Tiger*/VEHICLE_FUEL_ELEKTRO,
    /*Flash*/VEHICLE_FUEL_PETROL,
    /*Tahoma*/VEHICLE_FUEL_PETROL,
    /*Savanna*/VEHICLE_FUEL_PETROL,
    /*Bandito*/VEHICLE_FUEL_PETROL,
    /*Freight*/VEHICLE_FUEL_DIESEL,
    /*Trailer*/VEHICLE_FUEL_DIESEL,
    /*Kart*/VEHICLE_FUEL_PETROL,
    /*Mower*/VEHICLE_FUEL_PETROL,
    /*Duneride*/VEHICLE_FUEL_PETROL,
    /*Sweeper*/VEHICLE_FUEL_PETROL,
    /*Broadway*/VEHICLE_FUEL_PETROL,
    /*Tornado*/VEHICLE_FUEL_PETROL,
    /*AT-400*/VEHICLE_FUEL_KEROSIN,
    /*DFT-30*/VEHICLE_FUEL_DIESEL,
    /*Huntley*/VEHICLE_FUEL_PETROL,
    /*Stafford*/VEHICLE_FUEL_PETROL,
    /*BF-400*/VEHICLE_FUEL_PETROL,
    /*Newsvan*/VEHICLE_FUEL_DIESEL,
    /*Tug*/VEHICLE_FUEL_PETROL,
    /*Trailer*/VEHICLE_FUEL_DIESEL,
    /*Emperor*/VEHICLE_FUEL_PETROL,
    /*Wayfarer*/VEHICLE_FUEL_PETROL,
    /*Euros*/VEHICLE_FUEL_PETROL,
    /*Hotdog*/VEHICLE_FUEL_DIESEL,
    /*Club*/VEHICLE_FUEL_PETROL,
    /*Trailer*/VEHICLE_FUEL_DIESEL,
    /*Trailer*/VEHICLE_FUEL_DIESEL,
    /*Andromada*/VEHICLE_FUEL_KEROSIN,
    /*Dodo*/VEHICLE_FUEL_KEROSIN,
    /*RC Cam*/VEHICLE_FUEL_ELEKTRO,
    /*Launch*/VEHICLE_FUEL_PETROL,
    /*Police Car (LSPD)*/VEHICLE_FUEL_PETROL,
    /*Police Car (SFPD)*/VEHICLE_FUEL_PETROL,
    /*Police Car (LVPD)*/VEHICLE_FUEL_PETROL,
    /*Police Ranger*/VEHICLE_FUEL_DIESEL,
    /*Picador*/VEHICLE_FUEL_DIESEL,
    /*S.W.A.T. Van*/VEHICLE_FUEL_DIESEL,
    /*Alpha*/VEHICLE_FUEL_PETROL,
    /*Phoenix*/VEHICLE_FUEL_PETROL,
    /*Glendale*/VEHICLE_FUEL_PETROL,
    /*Sadler*/VEHICLE_FUEL_DIESEL,
    /*Luggage Trailer*/VEHICLE_FUEL_ELEKTRO,
    /*Luggage Trailer*/VEHICLE_FUEL_ELEKTRO,
    /*Stair Trailer*/VEHICLE_FUEL_ELEKTRO,
    /*Boxville*/VEHICLE_FUEL_DIESEL,
    /*Farm Plow*/VEHICLE_FUEL_ELEKTRO,
    /*Utility Trailer*/VEHICLE_FUEL_ELEKTRO
    };