Jump to content
  • 0

Welcome Package/Item


Question

Posted

Hey guys I tried searching a npc similar to it but couldn't find.

So the idea is: I'd like when the players log in ( if that can't be made, then when they click on the NPC ) they'd select an item from a list, BUT that would be one item per ACCOUNT to avoid exploitation/creating multiple accounts/chars and therefore get all the items.

Thanks again!

8 answers to this question

Recommended Posts

Posted

getitem only accept 2 arguments +1 optionnal

BUILDIN_DEF(getitem,"vi?"),

it must be

getitem <item_id>, <quantity>;
getitem <item_id>, <quantity>;
getitem <item_id>, <quantity>;
...

I made a custom getmultiitem like that long time ago, but can't find it...

Posted

 

the getitem <item_id>, <quantity>;

 

it can be  -->

getitem <item_id>, <quantity>,<item_id>, <quantity>,<item_id>, <quantity>,<item_id>, <quantity>,<item_id>, <quantity>;

 

right ?

 

 

Another way you can do this is take some time to make a custom item gift box for your server. That way you only need to use getitem script once. Once they double click the box, it gets all the desired items you put in there. I think it looks much better too aesthetically

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