Jump to content

Yuun

Member
  • Posts

    153
  • Joined

  • Last visited

Everything posted by Yuun

  1. salut! dupa relog nu mai functioneaza comanda.
  2. #define GetVehicleName(%0) vehNames[%0 - 400] vehNames[212][] = { "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", "Boxville", "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", "Sadler", "Luggage", "Luggage", "Stairs", "Boxville", "Tiller", "Utility Trailer" }; astea s functiile
  3. salut ! nu inteleg eroarea asta din consola [09:38:04] [connection] incoming connection: 127.0.0.1:49620 id: 0 [09:38:04] [join] Luca has joined the server (0:127.0.0.1) [09:40:27] [debug] [09:40:27] [debug] Parameter count corrections: [09:40:27] [debug] [09:40:27] [debug] The 1st mangled argments (e.g. `<1073741823 arguments>`) below should read `<2 arguments>` [09:40:27] [debug] [09:40:27] [debug] Run time error 4: "Array index out of bounds" [09:40:27] [debug] Attempted to read/write array element at negative index -399 [09:40:27] [debug] AMX backtrace: [09:40:27] [debug] #0 0003f5b8 in ?? (0, 18017452, 0) in main.amx [09:40:27] [debug] #1 00025f24 in ?? (0, 18017436, 0) in main.amx [09:40:27] [debug] #2 000288c0 in ?? (0, 18017436) in main.amx [09:40:27] [debug] #3 00016214 in public OnPlayerCommandText (0, 18017436) in main.amx [09:40:42] [debug] [09:40:42] [debug] Parameter count corrections: [09:40:42] [debug] [09:40:42] [debug] The 1st mangled argments (e.g. `<1073741823 arguments>`) below should read `<2 arguments>` [09:40:42] [debug] [09:40:42] [debug] Run time error 4: "Array index out of bounds" [09:40:42] [debug] Attempted to read/write array element at negative index -399 [09:40:42] [debug] AMX backtrace: [09:40:42] [debug] #0 0003f12c in ?? (0, 18017456, 0) in main.amx [09:40:42] [debug] #1 00025f24 in ?? (0, 18017436, 0) in main.amx [09:40:42] [debug] #2 000288c0 in ?? (0, 18017436) in main.amx [09:40:42] [debug] #3 00016214 in public OnPlayerCommandText (0, 18017436) in main.amx cod: YCMD:vre(playerid, params[], help) { if(!CheckAdmin(playerid)) return sendErrorMsg(playerid, "Nu ai acces la aceasta comanda."); if(IsPlayerInAnyVehicle(playerid)) { new carid = GetPlayerVehicleID(playerid); if(!Iter_Contains(SpawnedVehicles, carid)) return sendErrorMsg(playerid, "Aceasta masina nu este spawnata de catre un admin."); sendMsg(playerid, COLOR_TAN, "(/vre): {f9f9f9}Ai despawnat vehiculul %s cu ID %d. Total masini spawnate: %d", GetVehicleName(carid), carid, Iter_Count(SpawnedVehicles)); sendAdminMsg(COLOR_LIGHTRED, "AdmCmd: %s a despawnat vehiculul %s cu ID: %d folosind (/vre). Total masini spawnate: %d", GetVehicleName(carid), carid, Iter_Count(SpawnedVehicles)); Iter_Remove(SpawnedVehicles, carid); DestroyVehicle(carid); vehicle_engine[carid] = false; vehicle_lights[carid] = false; vehicle_bonnet[carid] = false; vehicle_boot[carid] = false; return 1; } extract params -> new carid; else return sendUsageMsg(playerid, "vre <Vehicle ID>"); if(!IsValidVehicle(carid)) return sendErrorMsg(playerid, "Acest vehicul nu exista."); if(!Iter_Contains(SpawnedVehicles, carid)) return sendErrorMsg(playerid, "Aceasta masina nu este spawnata de catre un admin."); sendMsg(playerid, COLOR_TAN, "(/vre): {f9f9f9}Ai despawnat vehiculul %s cu ID %d. Total masini spawnate: %d", GetVehicleName(carid), carid, Iter_Count(SpawnedVehicles)); sendAdminMsg(COLOR_LIGHTRED, "AdmCmd: %s a despawnat vehiculul %s cu ID: %d folosind (/vre). Total masini spawnate: %d", GetVehicleName(carid), carid, Iter_Count(SpawnedVehicles)); Iter_Remove(SpawnedVehicles, carid); DestroyVehicle(carid); vehicle_engine[carid] = false; vehicle_lights[carid] = false; vehicle_bonnet[carid] = false; vehicle_boot[carid] = false; return 1; }
×
×
  • Create New...