Jump to content

como poner comandos custom como @hold desde 0?


darkmejor

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  08/11/19
  • Last Seen:  

alguien me ayuda a implementar comandos custome?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

you can try

-	script	atcmd_example	-1,{
OnInit:
	bindatcmd "hold",strnpcinfo(3) + "::OnAtcommand";
	end;
	
OnAtcommand:
	setpcblock PCBLOCK_MOVE, (getpcblock() & PCBLOCK_MOVE);
	end;
}

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  08/11/19
  • Last Seen:  

in the scripts of npc?

not:c

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  830
  • Reputation:   316
  • Joined:  02/11/19
  • Last Seen:  

On 8/24/2019 at 7:19 AM, Emistry said:

you can try


-	script	atcmd_example	-1,{
OnInit:
	bindatcmd "hold",strnpcinfo(3) + "::OnAtcommand";
	end;
	
OnAtcommand:
	setpcblock PCBLOCK_MOVE, (getpcblock() & PCBLOCK_MOVE);
	end;
}

 

Es un script, solo agrégalo.

Edited by Mael
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...