• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [SOLVED] spawned NPC just stands normally like an actor AFK in general
#5
On top of OnPlayerConnect, OnPlayerRequestSpawn, and OnPlayerSpawn callbacks. Check the player is a NPC, then return 1.

PHP Code:

if(IsPlayerNPC(playerid)) return 1;

By doing this you are passing the NPC through the login or register.

That was working at my game mode. Thanks
  Reply


Messages In This Thread
RE: Help spawned NPC just stands normally like an actor AFK in general - by PutuSuhartawan - 2021-03-14, 06:56 PM

Forum Jump: