-
Posts
10 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
News
Documentation
Posts posted by AlaDyn172
-
-
Schimbă în server.cfg linia:
plugins mysql sscanf streamer Whirlpool GeoIP_Plugin nativechecker crashdetect
în:
plugins mysql.so sscanf.so streamer.so Whirlpool.so GeoIP_Plugin.so nativechecker.so crashdetect.so
-
Schimbă din:
format(string,sizeof(string),"UPDATE users SET `WantedLevel`='0' WHERE `name`='%s'",sendername, giveplayer);
în:
format(string,sizeof(string),"UPDATE users SET `WantedLevel`='0' WHERE `name`='%s'", giveplayer);
Spune-mi dacă merge.
-
On 5/15/2017 at 0:14 PM, Casio said:
A nu ca ma enervez si nu mai fac nimic.
Nimic nu imi iese frate.. nu stiu de ce nu merge..
Faci așa:
{ format(gString, sizeof(gString), "{00FFFF}%s{FFFFFF}", variabila_nume_admin); AdminName = gString; }
- 1
-
Ne poți spune mai multe informații despre gamemode-ul pe care îl folosești? Ca să te putem ajuta.
-
On 5/1/2017 at 5:06 PM, ValyYellow said:
Am inchis server.exe si ramane salvat contul de data asta..hmm
Păi înseamnă că nu se salvează o variabilă în baza de date ca să recunoască că ai terminat tutorialul...
Iar faza că dacă închizi server.exe se salvează ... habar nu am.
-
+Thanks. Am avut nevoie de așa ceva pentru Discord, că găseam pentru alte chestii.
-
Și dacă lași server.exe deschis și dai quit și intri iar, tot aceeași problemă ai?
Dacă da, înseamnă că nu se salvează variabilă cum că ai terminat tutorialul
-
Te duci la OnDialogResponse și vezi dacă ai:
if(dialogid == DIALOG_TRUCK) {//}
Dacă ai, faci în felul următor:
if(dialogid == DIALOG_TRUCK) { if(response) { //COD DUPĂ CE APASĂ BUTONUL 'Select'. } else { new masina = GetPlayerVehicleID(playerid); DestroyVehicle(masina); } }
Dacă te-am ajutat, te rog să apeși pe butonul "/\", mulțumesc!
- 1
-
Când deschid server-ul meu de SA:MP, îmi dă această eroare:
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [09:55:38] [09:55:38] Server Plugins [09:55:38] -------------- [09:55:38] Loading plugin: crashdetect.so [09:55:38] CrashDetect v4.15.1 is OK. [09:55:38] Loaded. [09:55:38] Loading plugin: sscanf.so [09:55:38] [09:55:38] =============================== [09:55:38] sscanf plugin loaded. [09:55:38] (c) 2009 Alex "Y_Less" Cole [09:55:38] 0.3d-R2 500 Players "dnee" [09:55:38] =============================== [09:55:38] Loaded. [09:55:38] Loading plugin: streamer.so [09:55:38] *** Streamer Plugin v2.7.8 by Incognito loaded *** [09:55:38] Loaded. [09:55:38] Loading plugin: mysql.so [09:55:38] > MySQL plugin R6-2 successfully loaded. [09:55:38] Loaded. [09:55:38] Loading plugin: wp.so [09:55:38] [09:55:38] ================== [09:55:38] [09:55:38] Whirlpool loaded [09:55:38] [09:55:38] ================== [09:55:38] [09:55:38] Loaded. [09:55:38] Loaded 5 plugins. [09:55:38] [09:55:38] Ban list [09:55:38] -------- [09:55:38] Loaded: samp.ban [09:55:38] [09:55:38] [09:55:38] Filterscripts [09:55:38] --------------- [09:55:38] Loaded 0 filterscripts. [09:55:38] [debug] Run time error 19: "File or function is not found" [09:55:38] [debug] cache_get_row_count [09:55:38] [debug] cache_delete [09:55:38] [debug] mysql_tquery [09:55:38] [debug] cache_get_data [09:55:38] [debug] cache_get_field_content_int [09:55:38] [debug] cache_get_field_content [09:55:38] [debug] cache_get_field_content_float [09:55:38] [debug] mysql_log [09:55:38] [debug] cache_get_row_int [09:55:38] [debug] cache_get_row_float [09:55:38] [debug] mysql_escape_string [09:55:38] [debug] Run time error 19: "File or function is not found" [09:55:38] [debug] cache_get_row_count [09:55:38] [debug] cache_delete [09:55:38] [debug] mysql_tquery [09:55:38] [debug] cache_get_data [09:55:38] [debug] cache_get_field_content_int [09:55:38] [debug] cache_get_field_content [09:55:38] [debug] cache_get_field_content_float [09:55:38] [debug] mysql_log [09:55:38] [debug] cache_get_row_int [09:55:38] [debug] cache_get_row_float [09:55:38] [debug] mysql_escape_string [09:55:38] Script[gamemodes/AlaDyn172.amx]: Run time error 19: "File or function is not found" [09:55:38] Number of vehicle models: 0
EDIT:
server.cfg arată așa:
echo Executing Server Config... lanmode 0 rcon_password * maxplayers 100 port 7777 rcon 0 hostname * gamemode0 AlaDyn172 1 plugins crashdetect.so sscanf.so streamer.so mysql.so wp.so profile_gamemode 1 profile_format html announce 0 query 1 weburl * onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 10 language Romanian
EDIT.2:
Server-ul îl țin pe un HOST (Ubuntu 14.04) (VPS).
Include
in Ajutor Scripting
Posted
Dacă te referi la gamemode-ul B-HOOD, am eu include-ul booter.inc,
poftim:
Un +1, dacă te-am ajutat.
Booter.inc