h3ater98
-
Posts
16 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by h3ater98
-
-
@WiDuAlK asta incerc de cand am vazut ca primesc eroarea asta
QuoteConnect - (error #2002) Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
A avut cineva host de la TNI? Este prima data cand iau de la ei
-
53 minutes ago, VeLo said:
#define mysql_host "localhost" #define mysql_user "andrey" #define mysql_password "teste" #define mysql_database "csa_ifgjqv"
Asta pui tu pentru localhost =))))))))))))?
#define mysql_host "localhost" #define mysql_user "root" #define mysql_password "" #define mysql_database "test"
da. prima pentru host si cealalta localhost..
e o problema ?
-
3 minutes ago, Mister said:
Eu cred ca gmul este defect daca nu iti merge
daca l-ai uploadat defect posibil ca eu i-am modificat doar datele de la baza de date.
M-am uitat acum in fisierul mysql_log si primesc astaQuoteConnect - (error #2002) Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
posibil sa fie de la ea problema ?
-
Just now, Mister said:
Scrie negru pe alb
[11:17:35] [MYSQL]: Connection to database (csa_ifgjqv) failed!
Daca ai fi scris bine datele nu spunea asta, deci pune datele corecte
Asta e, eu le-am scris bine, dadea eroare, i-am rugat si pe cei de la host ca sa intre sa imi faca sa le treaca ei, ca poate sunt prost si am gresit. dar tot asa da
#define mysql_host "localhost" #define mysql_user "andrey" #define mysql_password "teste" #define mysql_database "csa_ifgjqv"
-
am scris bine datele.. si folosesc phpmyadmin de la host
-
12 hours ago, Mister said:
Acel prieten trebuia sa iti propuna sa stii si limbajul pawn pentru a iti deschide server, ce crezi ca vei face in continuare daca vei avea sa zicem 150 de playeri si iti vor cere updateuri, ce vei face avand in vedere ca nu stii pawn? Verifica daca ai toate pluginurile uplaodate pe host, si foloseste varianta static a pluginului
Da ai dreptate. Ce fac cand ajung la un anumit numar de playeri. Asta e si ideea, vreau sa invat.
Am facut cum ai zis, sa verific toate pluginurile si sa folosesc varianta statica, dar am intampinat o alta problema.
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [11:17:29] filterscripts = "" (string) [11:17:29] [11:17:29] Server Plugins [11:17:29] -------------- [11:17:29] Loading plugin: mysql_static.so [11:17:29] >> plugin.mysql: R39-3 successfully loaded. [11:17:29] Loaded. [11:17:29] Loading plugin: sscanf.so [11:17:29] [11:17:29] =============================== [11:17:29] sscanf plugin loaded. [11:17:29] Version: 2.8.1 [11:17:29] (c) 2012 Alex "Y_Less" Cole [11:17:29] =============================== [11:17:29] Loaded. [11:17:29] Loading plugin: ColAndreas_static.so [11:17:29] ********************* [11:17:29] ** Created By: ** [11:17:29] ** [uL]Chris42O ** [11:17:29] ** [uL]Slice ** [11:17:29] ** [uL]Pottus ** [11:17:29] ********************* [11:17:35] Loaded collision data. [11:17:35] ********************* [11:17:35] ColAndreas Loaded [11:17:35] v1.3.0 [11:17:35] ********************* [11:17:35] Loaded. [11:17:35] Loading plugin: crashdetect.so [11:17:35] CrashDetect v4.15.1 is OK. [11:17:35] Loaded. [11:17:35] Loading plugin: streamer.so [11:17:35] *** Streamer Plugin v2.8 by Incognito loaded *** [11:17:35] Loaded. [11:17:35] Loading plugin: YSF.so [11:17:35] logprintf = 0x080A91D0 [11:17:35] [11:17:35] =============================== [11:17:35] YSF - kurta999 version R16 loaded [11:17:35] (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2015 kurta999 [11:17:35] Server version: 0.3.7 R2-1 [11:17:35] Operating System: Linux [11:17:35] Built on: Feb 5 2016 at 15:58:30 [11:17:35] =============================== [11:17:35] Loaded. [11:17:35] Loading plugin: nativechecker.so [11:17:35] Loaded. [11:17:35] Loaded 7 plugins. [11:17:35] [11:17:35] Filterscripts [11:17:35] --------------- [11:17:35] Loaded 0 filterscripts. [11:17:35] Loading Map. [11:17:35] Loaded Map. [11:17:35] [MYSQL]: Connection to database (csa_ifgjqv) failed! [11:17:35] Tried to reload Map. [11:17:35] ============================================================= [11:17:35] Stuff Loaded Succesfull [11:17:35] ============================================================= [11:17:36] ============================================================= [11:17:36] House Sistem Loaded 0 Houses [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] Dealer Ship Loaded 0 Cars [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] Vehicle Sistem Loaded 0 Cars [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] Sbiz Sistem Loaded -1 Sbiz's [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] Biz Sistem Loaded -1 Bbiz's [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] AtmScript Loaded 0 Bancomate [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] Safe Sistem Loaded 0 Safe's [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] GangZone System Loaded 0 Zone [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] Spawn System Loaded 0 Factions [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] Motel Sistem Loaded -1 Room's [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] HouseGate Sistem Loaded 0 Gate's [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] OnGameModeInit Loaded 108 Pickups [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] OnGameModeInit Loaded 78 Text's [11:17:36] ============================================================= [11:17:36] ============================================================= [11:17:36] YourServerName Rp-Rpg GameMode 3 Version [11:17:36] ============================================================= [11:17:36] [11:17:36] [11:17:36] Number of vehicle models: 118 [11:17:36] --- Server Shutting Down. [11:17:36] plugin.mysql: Unloading plugin... [11:17:36] plugin.mysql: Plugin unloaded. [11:17:36] [11:17:36] =============================== [11:17:36] sscanf plugin unloaded. [11:17:36] =============================== [11:17:36] ********************* [11:17:36] *ColAndreas Unloaded* [11:17:36] ********************* [11:17:36] *** Streamer Plugin v2.8 by Incognito unloaded *** [11:17:36] [11:17:36] ============== [11:17:36] YSF unloaded [11:17:36] ==============
Orice as face sau cum connectez baza de date, tot imi da ca nu se poate conecta
-
Problema intalnita (descriere):Erori la pornirea servarului
Ero(area / rile) / warning-(ul / urile):---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [22:13:19] [22:13:19] Server Plugins [22:13:19] -------------- [22:13:19] Loaded 0 plugins. [22:13:19] [22:13:19] Filterscripts [22:13:19] --------------- [22:13:19] Loading filterscript 'base.amx'... [22:13:19] --Base FS loaded. [22:13:19] Loading filterscript 'gl_actions.amx'... [22:13:19] Loading filterscript 'gl_property.amx'... [22:13:19] ----------------------------------- [22:13:19] Grand Larceny Property Filterscript [22:13:19] ----------------------------------- [22:13:19] Loading filterscript 'gl_realtime.amx'... [22:13:19] Loaded 4 filterscripts. [22:13:19] Loaded 3 vehicles from: vehicles/trains.txt [22:13:19] Loaded 3 vehicles from: vehicles/pilots.txt [22:13:19] Loaded 15 vehicles from: vehicles/lv_law.txt [22:13:19] Loaded 39 vehicles from: vehicles/lv_airport.txt [22:13:19] Loaded 255 vehicles from: vehicles/lv_gen.txt [22:13:19] Loaded 38 vehicles from: vehicles/sf_law.txt [22:13:19] Loaded 35 vehicles from: vehicles/sf_airport.txt [22:13:19] Loaded 353 vehicles from: vehicles/sf_gen.txt [22:13:19] Loaded 24 vehicles from: vehicles/ls_law.txt [22:13:19] Loaded 37 vehicles from: vehicles/ls_airport.txt [22:13:19] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt [22:13:19] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt [22:13:19] Loaded 71 vehicles from: vehicles/whetstone.txt [22:13:19] Loaded 168 vehicles from: vehicles/bone.txt [22:13:19] Loaded 61 vehicles from: vehicles/flint.txt [22:13:19] Loaded 96 vehicles from: vehicles/tierra.txt [22:13:19] Loaded 96 vehicles from: vehicles/red_county.txt [22:13:19] Total vehicles from files: 1781 [22:13:19] Reading File: blank [22:13:19] Reading File: properties/houses.txt [22:13:19] Reading File: properties/businesses.txt [22:13:19] Reading File: properties/banks.txt [22:13:19] Reading File: properties/police.txt [22:13:19] --------------------------------------- [22:13:19] Running Grand Larceny - by the SA-MP team [22:13:19] --------------------------------------- [22:13:19] Number of vehicle models: 173 [22:21:13] [connection] 86.35.50.55:56974 requests connection cookie. [22:21:14] [connection] incoming connection: 86.35.50.55:56974 id: 0 [22:21:15] [join] kidzor has joined the server (0:86.35.50.55) [22:25:24] [part] kidzor has left the server (0:1) ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [22:26:22] filterscripts = "" (string) [22:26:22] [22:26:22] Server Plugins [22:26:22] -------------- [22:26:22] Loading plugin: mysql.so [22:26:22] Failed (libmysqlclient.so.18: wrong ELF class: ELFCLASS64) [22:26:22] Loading plugin: sscanf.so [22:26:22] [22:26:22] =============================== [22:26:22] sscanf plugin loaded. [22:26:22] Version: 2.8.1 [22:26:22] (c) 2012 Alex "Y_Less" Cole [22:26:22] =============================== [22:26:22] Loaded. [22:26:22] Loading plugin: ColAndreas.so [22:26:22] Failed (libBulletDynamics.so.2.82: cannot open shared object file: No such file or directory) [22:26:22] Loading plugin: crashdetect.so [22:26:22] CrashDetect v4.15.1 is OK. [22:26:22] Loaded. [22:26:22] Loading plugin: streamer.so [22:26:22] *** Streamer Plugin v2.7.8 by Incognito loaded *** [22:26:22] Loaded. [22:26:22] Loading plugin: YSF.so [22:26:22] logprintf = 0x080A91D0 [22:26:22] [22:26:22] =============================== [22:26:22] YSF - kurta999 version R14-3 loaded [22:26:22] (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2015 kurta999 [22:26:22] Server version: 0.3.7 R2 [22:26:22] Operating System: Linux [22:26:22] Built on: Jul 21 2015 at 00:46:01 [22:26:22] =============================== [22:26:22] Loaded. [22:26:22] Loaded 4 plugins. [22:26:22] [22:26:22] Filterscripts [22:26:22] --------------- [22:26:22] Loaded 0 filterscripts. [22:26:22] [debug] Run time error 19: "File or function is not found" [22:26:22] [debug] mysql_format [22:26:22] [debug] mysql_query [22:26:22] [debug] CA_DestroyObject [22:26:22] [debug] CA_Init [22:26:22] [debug] CA_RayCastLineAngle [22:26:22] [debug] CA_RayCastLine [22:26:22] [debug] mysql_tquery [22:26:22] [debug] mysql_log [22:26:22] [debug] mysql_close [22:26:22] [debug] mysql_connect [22:26:22] [debug] mysql_errno [22:26:22] [debug] cache_get_row_count [22:26:22] [debug] cache_delete [22:26:22] [debug] cache_get_field_content [22:26:22] [debug] cache_get_data [22:26:22] [debug] mysql_escape_string [22:26:22] [debug] cache_affected_rows [22:26:22] [debug] Run time error 19: "File or function is not found" [22:26:22] [debug] mysql_format [22:26:22] [debug] mysql_query [22:26:22] [debug] CA_DestroyObject [22:26:22] [debug] CA_Init [22:26:22] [debug] CA_RayCastLineAngle [22:26:22] [debug] CA_RayCastLine [22:26:22] [debug] mysql_tquery [22:26:22] [debug] mysql_log [22:26:22] [debug] mysql_close [22:26:22] [debug] mysql_connect [22:26:22] [debug] mysql_errno [22:26:22] [debug] cache_get_row_count [22:26:22] [debug] cache_delete [22:26:22] [debug] cache_get_field_content [22:26:22] [debug] cache_get_data [22:26:22] [debug] mysql_escape_string [22:26:22] [debug] cache_affected_rows [22:26:22] Script[gamemodes/briston.amx]: Run time error 19: "File or function is not found" [22:26:22] Number of vehicle models: 0 ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [22:27:47] filterscripts = "" (string) [22:27:47] [22:27:47] Server Plugins [22:27:47] -------------- [22:27:47] Loading plugin: mysql.so [22:27:47] Failed (libmysqlclient.so.18: wrong ELF class: ELFCLASS64) [22:27:47] Loading plugin: sscanf.so [22:27:47] [22:27:47] =============================== [22:27:47] sscanf plugin loaded. [22:27:47] Version: 2.8.1 [22:27:47] (c) 2012 Alex "Y_Less" Cole [22:27:47] =============================== [22:27:47] Loaded. [22:27:47] Loading plugin: ColAndreas.so [22:27:47] Failed (libBulletDynamics.so.2.82: cannot open shared object file: No such file or directory) [22:27:47] Loading plugin: ColAndreas_static.so [22:27:47] ********************* [22:27:47] ** Created By: ** [22:27:47] ** [uL]Chris42O ** [22:27:47] ** [uL]Slice ** [22:27:47] ** [uL]Pottus ** [22:27:47] ********************* [22:27:53] Loaded collision data. [22:27:53] ********************* [22:27:53] ColAndreas Loaded [22:27:53] v1.3.0 [22:27:53] ********************* [22:27:53] Loaded. [22:27:53] Loading plugin: crashdetect.so [22:27:53] CrashDetect v4.15.1 is OK. [22:27:53] Loaded. [22:27:53] Loading plugin: streamer.so [22:27:53] *** Streamer Plugin v2.7.8 by Incognito loaded *** [22:27:53] Loaded. [22:27:53] Loading plugin: YSF.so [22:27:53] logprintf = 0x080A91D0 [22:27:53] [22:27:53] =============================== [22:27:53] YSF - kurta999 version R14-3 loaded [22:27:53] (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2015 kurta999 [22:27:53] Server version: 0.3.7 R2 [22:27:53] Operating System: Linux [22:27:53] Built on: Jul 21 2015 at 00:46:01 [22:27:53] =============================== [22:27:53] Loaded. [22:27:53] Loaded 5 plugins. [22:27:53] [22:27:53] Filterscripts [22:27:53] --------------- [22:27:53] Loaded 0 filterscripts. [22:27:53] [debug] Run time error 19: "File or function is not found" [22:27:53] [debug] mysql_format [22:27:53] [debug] mysql_query [22:27:53] [debug] mysql_tquery [22:27:53] [debug] mysql_log [22:27:53] [debug] mysql_close [22:27:53] [debug] mysql_connect [22:27:53] [debug] mysql_errno [22:27:53] [debug] cache_get_row_count [22:27:53] [debug] cache_delete [22:27:53] [debug] cache_get_field_content [22:27:53] [debug] cache_get_data [22:27:53] [debug] mysql_escape_string [22:27:53] [debug] cache_affected_rows [22:27:53] [debug] Run time error 19: "File or function is not found" [22:27:53] [debug] mysql_format [22:27:53] [debug] mysql_query [22:27:53] [debug] mysql_tquery [22:27:53] [debug] mysql_log [22:27:53] [debug] mysql_close [22:27:53] [debug] mysql_connect [22:27:53] [debug] mysql_errno [22:27:53] [debug] cache_get_row_count [22:27:53] [debug] cache_delete [22:27:53] [debug] cache_get_field_content [22:27:53] [debug] cache_get_data [22:27:53] [debug] mysql_escape_string [22:27:53] [debug] cache_affected_rows [22:27:53] Script[gamemodes/briston.amx]: Run time error 19: "File or function is not found" [22:27:53] Number of vehicle models: 0 ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [22:28:30] filterscripts = "" (string) [22:28:30] [22:28:30] Server Plugins [22:28:30] -------------- [22:28:30] Loading plugin: mysql.so [22:28:30] Failed (libmysqlclient.so.18: wrong ELF class: ELFCLASS64) [22:28:30] Loading plugin: sscanf.so [22:28:30] [22:28:30] =============================== [22:28:30] sscanf plugin loaded. [22:28:30] Version: 2.8.1 [22:28:30] (c) 2012 Alex "Y_Less" Cole [22:28:30] =============================== [22:28:30] Loaded. [22:28:30] Loading plugin: ColAndreas.so [22:28:30] Failed (libBulletDynamics.so.2.82: cannot open shared object file: No such file or directory) [22:28:30] Loading plugin: crashdetect.so [22:28:30] CrashDetect v4.15.1 is OK. [22:28:30] Loaded. [22:28:30] Loading plugin: streamer.so [22:28:30] *** Streamer Plugin v2.7.8 by Incognito loaded *** [22:28:30] Loaded. [22:28:30] Loading plugin: YSF.so [22:28:30] logprintf = 0x080A91D0 [22:28:30] [22:28:30] =============================== [22:28:30] YSF - kurta999 version R14-3 loaded [22:28:30] (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2015 kurta999 [22:28:30] Server version: 0.3.7 R2 [22:28:30] Operating System: Linux [22:28:30] Built on: Jul 21 2015 at 00:46:01 [22:28:30] =============================== [22:28:30] Loaded. [22:28:30] Loaded 4 plugins. [22:28:30] [22:28:30] Filterscripts [22:28:30] --------------- [22:28:30] Loaded 0 filterscripts. [22:28:30] [debug] Run time error 19: "File or function is not found" [22:28:30] [debug] mysql_format [22:28:30] [debug] mysql_query [22:28:30] [debug] CA_DestroyObject [22:28:30] [debug] CA_Init [22:28:30] [debug] CA_RayCastLineAngle [22:28:30] [debug] CA_RayCastLine [22:28:30] [debug] mysql_tquery [22:28:30] [debug] mysql_log [22:28:30] [debug] mysql_close [22:28:30] [debug] mysql_connect [22:28:30] [debug] mysql_errno [22:28:30] [debug] cache_get_row_count [22:28:30] [debug] cache_delete [22:28:30] [debug] cache_get_field_content [22:28:30] [debug] cache_get_data [22:28:30] [debug] mysql_escape_string [22:28:30] [debug] cache_affected_rows [22:28:30] [debug] Run time error 19: "File or function is not found" [22:28:30] [debug] mysql_format [22:28:30] [debug] mysql_query [22:28:30] [debug] CA_DestroyObject [22:28:30] [debug] CA_Init [22:28:30] [debug] CA_RayCastLineAngle [22:28:30] [debug] CA_RayCastLine [22:28:30] [debug] mysql_tquery [22:28:30] [debug] mysql_log [22:28:30] [debug] mysql_close [22:28:30] [debug] mysql_connect [22:28:30] [debug] mysql_errno [22:28:30] [debug] cache_get_row_count [22:28:30] [debug] cache_delete [22:28:30] [debug] cache_get_field_content [22:28:30] [debug] cache_get_data [22:28:30] [debug] mysql_escape_string [22:28:30] [debug] cache_affected_rows [22:28:30] Script[gamemodes/briston.amx]: Run time error 19: "File or function is not found" [22:28:30] Number of vehicle models: 0 [22:36:06] [connection] incoming connection: 86.35.50.55:62555 id: 0 [22:36:06] [debug] Run time error 19: "File or function is not found" [22:36:06] [debug] mysql_format [22:36:06] [debug] mysql_query [22:36:06] [debug] CA_DestroyObject [22:36:06] [debug] CA_Init [22:36:06] [debug] CA_RayCastLineAngle [22:36:06] [debug] CA_RayCastLine [22:36:06] [debug] mysql_tquery [22:36:06] [debug] mysql_log [22:36:06] [debug] mysql_close [22:36:06] [debug] mysql_connect [22:36:06] [debug] mysql_errno [22:36:06] [debug] cache_get_row_count [22:36:06] [debug] cache_delete [22:36:06] [debug] cache_get_field_content [22:36:06] [debug] cache_get_data [22:36:06] [debug] mysql_escape_string [22:36:06] [debug] cache_affected_rows
Liniile de cod / sursa / script-ul(obligatoriu):
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Am incercat dar nu am reusit sa fac nimicUn prieten mi-a propus sa deschid un server cu acest GM
Majoritatea cred ca il stiti si as dori sa ma ajutati
-
Buna ziua.
De la o vreme servarul tot se restarteaza si in consola primesc:
Started server on 94.177.106.189:7777, with maxplayers: 100 lanmode is OFF.
/usr/local/games/samp-run.v2.sh: line 104: 22336 Segmentation fault $WORKINGDIR/samp03svr
[Tue Apr 14 12:19:14 EEST 2015] SERVICE CRASH, waiting 10 seconds
[Tue Apr 14 12:19:24 EEST 2015] SERVICE STARTUP (2/30)
Imi puteti spune de la ce poate fi aceasta eroare? -
Am un server de Sa:Mp si am o problema cu restartarea.
Nu stiu de la ce e sau din ce cauza tot se restarteaza,dar in consola primesc urmatoarea eroare
/usr/local/games/samp-run.v2.sh: line 85: 32494 Segmentation fault $WORKINGDIR/samp03svr [Fri Mar 27 19:53:08 EET 2015] SERVICE CRASH, waiting 10 seconds [Fri Mar 27 19:53:18 EET 2015] SERVICE STARTUP
Cum pot face ca sa nu mai primesc eroarea ?
-
la v tow1 imi ia banii de tow si zice ca se respawneaza dar nu se respawneaza.. si la v tow2-3 .. mi se deschide meniul /v
-
Ma ajuta cineva?
-
Nume: H3ater
Problema: Cand dau /v towcar1 imi scrie ca masina a fost respawnata dar nu este
ce am incercat: am incercat sa fac sistemu de la zero dar nu a mers
Codul sursa:
[pawn] if(strcmp(x_nr,"tow1",true) == 0)
{
if(IsPlayerConnected(playerid))
{
new car = PlayerData[playerid][pPcarkey];
GetPlayerName(playerid, playername, sizeof(playername));
if (car != 999 && strcmp(playername, CarData[PlayerData[playerid][pPcarkey]][cOwner], true) == 0)
{
if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)))
{
SendClientMessage(playerid, COLOR_GREY, " Acum intr-o misiune, nu poti folosi aceasta comanda !");
return 1;
}
if(SBizzData[8][sbProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1);
return 1;
}
if(CarTow(car))
{
GameTextForPlayer(playerid, "~w~Car~n~~g~Towed~n~~r~$-1500", 5000, 1);
GivePlayerCash(playerid,-1500);
SetVehicleToRespawn(car);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
SBizzData[8][sbTill] += 1500;//towcar buisness
ExtortionSBiz(8, 100);
SBizzData[8][sbProducts]--;
}
else
{
GameTextForPlayer(playerid, "~w~Car is~n~in ~r~use", 5000, 1);
}
}
else
{
GameTextForPlayer(playerid, "~w~Nu ai masina personala", 5000, 1);
}
}
}
if(strcmp(x_nr,"tow2",true) == 0)
{
if(IsPlayerConnected(playerid))
{
new car = PlayerData[playerid][pPcarkey2];
GetPlayerName(playerid, playername, sizeof(playername));
if (car != 999 && strcmp(playername, CarData[PlayerData[playerid][pPcarkey2]][cOwner], true) == 0)
{
if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)))
{
SendClientMessage(playerid, COLOR_GREY, " Acum intr-o misiune, nu poti folosi aceasta comanda !");
return 1;
}
if(SBizzData[8][sbProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1);
return 1;
}
if(CarTow(car))
{
GameTextForPlayer(playerid, "~w~Car~n~~g~Towed~n~~r~$-1500", 5000, 1);
GivePlayerCash(playerid,-1500);
SetVehicleToRespawn(car);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
SBizzData[8][sbTill] += 1500;//towcar buisness
ExtortionSBiz(8, 100);
SBizzData[8][sbProducts]--;
}
else
{
GameTextForPlayer(playerid, "~w~Car is~n~in ~r~use", 5000, 1);
}
}
else
{
GameTextForPlayer(playerid, "~w~Nu ai masina personala", 5000, 1);
}
}
}
if(strcmp(x_nr,"tow3",true) == 0)
{
if(IsPlayerConnected(playerid))
{
new car = PlayerData[playerid][pPcarkey3];
GetPlayerName(playerid, playername, sizeof(playername));
if (car != 999 && strcmp(playername, CarData[PlayerData[playerid][pPcarkey3]][cOwner], true) == 0)
{
if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)))
{
SendClientMessage(playerid, COLOR_GREY, " Acum intr-o misiune, nu poti folosi aceasta comanda !");
return 1;
}
if(SBizzData[8][sbProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1);
return 1;
}
if(CarTow(car))
{
GameTextForPlayer(playerid, "~w~Car~n~~g~Towed~n~~r~$-1500", 5000, 1);
GivePlayerCash(playerid,-1500);
SetVehicleToRespawn(car);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
SBizzData[8][sbTill] += 1500;//towcar buisness
ExtortionSBiz(8, 100);
SBizzData[8][sbProducts]--;
}
else
{
GameTextForPlayer(playerid, "~w~Car is~n~in ~r~use", 5000, 1);
}
}
else
{
GameTextForPlayer(playerid, "~w~Nu ai masina personala", 5000, 1);
}
}
}[/pawn]
-
Nume: H3ater
Problemă întâlnită: intru pe server , dau sa scriu parola , o scriu si dupa iar imi cere sa o scriu si tot asa.. imi apare ca contul nu exista
Ce am încercat până acum: Prima data am intrat in phpMyAdmin sa intru in tabelu Players. Imi dadea o erroare ce am reusit sa o rezolv. Am facut conexiunea la baza de date(primeam raspuns pozitiv). M-am uitat in mysql-log si imi zice ca acel cont e creat cu succes.. dar nu s-a creat
Codul sursa/Log/Altele: folosesc gm-ul Intoxicated v1.0 ce este pe net..
-
Nume: H3ater
Nume tutorial: /Factions /Job system si editare cladiri(texture/culoare)
Descriere: As dori un tutorial pentru crearea urmatoarelor sisteme
1) Cand tastezi /factiuni||/factions sa se afiseze urmatoarea: 1)Factiune - Leader[status] - membri[n/10]
Exzemplu 1) police departament | Leader:Ilie(online/offline) | membri: 1/10 (cand e full sa scrie :nu recruteaza)
2) cand se tasteaza /jobs sa apara jobu, cati sunt angajati si cat se castiga
ceva in genu acesta
3) Am vazut pe unele servare ca police departament a fost editata. Adica tot aceeasi cladire este numa cu o alta textura mai frumoasa
-
Nume: H3ater
Nume tutorial: /Factions /Job system si editare cladiri(texture/culoare)
Descriere: As dori un tutorial pentru crearea urmatoarelor sisteme
1) Cand tastezi /factiuni||/factions sa se afiseze urmatoarea: 1)Factiune - Leader[status] - membri[n/10]
Exzemplu 1) police departament | Leader:Ilie(online/offline) | membri: 1/10 (cand e full sa scrie :nu recruteaza)
2) cand se tasteaza /jobs sa apara jobu, cati sunt angajati si cat se castiga
ceva in genu acesta
3) Am vazut pe unele servare ca police departament a fost editata. Adica tot aceeasi cladire este numa cu o alta textura mai frumoasa
Problema pornire server
in Arhivă probleme
Posted
Am rezolvat.
Va multumesc. Cine intampina o asemenea problema ,folositi pluginurile '_static.so' si conectarea bazei de date cu '127.0.0.1'