Skripta koju koristim:DM
Detaljan opis problema: Downloado sam jedan .pwn file i sad ubacio ga napisao u server.cfg ime moda i sve i kad ocu da idem samp-srw samo migne onaj crni prozor... ???
Dio skripte: //
Slike: pa migne samo xd :D
Posalji Server.cfg da vidimo sta si tamo odradio usput da bih srw radio mora imati .amx fajl a dobijes ga tako sto preko pawna otvoris .pwn fajl i uradis compile...
moze download link za dini i kak obuaciti xd
EDit:mislim da je do .amx file
dodje ovo
moze download link za dini i kak obuaciti xd
C:\Users\pc\Desktop\Binary Team\pawno\include\dini.inc(24) : fatal error 100: cannot read from file: "dutils"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
#include <a_samp>
main()
{
print("\n----------------------------------");
print(" HGT Freroam ");
print("----------------------------------\n");
}
#include <foreach>
#include <zcmd>
#include <YSI\y_ini>
#include <foreach>
#include <dini>
//#include <streamer>
#include <sscanf2>
new Text:Ulaz1;
new Text:Ulaz2;
new Text:Ulaz3;
new Text:Ulaz4;
new Text:Ulaz5;
new Text:Ulaz6;
new Text:Ulaz7;
#define Narandasta 0xFF9900AA
//////////////////////////////////////////////
forward CommandPerformed(playerid, cmdtext[], success);
////////////////////////////////////////////
#define PATH "/Korisnici/%s.ini"
#define BAN_PATH "/Banovi/%s.ini"
#pragma unused strtok
#pragma unused ret_memcpy
#define GivePlayerCash
#pragma unused strtok
#pragma tabsize 0
//////////////////////////////////////////////
new ObjektSirena[MAX_VEHICLES];
new Text:T63;
new Sirena[MAX_VEHICLES];
#define PRESSED(%0) \
(((newkeys&(%0))==(%0)) && ((oldkeys & (%0)) != (%0)))
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define PlayerName
#define Create3DTextLabel
#define SCM SendClientMessage
#define SCMToAll SendClientMessageToAll
#define funkcija:%0(%1) forward %0(%1); \
public %0(%1)
new bool:DJDuznost[MAX_PLAYERS] = false;
new Text3D:Text;
server.cfg
echo Executing Server Config...
lanmode 0
rcon_password 123
maxplayers 100
port 7777
hostname Binary Team DM
gamemode0 DM 1
filterscripts
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
Dini je obican includ koji ubacis u svoj pawno/include i onda otvoris mod preko pawna i definises taj inc u svoj mod ispod a_samp inca i uradis compile... Kucaj na google samp dini includ i pronacices moras se malo snalaziti a ne sve na tacnu :P
hah ma snasao sam se i ubacioo.. samo nisam stigao editovat ovo gore kopirao i potsavljao :)
Jesi sve resio ili i dalje imas ovaj error koji si postavio kada si editovao post ?
Jos uvjek miga
pa poslao sam server.cfg
Poslaji server_log da vidim do cega je.Inace mod meni radi.
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[22:06:10] filterscripts = "" (string)
[22:06:10]
[22:06:10] Server Plugins
[22:06:10] --------------
[22:06:10] Loaded 0 plugins.
[22:06:10]
[22:06:10] Filterscripts
[22:06:10] ---------------
[22:06:10] Loaded 0 filterscripts.
[22:06:10] Script[gamemodes/Deko.amx]: Run time error 19: "File or function is not found"
[22:06:10] Number of vehicle models: 0
[22:06:34] Incoming connection: 192.168.195.253:55711
[22:06:34] [join] Dekoo has joined the server (0:192.168.195.253)
[22:06:49] [part] Dekoo has left the server (0:1)
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[22:11:45] filterscripts = "" (string)
[22:11:45]
[22:11:45] Server Plugins
[22:11:45] --------------
[22:11:45] Loaded 0 plugins.
[22:11:45]
[22:11:45] Filterscripts
[22:11:45] ---------------
[22:11:45] Loaded 0 filterscripts.
[22:11:45] Script[gamemodes/Deko.amx]: Run time error 19: "File or function is not found"
[22:11:45] Number of vehicle models: 0
[22:12:05] Incoming connection: 192.168.195.253:63520
[22:12:05] [join] Dekoo has joined the server (0:192.168.195.253)
[22:12:08] [part] Dekoo has left the server (0:1)
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[22:12:29] filterscripts = "" (string)
[22:12:29]
[22:12:29] Server Plugins
[22:12:29] --------------
[22:12:29] Loaded 0 plugins.
[22:12:29]
[22:12:29] Filterscripts
[22:12:29] ---------------
[22:12:29] Loaded 0 filterscripts.
[22:12:29] Script[gamemodes/Deko.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[22:12:29] Number of vehicle models: 21
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[10:27:30] filterscripts = "" (string)
[10:27:30]
[10:27:30] Server Plugins
[10:27:30] --------------
[10:27:30] Loaded 0 plugins.
[10:27:30]
[10:27:30] Filterscripts
[10:27:30] ---------------
[10:27:30] Loaded 0 filterscripts.
[10:27:30] Script[gamemodes/BT.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[10:27:30] Number of vehicle models: 2
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[10:27:55] filterscripts = "" (string)
[10:27:55]
[10:27:55] Server Plugins
[10:27:55] --------------
[10:27:55] Loaded 0 plugins.
[10:27:55]
[10:27:55] Filterscripts
[10:27:55] ---------------
[10:27:55] Loaded 0 filterscripts.
[10:27:55] Script[gamemodes/BT.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[10:27:55] Number of vehicle models: 2
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[12:17:00] filterscripts = "" (string)
[12:17:00]
[12:17:00] Server Plugins
[12:17:00] --------------
[12:17:00] Loaded 0 plugins.
[12:17:01]
[12:17:01] Filterscripts
[12:17:01] ---------------
[12:17:01] Loaded 0 filterscripts.
[12:17:01]
[12:17:01]
[12:17:01]
[12:17:01] =======================================
[12:17:01] | |
[12:17:01] | YSI version 3.09.0684 |
[12:17:01] | By Alex "Y_Less" Cole |
[12:17:01] | |
[12:17:01] =======================================
[12:17:01]
[12:17:01]
[12:17:01]
[12:17:01] Script[gamemodes/BT.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[12:17:01] Number of vehicle models: 21
[12:17:19] Incoming connection: 192.168.195.253:59339
[12:17:20] [join] Dekoo_Deko has joined the server (0:192.168.195.253)
[12:17:24] *** YSI Error: INI_Open could not find or create file /Users/Dekoo_Deko.ini
[12:17:43] *** YSI Error: INI_Open could not find or create file /Users/Dekoo_Deko.ini
[12:17:43] [part] Dekoo_Deko has left the server (0:1)
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[12:19:57] filterscripts = "" (string)
[12:19:57]
[12:19:57] Server Plugins
[12:19:57] --------------
[12:19:57] Loaded 0 plugins.
[12:19:57]
[12:19:57] Filterscripts
[12:19:57] ---------------
[12:19:57] Loaded 0 filterscripts.
[12:19:57] Script[gamemodes/BT.amx]: Run time error 19: "File or function is not found"
[12:19:57] Number of vehicle models: 0
[12:20:16] Incoming connection: 192.168.195.253:50206
[12:20:16] [join] Dekoo_Deko has joined the server (0:192.168.195.253)
[12:20:57] [part] Dekoo_Deko has left the server (0:1)
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[12:21:46] filterscripts = "" (string)
[12:21:46]
[12:21:46] Server Plugins
[12:21:46] --------------
[12:21:46] Loaded 0 plugins.
[12:21:46]
[12:21:46] Filterscripts
[12:21:46] ---------------
[12:21:46] Loaded 0 filterscripts.
[12:21:46] Script[gamemodes/BT.amx]: Run time error 19: "File or function is not found"
[12:21:46] Number of vehicle models: 0
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[12:23:21] filterscripts = "" (string)
[12:23:21]
[12:23:21] Server Plugins
[12:23:21] --------------
[12:23:21] Loaded 0 plugins.
[12:23:21]
[12:23:21] Filterscripts
[12:23:21] ---------------
[12:23:21] Loaded 0 filterscripts.
[12:23:21] Script[gamemodes/BT.amx]: Run time error 19: "File or function is not found"
[12:23:21] Number of vehicle models: 0
[12:23:39] Incoming connection: 192.168.195.253:56558
[12:23:39] [join] Dekoo_Deko has joined the server (0:192.168.195.253)
[12:23:45] [part] Dekoo_Deko has left the server (0:1)
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[12:24:37] filterscripts = "" (string)
[12:24:37]
[12:24:37] Server Plugins
[12:24:37] --------------
[12:24:37] Loaded 0 plugins.
[12:24:37]
[12:24:37] Filterscripts
[12:24:37] ---------------
[12:24:37] Loaded 0 filterscripts.
[12:24:37]
[12:24:37]
[12:24:37]
[12:24:37] =======================================
[12:24:37] | |
[12:24:37] | YSI version 3.09.0684 |
[12:24:37] | By Alex "Y_Less" Cole |
[12:24:37] | |
[12:24:37] =======================================
[12:24:37]
[12:24:37]
[12:24:37]
[12:24:37] Script[gamemodes/BT.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[12:24:37] Number of vehicle models: 21
[12:25:07] Incoming connection: 192.168.195.253:64253
[12:25:07] [join] Dekoo_Deko has joined the server (0:192.168.195.253)
[12:26:08] [part] Dekoo_Deko has left the server (0:1)
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[16:44:35] filterscripts = "" (string)
[16:44:35]
[16:44:35] Server Plugins
[16:44:35] --------------
[16:44:35] Loaded 0 plugins.
[16:44:35] I couldn't load any gamemode scripts. Please verify your server.cfg
[16:44:35] It needs a gamemode0 line at the very least.
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[16:44:35] filterscripts = "" (string)
[16:44:35]
[16:44:35] Server Plugins
[16:44:35] --------------
[16:44:35] Loaded 0 plugins.
[16:44:35] I couldn't load any gamemode scripts. Please verify your server.cfg
[16:44:35] It needs a gamemode0 line at the very least.
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[16:44:43] filterscripts = "" (string)
[16:44:43]
[16:44:43] Server Plugins
[16:44:43] --------------
[16:44:43] Loaded 0 plugins.
[16:44:43] I couldn't load any gamemode scripts. Please verify your server.cfg
[16:44:43] It needs a gamemode0 line at the very least.
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[16:45:21] filterscripts = "" (string)
[16:45:21]
[16:45:21] Server Plugins
[16:45:21] --------------
[16:45:21] Loaded 0 plugins.
[16:45:21] I couldn't load any gamemode scripts. Please verify your server.cfg
[16:45:21] It needs a gamemode0 line at the very least.
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[16:45:22] filterscripts = "" (string)
[16:45:22]
[16:45:22] Server Plugins
[16:45:22] --------------
[16:45:22] Loaded 0 plugins.
[16:45:22] I couldn't load any gamemode scripts. Please verify your server.cfg
[16:45:22] It needs a gamemode0 line at the very least.
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[16:48:09] filterscripts = "" (string)
[16:48:09]
[16:48:09] Server Plugins
[16:48:09] --------------
[16:48:09] Loaded 0 plugins.
[16:48:09] I couldn't load any gamemode scripts. Please verify your server.cfg
[16:48:09] It needs a gamemode0 line at the very least.
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[18:35:17] filterscripts = "" (string)
[18:35:17]
[18:35:17] Server Plugins
[18:35:17] --------------
[18:35:17] Loaded 0 plugins.
[18:35:17] I couldn't load any gamemode scripts. Please verify your server.cfg
[18:35:17] It needs a gamemode0 line at the very least.
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[19:21:36] filterscripts = "" (string)
[19:21:36]
[19:21:36] Server Plugins
[19:21:36] --------------
[19:21:36] Loaded 0 plugins.
[19:21:36] I couldn't load any gamemode scripts. Please verify your server.cfg
[19:21:36] It needs a gamemode0 line at the very least.
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[19:21:36] filterscripts = "" (string)
[19:21:36]
[19:21:36] Server Plugins
[19:21:36] --------------
[19:21:36] Loaded 0 plugins.
[19:21:37] I couldn't load any gamemode scripts. Please verify your server.cfg
[19:21:37] It needs a gamemode0 line at the very least.
Zanimljivo je to da koristis sscanf a nemas njegov plugin :D za streamer vidim ne koristis... A u Server.cfg nemas ni 1 plugin a koristis sscanf.
Sredi ti te pluginse kako treba i to je to
hah ??? de objasni sta trebam xd??
Vecinom slucajeva se koriste 2 pluginsa, streamer i sscanf. Dovoljno je ukucati na google samp i sta ti treba i dobijes sve i svasta... Ali ajde poslacu ti
Streamer - http://forum.sa-mp.com/showthread.php?t=102865
Sscanf - http://forum.sa-mp.com/showthread.php?t=120356
Tu imas i objasnjenje kako da ubacis i pored toga ima jos par objasnjenja...
ali ja imam te pluginse
http://i.imgur.com/JnrAyKA.png
Ovo sto si ti meni poslao su includi a pluginsi ti stoje u folderu plugins ali naravno imaju oni i svoje include
Takodje trebas u Server.cfg to ti nisam rekao staviti plugins i ovde stavljas koje hoces
imam i pluginse u plignis folder u u server.cfg upisano sve imam i opet nece :'( xd
Nece zato sto nesto nisi dobro uradio icigledno a na linku za streamer imas objasnjenje kako se ubacuje a sscanf malte ne ide isto kao i streamer mislim na ubacivanje...
na sta konkretno mislis skriptu ili?
Edit:Ako neko moze da napravi(objasni kako)napraviti mod 'osnovni' samo spawn da ima pa cu ja naknadno doradjivati to... plss ;D
http://wiki.sa-mp.com/wiki/SetSpawnInfo
// 36 Sawnoff-Shotgun rounds and 150 Tec9 rounds.
SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
kako sad da promjenim ak moze primjer xd oruzje da promjenim
isuse, proÄitaj ti malo samp wiki. neće ti niko sve radit kako ti želiÅ¡..
hah ok,a smijem pitat kako napraviti neku reg/login dobru finu da ubacim na srw....tj. da ne bude osnovna ona :)
ako ima TuT(tekstualni :) )
pa imaš milijun tutoriala, samo koristi tražilicu
Pa sve osnovno da mi je da napravim reg/login sutra da bude makar 2/10 xd
http://balkan-samp.com/forum/index.php?topic=73731.0