Kickuje NPC-a sa servera.

Započeo Kain
18. Feb. 2019. Zaključano
828
pregleda
10
postova
Stefan Hacker
4
Made Man
18. Feb. 2019.
Problem(error/warning): Kickuje NPC-a sa servera
Dio skripte: [ pawn ]Underpoint mod ovo je samo filterscripta[ /pawn ]
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): http://prntscr.com/mmmkre
[11:57:53]  
[11:57:53]  =======================================
[11:57:53]  |                                    |
[11:57:53]  |        YSI version 1.04.0000        |
[11:57:53]  |        By Alex "Y_Less" Cole        |
[11:57:53]  |                                    |
[11:57:53]  |  Checking the latest YSI version..  |
[11:57:53]  |                                    |
[11:57:53]  =======================================
[11:57:53] 
[11:57:55] Ucitana server podesavanja.
[11:57:55] Ucitana podesavanja organizacija.
[11:57:55] |==============================================|
[11:57:55] |            Underpoint RolePlay              |
[11:57:55] |                  UP:RP                      |
[11:57:55] |              by gReeDy.aMx                  |
[11:57:56] |            Scripter gReeDy.aMx              |
[11:57:56] |            Maper Lemi & Nino                |
[11:57:56] |            Script Version v0.1              |
[11:57:56] |        Community Owner gReeDy.aMx          |
[11:57:56] |==============================================|
[11:57:56] Number of vehicle models: 79
[11:57:56] 
[11:57:56]  ========================================
[11:57:56]  |                                      |
[11:57:56]  |  Could not connect to update server  |
[11:57:56]  |    at this time, (your code will    |
[11:57:56]  |  still work (response was 404)).    |
[11:57:56]  |                                      |
[11:57:56]  ========================================
[11:57:56] 
[11:57:56] 127.0.0.1:50725 requests connection cookie.
[11:57:56] 127.0.0.1:50724 requests connection cookie.
[11:57:57] incoming connection: 127.0.0.1:50724 id: 0
[11:57:57] incoming connection: 127.0.0.1:50725 id: 1
[11:57:57] [npc:join] BlueBusDriver has joined the server (0:127.0.0.1)
[11:57:57] [npc:join] BlackBusDriver has joined the server (1:127.0.0.1)
[11:58:00] NPC: OnPlayerRequestClass: 0
[11:58:00] NPC: OnPlayerRequestClass: 1
[11:58:01] [npc:part] BlueBusDriver has left the server (0:2)
[11:58:01] [npc:part] BlackBusDriver has left the server (1:2)
RahimPAWNO
5
OG Legend
18. Feb. 2019.
if(!IsPlayerNPC(playerid))
Stefan Hacker
4
Made Man
18. Feb. 2019.
Bašovski wrote on February 18, 2019, 1:29 pm:
if(!IsPlayerNPC(playerid))

public OnPlayerSpawn(playerid)
{
if(UlogovanProvera == 0 && !IsPlayerNPC(playerid))

Ima ovde samo,stavio sam i kod OnPlayerConnect
RahimPAWNO
5
OG Legend
18. Feb. 2019.
Vjerovatno ga kickuje u OnPlayerConnect, stavi citav kod od OnPlayerConnect u if( !IsPlayerNPC( playerid ) ) { ovdje } u OPC.
Stefan Hacker
4
Made Man
18. Feb. 2019.
Bašovski wrote on February 18, 2019, 1:37 pm:
Vjerovatno ga kickuje u OnPlayerConnect, stavi citav kod od OnPlayerConnect u if( !IsPlayerNPC( playerid ) ) { ovdje } u OPC.

ne kontam sta zelis reci..
Stefan Hacker
4
Made Man
18. Feb. 2019.
Bašovski wrote on February 18, 2019, 1:37 pm:
Vjerovatno ga kickuje u OnPlayerConnect, stavi citav kod od OnPlayerConnect u if( !IsPlayerNPC( playerid ) ) { ovdje } u OPC.

http://prntscr.com/mmpek1
stavljao i ovako i u zagradama i opet nece.. kicka
Danisoni
5
Godfather
18. Feb. 2019.
OnPlayerConnect
if(IsPlayerNPC(playerid)) return 1;

Ako trebaš nešto striktno postavit NPCu na konektu, jednostavno to zamjeni sa 1 u returnu.
Tako i gdje ga kikuje, jer može da ga kikuje antičit recimo za port u vozila.
Luka_Hrsak
5
Underboss
18. Feb. 2019.
Ne zaboravi i podesiti maxnpc u server.cfg 😉
Stefan Hacker
4
Made Man
18. Feb. 2019.
Slade wrote on February 18, 2019, 2:13 pm:
OnPlayerConnect
if(IsPlayerNPC(playerid)) return 1;

Ako trebaš nešto striktno postavit NPCu na konektu, jednostavno to zamjeni sa 1 u returnu.
Tako i gdje ga kikuje, jer može da ga kikuje antičit recimo za port u vozila.

ne verujem da Underpoint by Greedy.aMx ima taj anticit.
Ghetoven wrote on February 18, 2019, 2:21 pm:
Ne zaboravi i podesiti maxnpc u server.cfg 😉

Podesio sam bio
Stefan Hacker
4
Made Man
18. Feb. 2019.
http://prntscr.com/mmq4fb
nzm cemu sluzi ovaj folder,da nije nesto do njega..
//EDIT Ocigledno nije do njega jer sam ga del..
Zna neko stavljao sam sve zivo i nece  😢

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha