Skocz do zawartości

Aqq

Użytkownik
  • Zawartość

    346
  • Rejestracja

  • Ostatnia wizyta

O Aqq

  • Tytuł
    ojejku
  • Urodziny 20.02.1995

Kontakt

Informacje profilowe

  • Płeć
    Mężczyzna
  • Miejscowość
    Stolica!

Ostatnie wizyty

Blok z ostatnimi odwiedzającymi dany profil jest wyłączony i nie jest wyświetlany użytkownikom.

  1. Aqq

    Speedhost.pl - co sądzicie?

    P. Zając poprosił mnie abym zacytował go.
  2. Aqq

    Portal

    w pliku .htaccess DirectoryIndex portal.html
  3. Aqq

    Delphi - odsyłacz www i do gry

    Właśnie czytam i nie dowierzam... Pomoże ktoś?
  4. Cześć. Możecie mi podpowiedzieć jak zrobic ze po kliknięciu w button przechodzi nam do danej strony www oraz jak zrob ze klikając wlacza nam sie samp, cos typu samp://ip:port? Chodzi mi o kod żródłowy ;)
  5. Aqq

    nie działa /b

    tak jakby w ogóle nie było komendy ;/ CMD:b(playerid, cmdtext[]) { new pName[MAX_PLAYER_NAME], msg[129]; new idx; if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { RRP(playerid, "Nie zalogowałeś się."); return 1; } GetPlayerName(playerid,pName,MAX_PLAYER_NAME); UnderscoreToSpace(pName); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { RRP(playerid, "/b [lokalny chat OOC]"); return 1; } format(msg,sizeof msg,"((%s (ID:%d): %s ))", pName, playerid, result); SetPlayerChatBubble(playerid, msg, 0x57C83CFF, 20.0, 10000); } return 1; }
  6. Aqq

    Wybór skina

    Cześć. Wybierając płeć np. męską pokazują się skiny, klikając w wybrany powinno wysyłać do pola "Skin" id klikniętego skina. kod (kod był za długo aby go tu podać) http://wklej.to/hxdUE
  7. Cześć, potrzebuje przerobić poniższą komendę na zmianę skinu. Pole w tabeli gm_konta to "Char" CMD:dajvipa(playerid, cmdtext[]) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 1) { ShowPlayerDialog(playerid, DIALOG_INFO, DIALOG_STYLE_MSGBOX, "Informacja", "Nie jesteś upoważniony do użycia tej komendy!", "Rozumiem", ""); return 1; } new car; if (sscanf(cmdtext, "d", car)) return RRP(playerid, "Użyj: /dajvipa [ID gracza]"), 1; RRP(playerid, "Dałeś konto vip."); PlayerInfo[car][pVIP] = 1; RRP(car, "Gratulacje! Dostałeś konto premium!"); } return 1; }
  8. Cześć. Moglibyście mi pomóc przy zamianie funkcji ze starego pluginu mysql do nowego http://forum.sa-mp.com/showthread.php?t=122983 Functions: native MySQL:mysql_init(logtype = LOG_ONLY_ERRORS, printerrors = 1); native mysql_connect(const host[], const user[], const pass[], const db[], MySQL:handle = (MySQL:0), auto_reconnect = 0); native mysql_close(MySQL:handle = MySQL:0); native mysql_refresh(options, MySQL:handle = MySQL:0); native mysql_select_db(const db[], MySQL:handle = MySQL:0); native mysql_query(const query[], resultid = (-1), spareid = (0), MySQL:handle = MySQL:0); native mysql_query_array(const query[], resultid = (-1), {Float,_}:extravars[], MySQL:handle = (MySQL:0)); native mysql_store_result(MySQL:handle = MySQL:0); native mysql_free_result(MySQL:handle = MySQL:0); native mysql_result_stored(MySQL:handle = MySQL:0); native mysql_fetch_field(const fieldname[], dest[], MySQL:handle = MySQL:0); native mysql_fetch_field_num(fieldnum, dest[], MySQL:handle = MySQL:0); native mysql_fetch_row(dest[], const splitter[] = "|", MySQL:handle = MySQL:0); native mysql_fetch_row_data(MySQL:handle = MySQL:0); native mysql_real_escape_string(const string[], dest[], MySQL:handle = MySQL:0); native mysql_num_rows(MySQL:handle = MySQL:0); native mysql_num_fields(MySQL:handle = MySQL:0); native mysql_affected_rows(MySQL:handle = MySQL:0); native mysql_insert_id(MySQL:handle = MySQL:0); native mysql_ping(MySQL:handle = MySQL:0); native mysql_error(dest[], MySQL:handle = MySQL:0); native mysql_errno(MySQL:handle = MySQL:0); native mysql_warning_count(MySQL:handle = MySQL:0(); native mysql_info(dest[], MySQL:handle = MySQL:0); native mysql_stat(dest[], MySQL:handle = MySQL:0); native mysql_get_server_info(dest[], MySQL:handle = MySQL:0); native mysql_get_host_info(dest[], MySQL:handle = MySQL:0); native mysql_data_seek(rownum, MySQL:handle = MySQL:0); native mysql_set_character_set(const csname[], MySQL:handle = MySQL:0); native mysql_get_character_set(csname[], MySQL:handle = MySQL:0); native mysql_fetch_int(MySQL:handle = MySQL:0); native mysql_fetch_float(MySQL:handle = MySQL:0); native mysql_fetch_string(dest[], MySQL:handle = MySQL:0); mapa, moja
  9. Aqq

    server_log: nie znaleziono gma

    Mógłbyś mi podać link do pluginu który oferujesz, oraz funkcje które trzeba podmienić?
  10. Aqq

    server_log: nie znaleziono gma

    Rozumiem że mam pobrać plugin http://forum.sa-mp.com/showthread.php?t=56564 pod Linuxa oraz podmienić go w plikach serwera?
  11. Gdy odpaliłem serwer wersji 0.3c gamemode załadował się, nawet mysql połączyło się poprawnie. Podczas włączenia 0.3e serwer daje znać że nie ma pliku amx, co jest nie tak? Dobra, serwer na localhost (windows) odpalił i śmiga poprawnie jak wgrałem libmySQL.dll do katalogu głównego. Teraz chcę odpalić go na vps (linux), pluginy mam lecz prawdopodobnie potrzebuje libmySQL.dll pod linux. Autor pluginu mysql " MySQL plugin R6-2 successfully" ---------- Loaded log file: server_log.txt. ---------- [/background][/size][/font][/color] [color=#FFFFCC][font=Verdana, Arial, Helvetica, sans-serif][size=3][background=rgb(0, 0, 0)]SA-MP Dedicated Server ---------------------- v0.3e-R2, (C)2005-2012 SA-MP Team [/background][/size][/font][/color] [color=#FFFFCC][font=Verdana, Arial, Helvetica, sans-serif][size=3][background=rgb(0, 0, 0)][17:38] filterscripts = (string) [17:38] [17:38] Server Plugins [17:38] -------------- [17:38] Loading plugin: sscanf.so [17:38] [/background][/size][/font][/color] [color=#FFFFCC][font=Verdana, Arial, Helvetica, sans-serif][size=3][background=rgb(0, 0, 0)][17:38] =============================== [/background][/size][/font][/color] [color=#FFFFCC][font=Verdana, Arial, Helvetica, sans-serif][size=3][background=rgb(0, 0, 0)][17:38] sscanf plugin loaded. [/background][/size][/font][/color] [color=#FFFFCC][font=Verdana, Arial, Helvetica, sans-serif][size=3][background=rgb(0, 0, 0)][17:38] (c) 2009 Alex Y_Less Cole [/background][/size][/font][/color] [color=#FFFFCC][font=Verdana, Arial, Helvetica, sans-serif][size=3][background=rgb(0, 0, 0)][17:38] =============================== [/background][/size][/font][/color] [color=#FFFFCC][font=Verdana, Arial, Helvetica, sans-serif][size=3][background=rgb(0, 0, 0)][17:38] Loaded. [17:38] Loading plugin: streamer.so [17:38] [/background][/size][/font][/color] [color=#FFFFCC][font=Verdana, Arial, Helvetica, sans-serif][size=3][background=rgb(0, 0, 0)]*** Streamer Plugin v2.5.2 by Incognito loaded *** [/background][/size][/font][/color] [color=#FFFFCC][font=Verdana, Arial, Helvetica, sans-serif][size=3][background=rgb(0, 0, 0)][17:38] Loaded. [17:38] Loading plugin: mysql.so [17:38] Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) [17:38] Loaded 2 plugins. [/background][/size][/font][/color] [color=#FFFFCC][font=Verdana, Arial, Helvetica, sans-serif][size=3][background=rgb(0, 0, 0)][17:38] [17:38] Ban list [17:38] -------- [17:38] Loaded: samp.ban [17:38] [17:38] [17:38] Filterscripts [17:38] --------------- [17:38] Loaded 0 filterscripts. [/background][/size][/font][/color] [color=#FFFFCC][font=Verdana, Arial, Helvetica, sans-serif][size=3][background=rgb(0, 0, 0)][17:38] Script[gamemodes/kaos.amx]: Run time error 19: File or function is not found [17:38] Number of vehicle models: 0 [17:38] Incoming connection: 83.31.56.40:55430 [17:38] [join] lol has joined the server (0:83.31.56.40) [17:38] [part] lol has left the server (0:1)
  12. Aqq

    Prośby o poradniki

    Rejestracja i logowanie pod MySQL - jak przerobić w podstawowym GF?
  13. Cześć. Wcześniej działało do póki nie dodałem marki pojazdu do licznika, teraz mam takie coś http://iv.pl/images/78935036062380098914.png (sam dół w rogu, jest sam box ;/) góra new VehicleNames[][] = { "Landstalker","Bravura","Buffalo","Linerunner","Pereniel","Sentinel","Dumper","Firetruck","Trashmaster","Limuzyne", "Manane","Infernus","Voodoo","Pony","Mule","Cheetah","Ambulans","Leviathan","Moonbeam","Esperanto","Taxi","Washington", "Bobcat","MrWhoopee","BFInjection","Hunter","Premier","Enforcer","Securicar","Banshee","Predator","Busa","Czołg", "Barracks","Hotknifa","Trailer","Previon","Autokar","Cabbie","Stallion","Rumpo","RCBandit","Romero","Packer","Monster Trucka", "Admiral","Squalo","Seasparrow","Pizzaboy","Tramwaj","Trailer","Turismo","Speeder","Reefer","Tropic","Flatbed","Yankee", "Caddy","Solair","Berkley'sRCVan","Skimmer","PCJ - 600","Faggio","Freeway","RCBaron","RCRaider","Glendale","Oceanic", "Sanchez","Sparrow","Patriot","Quad","Coastguard","Dinghy","Hermes","Sabre","Rustler","ZR350","Walton","Regina","Comet", "BMX","Burrito","Camper","Marquis","Baggage","Dozer","Maverick","newsChopper","Rancher","FBIRancher","Virgo","Greenwood", "Jetmax","Hotring","Sandking","BlistaCompact","PoliceMaverick","Boxville","Benson","Mesa","RCGoblin","HotringRacer", "HotringRacer","BloodringBanger","Rancher","SuperGT","Elegant","Journey","Bike","MountainBike","Beagle","Cropdust", "Stunt","Tanker","RoadTrain","Nebula","Majestic","Buccaneer","Shamal","Hydra","FCR-900","NRG-500","HPV1000","CementTruck", "TowTruck","Fortune","Cadrona","FBITruck","Willard","Forklift","Traktor","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","RCTiger","Flash","Tahoma","Savanna","Bandito","Freight","Trailer","Kart","Mower", "Duneride","Sweeper","Broadway","Tornado","AT-400","DFT-30","Huntley","Stafford","BF-400","newsvan","Tug","Trailer", "Emperor","Wayfarer","Euros","Hotdog","Club","Trailer","Trailer","Andromada","Dodo","RCCam","Launch","PoliceCar(LSPD)", "PoliceCar(SFPD)","PoliceCar(LVPD)","PoliceRanger","Picador","S.W.A.T.Van","Alpha","Phoenix","Glendale","Sadler", "LuggageTrailer","LuggageTrailer","StairTrailer","Boxville","FarmPlow","UtilityTrailer" }; góra new Text:box[MAX_PLAYERS],Text:markapojazdu4[MAX_PLAYERS],Text:speed4[MAX_PLAYERS],Text:health4[MAX_PLAYERS],Text:fuel4[MAX_PLAYERS]; new VehicleFuel[MAX_VEHICLES]; OnPlayerConnect box[playerid] = TextDrawCreate(618,389,"_"); TextDrawLetterSize(box[playerid],0.5,3.999996); TextDrawUseBox(box[playerid],1); TextDrawBoxColor(box[playerid],0x00000060); TextDrawTextSize(box[playerid],473,0); markapojazdu4[playerid] = TextDrawCreate(478,309,"_"); TextDrawLetterSize(markapojazdu4[playerid],0.37,1.099999); TextDrawSetOutline(markapojazdu4[playerid],1); speed4[playerid] = TextDrawCreate(478,389,"_"); TextDrawLetterSize(speed4[playerid],0.37,1.099999); TextDrawSetOutline(speed4[playerid],1); health4[playerid] = TextDrawCreate(478,401,"_"); TextDrawLetterSize(health4[playerid],0.37,1.099999); TextDrawSetOutline(health4[playerid],1); fuel4[playerid] = TextDrawCreate(478,413,"_"); TextDrawLetterSize(fuel4[playerid],0.37,1.099999); TextDrawSetOutline(fuel4[playerid],1); OnPlayerDisconnect TextDrawDestroy(box[playerid]); TextDrawDestroy(markapojazdu4[playerid]); TextDrawDestroy(speed4[playerid]); TextDrawDestroy(health4[playerid]); TextDrawDestroy(fuel4[playerid]); doł public SpeedoUpdate() { for(new i = 0;i<MAX_PLAYERS;i++) { if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i)) { new Float:x,Float:y,Float:z,Float:hp,string[24],vehicleid = GetPlayerVehicleID(i); TextDrawShowForPlayer(i,box[i]); TextDrawShowForPlayer(i,markapojazdu4[i]); TextDrawShowForPlayer(i,speed4[i]); TextDrawShowForPlayer(i,health4[i]); TextDrawShowForPlayer(i,fuel4[i]); GetVehicleVelocity(vehicleid,x,y,z); GetVehicleHealth(vehicleid,hp); format(string,sizeof(string),"Marka pojazdu: %s",VehicleNames[vehicleid-400]); TextDrawSetString(markapojazdu4[i],string); format(string,sizeof(string),"%d km/h",floatround(GetVehicleSpeed(vehicleid,0))); TextDrawSetString(speed4[i],string); format(string,sizeof(string),"Stan techniczny: %d",floatround(hp)); TextDrawSetString(health4[i],string); format(string,sizeof(string),"Paliwo: %dL",VehicleFuel[vehicleid]); TextDrawSetString(fuel4[i],string); } if(!IsPlayerInAnyVehicle(i)) { TextDrawHideForPlayer(i,box[i]); TextDrawShowForPlayer(i,markapojazdu4[i]); TextDrawHideForPlayer(i,speed4[i]); TextDrawHideForPlayer(i,health4[i]); TextDrawHideForPlayer(i,fuel4[i]); } } } public FuelUpdate() { for(new i = 1;i<MAX_VEHICLES;i++) { if(GetVehicleModel(i)) { new engine,lights,alarm,doors,bonnet,boot,objective; GetVehicleParamsEx(i,engine,lights,alarm,doors,bonnet,boot,objective); if(engine == 1) { if(VehicleFuel[i] > 0) VehicleFuel[i]--; else SetVehicleParamsEx(i,0,lights,alarm,doors,bonnet,boot,objective); } } } }
  14. Aqq

    Problem z SA-MP 0.3d

    Odinstalowałem i z ciekawości zeskanowałem CCleaner, napotkałem trzy błędy przy GTA. Zainstalowałem od nowa, lecz problem nadal jest :>
×