Jump to content
  • 0

Give Item to specific account_id please help !


Question

Posted

sry im new, iwant give item to specific account_id
example : .@getID = getcharid( 3 ); if( !#give70 && .@getID = 2000001)
this only give to account id 2000001..

but how to put many account id?
i want put in , 2000034 , 2000075, 2000002, 2000007 , etc.

2 answers to this question

Recommended Posts

  • 1
Posted
setarray .@AIDS,2000001,2000034,2000075,2000002,2000007;
if(!#give70 && inarray(.@AIDS,getcharid(3)) != -1){
	getitem <id>,<count>;
	#give70 = true;
}

 

  • 0
Posted
11 minutes ago, sader1992 said:

setarray .@AIDS,2000001,2000034,2000075,2000002,2000007;
if(!#give70 && inarray(.@AIDS,getcharid(3)) != -1){
	getitem <id>,<count>;
	#give70 = true;
}

 

Thxxx, its work fine ! 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...