#1

How can I Connect NPC ??

I'm using this Filter Script
And i have .Rec File
But idk what to do....
Reply
#2

Hello oktok1,

In order to connect a NPC you have to allow "him" connect by passing some conditions like if there is a register system or a NPC limit (MAX_NPC).Check if the NPC joins correctly or spawn and then disconnects it might be an issue in your script.Anyway you can read the sa-mp wiki as it is very useful.

Category : NPC - SA-MP Wiki

Greetings.
Reply
#3

Quote:
Originally Posted by Habitual
Посмотреть сообщение
Hello oktok1,

In order to connect a NPC you have to allow "him" connect by passing some conditions like if there is a register system or a NPC limit (MAX_NPC).Check if the NPC joins correctly or spawn and then disconnects it might be an issue in your script.Anyway you can read the sa-mp wiki as it is very useful.

Category : NPC - SA-MP Wiki

Greetings.
Thnx,
Reply
#4

Link of Tutorial NPC :

https://sampforum.blast.hk/showthread.php?tid=355372

How to Connect NPC To Server :

First of all, before entering the script you want to add the NPC to, you'll have to know a few things:
- NPCs are almost like normal players for the server. They're taking a slot but can't be viewed from player lists. To make sure that we have place for the npcs, we need to take a look at the server.cfg: there are variable names "maxnpcs" which means the limit of NPCs that can connect to the server at once. It is recommended to set it as the exact number of NPCs that should be connected to the server.
- After connecting an NPC to the server, it will stay connected, as long you don't kick him from the server. If his playback ends, and it isn't using a loop, it will still be connected without a playback to play. When a gamemode ends, all of the players are getting out of the servers until the next gamemode loaded, it contains the NPCs too - if the gamemode changes they will quit as all the players, but they'll not return because they need a script to connect them.

( Taken from Tutorial )
Reply
#5

Quote:
Originally Posted by Ultraz
Посмотреть сообщение
Link of Tutorial NPC :

https://sampforum.blast.hk/showthread.php?tid=355372

How to Connect NPC To Server :

First of all, before entering the script you want to add the NPC to, you'll have to know a few things:
- NPCs are almost like normal players for the server. They're taking a slot but can't be viewed from player lists. To make sure that we have place for the npcs, we need to take a look at the server.cfg: there are variable names "maxnpcs" which means the limit of NPCs that can connect to the server at once. It is recommended to set it as the exact number of NPCs that should be connected to the server.
- After connecting an NPC to the server, it will stay connected, as long you don't kick him from the server. If his playback ends, and it isn't using a loop, it will still be connected without a playback to play. When a gamemode ends, all of the players are getting out of the servers until the next gamemode loaded, it contains the NPCs too - if the gamemode changes they will quit as all the players, but they'll not return because they need a script to connect them.

( Taken from Tutorial )
LMFAO!!!
already Done
are u blind?!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)