Jump to content
  • 0

reset all atcommand


saovarott159

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  53
  • Reputation:   1
  • Joined:  10/06/16
  • Last Seen:  

Hello guys

          I want example script reset all atcommand if player warp to map "prt_maze03"

Thank so much..

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

Do you mean the player will perform '@reset' when it warp on prt_maze03?

try

-	script	resetonprtmaze	-1,{
OnPCLoadMapEvent:
	if(strcharinfo(3) == "prt_maze03")
		atcommand "@reset";
	end;
}
prt_maze03	mapflag	loadevent

 

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
Answer this question...

×   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...