Jump to content
  • 0
Tutti

item random

Question

English!

Making this item drop the items that the random script

 

Portugues!

Como fazer este item soltar os itens que esta no script random

 

 

 

{
Id: 7711
AegisName: "Update_Ticket"
Name: "Ticket Visual da Sorte"
Type: 18
Buy: 10
Weight: 20
Script: <" 
setarray .@item_id,
19507, 
19509,
19510, 
19513, 
19514, 
19515,
19516,
19517,
19518,
19519,
19520,
19521,
19522,
19574,
19573,
getitem [rand(getarraysize(.@item_id))], 1;
">
},

 

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

 19573,

 

should be

 

 19573);

Edited by evilpuncker

Share this post


Link to post
Share on other sites
  • 0
@itemIDfromList = callfunc("F_Rand",19507,19509,19510,19513,19514,19515,19516,19517,19518,19519,19520,19521,19522,19574,19573);getitem @itemIDfromList,1; 

Share this post


Link to post
Share on other sites
  • 0

 

@itemIDfromList = callfunc("F_Rand",19507,19509,19510,19513,19514,19515,19516,19517,19518,19519,19520,19521,19522,19574,19573);getitem @itemIDfromList,1; 

Maybe he mean drop on the floor?

Share this post


Link to post
Share on other sites
  • 0

it did not work

 

 

{
Id: 7711
AegisName: "Update_Ticket"
Name: "Ticket Visual da Sorte"
Type: 18
Buy: 10
Weight: 20
Script: <" 
@itemIDfromList = callfunc("F_Rand",
19507, 
19509,
19510, 
19513, 
19514, 
19515,
19516,
19517,
19518,
19519,
19520,
19521,
19522,
19574,
19573,
getitem @itemIDfromList,1;
">
},

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.