Pomoc

Započeo DuSaN_, Februar 26, 2018, 20:04:57 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Kda ubacim mapu koja ima CreateDynamicObject  ovo mi izbaci moze pomoc plizz a kad ubacim CreateObject sve radi
Dio skripte:

        new tmpobjid;
        tmpobjid = CreateDynamicObject(19377, 1105.771972, 1054.659057, -21.026899, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 15041, "bigsfsave", "AH_flroortile9", 0x00000000);
	tmpobjid = CreateDynamicObject(19377, 1114.917358, 1051.132324, -19.080720, 0.000000, 90.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 3096, "bbpcpx", "blugrad32", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1105.352050, 1046.490234, -20.940299, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1107.559692, 1058.105346, -20.940299, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1100.534545, 1051.353271, -20.940299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1100.533813, 1060.983764, -20.940299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1096.426635, 1058.105346, -20.940299, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19443, 1101.991943, 1058.106567, -16.678100, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);







C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(22) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(23) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(24) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(25) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(26) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(27) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(28) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(29) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(30) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(31) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(32) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(33) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(34) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(35) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(36) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(37) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(38) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(39) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(40) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(41) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(42) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(43) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(44) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(45) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(46) : error 017: undefined symbol "CreateDynamicObject"
C:\Users\Dusan Jovanovic\Desktop\EliteTeam SAMP Server\filterscripts\MAPA.pwn(47) : error 017: undefined symbol "SetDynamicObjectMaterial"

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): //

stavi to pod ongamemodeinit()
public OnGameModeInit()
{
              new tmpobjid;
        tmpobjid = CreateDynamicObject(19377, 1105.771972, 1054.659057, -21.026899, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 15041, "bigsfsave", "AH_flroortile9", 0x00000000);
	tmpobjid = CreateDynamicObject(19377, 1114.917358, 1051.132324, -19.080720, 0.000000, 90.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 3096, "bbpcpx", "blugrad32", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1105.352050, 1046.490234, -20.940299, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1107.559692, 1058.105346, -20.940299, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1100.534545, 1051.353271, -20.940299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1100.533813, 1060.983764, -20.940299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1096.426635, 1058.105346, -20.940299, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19443, 1101.991943, 1058.106567, -16.678100, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
         return 1;
}
Respect to Muma187, Sivir, Ino420, Tosic, Shomy Script, σgí, [CG]Johnny, [WG]Danny
Alfa Gaming Community Owner & Skripter
Alfa Gaming mod edit:100%

Citat: Yannick poslato Februar 26, 2018, 20:24:58 POSLE PODNE
stavi to pod ongamemodeinit()
public OnGameModeInit()
{
              new tmpobjid;
        tmpobjid = CreateDynamicObject(19377, 1105.771972, 1054.659057, -21.026899, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 15041, "bigsfsave", "AH_flroortile9", 0x00000000);
	tmpobjid = CreateDynamicObject(19377, 1114.917358, 1051.132324, -19.080720, 0.000000, 90.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 3096, "bbpcpx", "blugrad32", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1105.352050, 1046.490234, -20.940299, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1107.559692, 1058.105346, -20.940299, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1100.534545, 1051.353271, -20.940299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1100.533813, 1060.983764, -20.940299, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19381, 1096.426635, 1058.105346, -20.940299, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
	tmpobjid = CreateDynamicObject(19443, 1101.991943, 1058.106567, -16.678100, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
	SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "scratchedmetal", 0x00000000);
         return 1;
}


TO VEC IMA

Postavi mi sve include koje imas

Ja mislim da nemas Includovan streamer

Imam strimer, mod je od skill arene v2.3

Citat: #Montana poslato Februar 26, 2018, 20:45:00 POSLE PODNE
Postavi mi sve include koje imas
#include < a_samp >
#undef MAX_PLAYERS
#define MAX_PLAYERS 500
#include < streamer >
#include < a_objects >
#include < fdialog >
#include <fly>
#include < JunkBuster >
//#include < crashdetect >
#include < morphinc >
#include < YSI\y_ini >
#include < YSI\y_amx >
#include < YSI\y_commands >
#include < YSI\y_timers >
#include < sscanf2 >
#include < EVD >
#include < Dini >
#include < foreach >
#include <RouteConnector>
#pragma dynamic 20000//

pravila

@#Montana
@Yannick
@Adzo
i vi krsite pravila, nemojte da se ponovi :)
heroin rap - Moskri u kuci, od sledece lajne glava ce mi puci