Jump to content

heker

Membru
  • Posts

    617
  • Joined

  • Last visited

    Never

Everything posted by heker

  1. SetPlayerCheckpoint(playerid,Float:x,Float:y,Float:z,5.0)
  2. Nu modifica cu serverul aprins, cel mai sigur cand este stins
  3. [pawn]#include <a_samp> #define speedcolor 0xFF0000FF new VehicleName[212][] = { "Jeep Wagoneer","Mercury Cougar","Camaro with Scoop","Big Rig","Jeep Grand Wagoneer", "BMW 7-Series","Dumptruck","SA Firetruck","Peterbuilt","Lincoln Towncar","Dodge Aries", "Acura NSX '05","Chevy Biscayne","Ford Aerostar","Ford Box Van","Ferrari Testarosso", "Ford Econoline","Emergency Helicopter","Chevrolet Astrovan","Cadillac Eldorado", "Chevy Caprice","Lincoln Mark 7","Chevrolet S10","Chevy Ice Cream Truck", "Volkswagen Beach Buggy","AH-64A","Chevrolet Caprice", "International SWAT Van", "Securita Van","Dodge Viper","Preditor","Volvo Bus","M1A1 Abrams","Barracks", "Ford Hot Rod","Trailer","Nissan Pulsar","Old Coach","Caprice Classic Cab", "Ford Mustang Mach 1","Mercedes Van","RC Bandit","Cadillac Hearse","Packer/Stunt Helper", "Chevy S-10 Monster Truck","Mercedes-Benz S-Class","Chris Craft Stinger","Bell 47G", "Piaggio Vespa PX 200","Tram","Trailer","Ferrari F40", "Go-Fast Boat","Orca", "Sea Ray 270 Sedan Bridge","Flatbed","1992 Ford F800","Golf Car","Ford Taurus Wagon", "Honda Life '74","Cessna 150 With Floats","Honda CBR 600 '92", "Piaggio Vespa PX 200 '86", "Harley Davidson Soft Tail", "RC Red Baron", "RC Raider","Dodge Dart","Plymouth Belverdere", "Yamaha DT 200 Dirt Bike","Bell 47G","Hummer H-1","Honda TRX250x '92","Coastguard Boat", "Rescue Boat","Mercury '51","Chevy Chevelle","Curtiss P-40D Warhawk","Mazda RX-7", "Chevy Farm Truck","Chevy Caprice Estate","Porsche 911","Schwinn BMX","Dodge Ramvan", "Volkswagen Bus","Endeavour 42","Equitech M40 '85","Bulldozer","Bell 206L-4", "Bell 206B-3","Ford Bronco","Chevrolet Suburban '92","Lincoln Mark 7", "Dodge Diplomat","CMN Interceptor DV-15","Ford Mustang LX","Ford Bronco", "Honda CRX","Bell 206L-4","Chevy Cargo Van","Ford Moving Van","Jeep Wrangler", "RC Heli","Ford Mustang LX '86","Ford Mustang LX '86","Customised Glendale", "Ford Bronco '80","Mitsubishi 3000 GT","Buick Roadmaster","GMC R.V.","Old Bike", "Schwinn Mesa Mountain Hardtail","C-2 Greyhound","Grumman G-164 AgCat", "Pitt's Special","Gas Tanker","International 9370 Truck","Lincoln Towncar", "Chevy Monte Carlo","Chevrolet Monte Carlo","Bombardier Learjet 55", "AV-8 Harrier Jump-Jet","Honda CBR 900 RR Fireblade","Honda NSR 500 '01", "Kawasaki KZ1000-P21","Chevrolet Cement Truck","Tow Truck '91","Ford Thunderbird", "Ford Escort","CSI/FBI Investigation Truck","Dodge Dynasty","Forklift '89","Old Tractor", "Combine Harvester","Mercedes-Benz SL-Class","Lincoln Mark 5","Chevy CST '68", "Chevrolet Caprice Droptop","1972 EMD SD40","Amtrak F40PH","Hovercraft","Mercedes Benz E120", "Ford GT-40","Dodge Challenger '70","Dodge 100 Series","SA Firetruck","Ford Hotrod", "Chevrolet Lumina","Oldsmobile Cutlass Ciera","Sikorsky CH-53","Dodge Roadrunner", "Late 80's Honda Sedan","Mercury Grand Marquis","Chevy 2500","Douglas C-47", "GMC Sierra","Jaguar XKE '66","Chevy S-10 Monster Truck","Chevy S-10 Monster Truck", "Eagle Talon","Toyota Supra","Impreza 2.5RS '95","Honda Accord Wagon","Nissan R34 Skyline", "Sikorsky UH-60 Black Hawk","RC Tiger","Honda Civic","Oldsmobile Cutlass","Chevy Impala", "Sand Rail","EMD SD40", "Trailer","Go Kart","Ride-On Lawn Mower", "Mercedes-Benz AK 4x4 '91","Elgin Pelican","Caddilac '54","Chevy Bel Air '57", "Boeing 737","Flatbed","Range Rover","Rolls Royce","Honda VFR 400","Dodge Ramvan Newsvan", "Baggage Tow Tractor HTAG-30/40","Trailer","Infinity J30 '92","Honda Goldwing GL1500 '04", "Nissan 350Z/240SX","Hotdog Van","Volkswagen Golf","Trailer","Trailer","Lockheed C-5 Galaxy", "Cessna 150", "Unknown","CMN Interceptor DV-15","Chevy Caprice LA", "Chevy Caprice SF", "Chevy Caprice LV","Chevy Blazer Desert","Chevrolet El Camino '68","S.W.A.T. Van", "Dodge Stealth '91","Pontiac Trans AM", "Dodge Dart", "Dodge 100 Series", "Luggage Trailer", "Luggage Trailer", "Stair Trailer", "Chevy Cargo Van","Farm Plow", "Chevy 2500 Trailer" }; new PlayerText3D:speedo3Dtext, Speedoff, bool:OneCreateTextDraw[MAX_PLAYERS]; public OnFilterScriptInit() { print("speedo loaded"); Speedoff = SetTimer("Speed", 800, 1); return true; } public OnPlayerConnect(playerid) { OneCreateTextDraw[playerid] = true; return true; } public OnPlayerExitVehicle(playerid, vehicleid) { for (new i=0; i<MAX_PLAYERS; i++) { DeletePlayer3DTextLabel(playerid, speedo3Dtext); } return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { OneCreateTextDraw[playerid] = true; return 1; } forward Speed(); public Speed() { new wplayerid = 0, GetPlayers = GetMaxPlayers(); while(wplayerid != GetPlayers) { if(IsPlayerConnected(wplayerid) && !IsPlayerNPC(wplayerid)) { new string[128], VehicleID = GetPlayerVehicleID(wplayerid); if(VehicleID) { new Float:X, Float:Y, Float:Z, Float:PointToPoint, Float:vhealth; GetVehicleVelocity(VehicleID, X, Y, Z); PointToPoint = (floatsqroot(floatpower(X, 2) + floatpower(Y, 2) + floatpower(Z, 2)))*100; GetVehicleHealth(VehicleID, vhealth); format(string,sizeof string ,"{FF000D}Vehicle: %s\n{0707FA}Health: %.2f\n{07FA10}Speed: {F2FA07}%ikm/h", VehicleName[GetVehicleModel(VehicleID)-400], vhealth, floatround(PointToPoint, floatround_floor)); if(OneCreateTextDraw[wplayerid] == true) { speedo3Dtext = CreatePlayer3DTextLabel(wplayerid, string, speedcolor, 0.0,-1.6,-0.35,20.0, INVALID_PLAYER_ID, VehicleID); OneCreateTextDraw[wplayerid] = false; } UpdatePlayer3DTextLabelText(wplayerid, speedo3Dtext, speedcolor, string); } else if(wplayerid) { if(OneCreateTextDraw[wplayerid] == false) { DeletePlayer3DTextLabel(wplayerid, speedo3Dtext); OneCreateTextDraw[wplayerid] = true; } } } wplayerid++; } return true; } public OnFilterScriptExit() { KillTimer(Speedoff); for(new forplayerid; forplayerid < MAX_PLAYERS; forplayerid++) { DeletePlayer3DTextLabel(forplayerid, speedo3Dtext); } return true; }[/pawn] Ia vezi acuma
  4. heker

    NPC

    au au au au jeo server.cfg este maxnpc 10 ? A doua varinta incerca fara junckbuster
  5. new stuntpark; liniile 402, 257 aranjeazale cum trebuie
  6. heker

    0Admin.

    Bravo Zh3r0 esti singurul scripter bun care isi publica creatile. Respect din partea mea
  7. Fii sigur ca ai convertat obiectele pentru streamer by icognito si k ai pus in server,cfg streamer.so
  8. Frumoasa mapa chiar mia placut xD
  9. [pawn]new SpamStrings[MAX_PLAYERS];[/pawn] [pawn]public MinSpam() { for(new i = 0; i < MAX_PLAYERS; i ++) { if(SpamStrings > 0) { SpamStrings = 0; } } }[/pawn] La public OnPlayerText(playerid, text[]) [pawn]SpamStrings[playerid] ++; if(SpamStrings[playerid] >= MAX_SPAM) { new PlayerName[MAX_PLAYER_NAME]; GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME); SendClientMessage(playerid,COLOR_BBLUE,"Please wait 2 seconds before you spam again (spam protection)"); return 0; }[/pawn] [pawn] forward MinSpam();[/pawn] [pawn]#define MAX_SPAM 3[/pawn]
  10. nab ti se pare alta comanda fata de a lui ? Vezi la: [pawn]if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0)[/pawn]
  11. heker

    Creare HQ

    Uite aici tutorialul asta este cam invechit click
  12. if(strcmp(cmd, "/mute", true) == 0) { if(IsPlayerAdmin(playerid)) { new mplayer, time, reason[96]; if(!sscanf(params, "uis", mplayer, time, reason)) { Muted[mplayer] = 1; SetTimerEx("UnmutePlayer", false, 60000*time, "i", playerid); new string[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "You were muted by %s for %d minutes. Reason: %s", name, time, reason); SendClientMessage(mplayer, 0xFF3300FF, string); return 1; } else return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /mute [id/partname] [time in minutes] [reason]); } else return SendClientMessage(playerid, 0xFF3300FF, "ERROR: You are not an admin and may not use this command!"); }
  13. heker

    Un tutorial

    Nu cred k va ajuta nimeni ca mai multi de 10 romani nu stiu mysql )
  14. heker

    Problema Chat

    Chestia cu [AOD]Nume risti sa ti se buguiasca modul, am incercat eu, si vezi k ti-am raspuns pe sa-mp.com
  15. Cauta: if(strcmp(cmd, "/news", true) == 0) si mai jos ai: if(newcar == oldcar || newcar == oldcar || newcar == oldcar) si baga numaru de la oldcar ale tale simplu nu ? puteai te uita la comanda prima data ;)
  16. cam asa trebuie sa folosesti mysql sa fie update de la timp bine de tot :P
  17. Cauti comanda si mai jos bagi: if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, "Nu poti vorbi !... Ai MUTE ."); return 1; }
  18. mie mi se pare asta cel mai simplu http://www.blackfiles.eu/forum/viewtopic.php?f=17&t=2
  19. include in pawno dupa #include <streamer> in script dupa CreateObject to CreateDynamicObject
  20. heker

    xStreamer.so

    pe 0.3c nu mai este compatibil foloseste streamrul lui icognito
  21. CreateDynamicPickup
  22. CreateObject to CreateDynamicObject
  23. cum adik nici o comanda =]] macar lasane modul pe PM ca nu stim noi ce se afla in acel mod =]]
  24. merge dar asa" SetPlayerMapIcon( playerid, 1, coordonateX,coordonateY,coordonateZ,id icon, 0 );// icon 1 SetPlayerMapIcon( playerid, 2, coordonateX,coordonateY,coordonateZ,id icon, 0 );// icon 2 SetPlayerMapIcon( playerid, 3, coordonateX,coordonateY,coordonateZ,id icon, 0 );// icon 3 observa diferenta
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.