Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Give random item for Player
#6
Maybe, but that's my habit excerpted from other programming language, so i put the semicolons at the end of every operation.

The most important difference between your and my code:

giveItem(pid, Items.id(item), 1) -> giveItem(pid, Items.id(items[item]), 1);
Reply


Messages In This Thread
Give random item for Player - by liegav - 12.02.2018, 22:13
RE: Give random item for Player - by Patrix - 12.02.2018, 23:20
RE: Give random item for Player - by liegav - 13.02.2018, 06:43
RE: Give random item for Player - by Patrix - 13.02.2018, 10:17
RE: Give random item for Player - by Profesores - 13.02.2018, 18:48
RE: Give random item for Player - by Patrix - 14.02.2018, 18:30

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
  how do I Kill a player on the client side? demor140202 4 3,666 24.02.2020, 12:32
Last Post: Patrix
  Random spawn players demor140202 5 4,207 10.02.2020, 07:37
Last Post: Quarchodron
  Short question about Gold, how to give it ? Mattwell 2 3,430 26.01.2018, 00:12
Last Post: Mattwell
  Dev 8 item synchronisation HammelGammel 0 2,008 21.01.2017, 11:04
Last Post: HammelGammel
  Default world Item Xardas0327 1 2,162 21.03.2016, 13:51
Last Post: Bimbol
  Random Number Osmith 5 4,596 20.02.2016, 14:21
Last Post: Blacha

Forum Jump:


Users browsing this thread: 1 Guest(s)