Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Solved} Error


Zzbrandon
 Share

Recommended Posts

I'm very confused by this. You say its from a tutorial, can you link us to that tutorial so we have something to look at?

Also, your looking in the sub for if a NPC can attack a player but hen your checking if the NPC has the same weapon as the player?

Then, why would you send a message to the Player saying they don't have the proper equipment when it's the NPC engaging them (CanNPCAttackPlayer) not the player engaging the NPC (CanPlayerAttackNPC)

Although I don't have vb6 open to check, in CanNPCAttackPlayer the player variable should be index, not attacker as they are the one being targeted by the NPC.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...