Problem oko ownera kapije

Započeo LuGiCH, Februar 22, 2019, 15:42:38 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Na server imam komandu da napravim kapiju da je namestim kako je poput attachmenta i da namestim da je owner org/player. Kada to uradim napravi se u scriptfiles fajl i tu pise ko je Owner i sve to. Meni treba da svi mogu da otvore kapiju. Ako moze pomoc hvala.
Dio skripte: [ pawn ]Owner =
Model = 980
For = 1
OrgID = 6
Speed = 2.000000
Radius = 8.000000
Time = 7000
Pos1 = 1025.986083
Pos2 = -2063.532958
Pos3 = 14.312736
Pos4 = 0.000000
Pos5 = 0.000000
Pos6 = -100.599594
Interior = 0
World = 0
Move1 = 1025.986083
Move2 = -2063.532958
Move3 = 9.102732
Move4 = 0.000000
Move5 = 0.000000
Move6 = -100.599594
[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]//[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): ///
Poslednja Izmena: Februar 25, 2019, 17:51:19 POSLE PODNE od Bašovski

Pokusaj ovako
[pawn]
Owner = ""
Model = 980
For = 1
OrgID = 6
Speed = 2.000000
Radius = 8.000000
Time = 7000
Pos1 = 1025.986083
Pos2 = -2063.532958
Pos3 = 14.312736
Pos4 = 0.000000
Pos5 = 0.000000
Pos6 = -100.599594
Interior = 0
World = 0
Move1 = 1025.986083
[/pawn]

Probao sam vec i da ostavim prazno i -1 i "" ne radi


OrgID = 6 obrati paznju na ovo povezana je sa org.
HARD WORK BEATS TALENT

Ne, to je samo primer. U toj kapiji je Org= -1

Hocu napraviti granicu, zato zelim da svi mogu da koriste. Ako mozda znas neki fs za dinamicno kreiranje granica bilo bi korisno.

Citat: LuGiCH poslato Februar 22, 2019, 23:19:23 POSLE PODNE
Hocu napraviti granicu, zato zelim da svi mogu da koriste. Ako mozda znas neki fs za dinamicno kreiranje granica bilo bi korisno.
Imas u athlone modu sistem granica( koliko znam ) da se sa /granica otvara rampa pa eto pogledaj

Pa napravi tako kapiju IG pa uzmi koordinate i u mod povezi sa komandom granica to ti je bar lako.
HARD WORK BEATS TALENT

Ubacio iz athlone moda u skriptu, proverio sve fs i forwarde izlazi error C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Compiler\include\newsamp.inc(444) : error 017: undefined symbol "CB_OnGameModeInit"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Compiler\include\newsamp.inc(712) : error 017: undefined symbol "CB_OnPlayerUpdate"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Compiler\include\newsamp.inc(753) : error 017: undefined symbol "CB_OnPlayerStateChange"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Compiler\include\newsamp.inc(794) : error 017: undefined symbol "CB_OnPlayerKeyStateChange"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Compiler\include\progress2.inc(336) : error 017: undefined symbol "ppb_OnPlayerDisconnect"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(4467) : error 017: undefined symbol "ResetujAdmina"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(5348) : error 017: undefined symbol "SaveServerStats"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(5559) : error 017: undefined symbol "SavePlayer"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(5818) : error 017: undefined symbol "SaveStareParove"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(6709) : error 017: undefined symbol "SaveServerStats"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(6732) : error 017: undefined symbol "SaveServerStats"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(6752) : error 017: undefined symbol "SaveServerStats"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(12588) : error 004: function "SaveVehicle" is not implemented
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(12930) : error 004: function "SaveVehicle" is not implemented
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(14621) : error 004: function "SaveBussines" is not implemented
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(14721) : error 017: undefined symbol "SavePlayer"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(14933) : error 004: function "SaveBussines" is not implemented
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(14967) : error 004: function "SaveProperty" is not implemented
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(15017) : error 004: function "SaveVehicle" is not implemented
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(15176) : error 017: undefined symbol "Dimi_Kick"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(15187) : error 017: undefined symbol "VehicleObjectCheck"
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(15444) : error 004: function "PorukaRadius" is not implemented
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(15823) : error 004: function "PorukaRadius" is not implemented
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(16249) : error 004: function "SaveProperty" is not implemented
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(16254) : error 004: function "SaveProperty" is not implemented
C:\Users\Luka\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(16259) : error 004: function "SaveProperty" is not implemented

jednostavno izvuci iz athlona

credits: Xunder, Ino420, Muma

Citat: Pottus;3903994SetPlayerPos("dreni1998", 666.666, 666.666, 666.666, 666.666);    ///// GO IN HELL MOTHERFUCKER

https://i.imgur.com/XHLx9oj.gif
https://i.ibb.co/ZJqQKWT/NXRX.gif

probaj da obrises samo Owner i Org id ili stavi "" na oba
nadam se da sam pomogao 8)  ;D

Nece sve iz Ath izvlaciti, stavi orgid na 0 jer org idovi krecu od 1 a ako krecu od 0 pak stavi -1 i onda proveru na key-u ako je -1 || tamo gde je provra da li je inace clan org

HVALA MNOGO POMOGLI STE MI SVI LJUBIM VAS U USTA <33