Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Short question about Gold, how to give it ?
#2
http://gothic-online.com.pl/new_wiki/ind...e=GiveItem

Example code:
Squirrel Script
  1. addEventHandler("onPlayerConnect",function(pid)
  2. {
  3. giveItem(pid, Items.id("ITMI_GOLD"), 1000)
  4. })



@Edit
Rembember to register item that you want to give in Items.xml file.
Reply


Messages In This Thread
RE: Short question about Gold, how to give it ? - by Patrix - 25.01.2018, 23:44

Possibly Related Threads…
Thread Author Replies Views Last Post
  Give- / Removeitems on Focus ItschiAtschiUtschi 3 2,424 10.06.2020, 16:04
Last Post: Patrix
  Give random item for Player liegav 6 6,361 14.02.2018, 18:30
Last Post: Patrix
  Database and other Question (new team) Kemi 18 12,242 09.02.2016, 22:23
Last Post: Kemi
  Question for programmer's [GO] Kladvey 9 6,906 27.12.2015, 03:12
Last Post: Bimbol

Forum Jump:


Users browsing this thread: 1 Guest(s)