![]() |
![]() ![]() ![]() ![]() ![]()
|
Author | Topic: giving the player an object |
Gautier UK |
![]() i know that in QuestNet, u cant use the string #player# to give the player an object. what code do i need to be able to give the player an object...for example. the player goes to a shop, and type /item list. a list of items that are available to buy come up. the player then types /buy <item>. now i need to know wot code the player is.... i think its $name(%userid%)$, ill try it but knowing my luck it wont work. |
Alex |
![]() Just move the object into the player's inventory. The player's inventory has the same name as the object name of the player. For example: move <cabbage; player%userid%> |
Gautier UK |
![]() hehe, thanks. |
Alex |
![]() Actually if you're just giving the object to the player that initiated the script, then the standard "give <object>" syntax ought to work as well. |
Gautier UK |
![]() thanks |