NPC Problems
#1

Hello!I am trying to add a bus system to my RPG server.When I putted the FS(filterscript) and records I started my server and bots still stay in the middle of map and after few seconds(that's probably login/register system which work with mySQL database)they are kicked.I was trying on a blank gm(Grand Lacerny GM) and works fine.
What could I do?
Reply
#2

Put a
Quote:

If (!IsPlayerNPC(playerid))

Before your login or registery setup
Reply
#3

Actually, put:
Code:
If (!IsPlayerNPC(playerid)) return 1;
At the beginning of callbacks where you call login/register procedure or any other thing that must interact with player. (eg: OnPlayerConnect, OnPlayerRequestClass, OnPlayerRequestSpawn, OnPlayerSpawn etc)
Reply
#4

Quote:
Originally Posted by coool
View Post
Put a
Before your login or registery setup
Quote:
Originally Posted by Spmn
View Post
Actually, put:
Code:
If (!IsPlayerNPC(playerid)) return 1;
At the beginning of callbacks where you call login/register procedure or any other thing that must interact with player. (eg: OnPlayerConnect, OnPlayerRequestClass, OnPlayerRequestSpawn, OnPlayerSpawn etc)
thanks all...I found the solution about 1 month ago
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)