10.12.2011, 15:18
hi all my NPCs are joining then leaveing how do i fix this
public OnPlayerConnect(playerid)
{
if (IsPlayerNPC(playerid))
{
return 1;
}
}
|
Check the reason of leave (from server_log.txt), if it's 2 (kick) so the post above should fix the problem.
NPCs are almost exactly like regular players. OnPlayerConnect and the rest of the public functions affects them. |
art] Dancer5 has left the server (25:0)
art] FBI_7 has left the server (33:0)
art] FBI_3 has left the server (35:0)
art] DrinkServer has left the server (38:0)
art] Dancer14 has left the server (29:0)