Author Topic: [Scripts] Tp in rank help need it  (Read 207 times)

0 Members and 1 Guest are viewing this topic.

AlcoholicPepper

  • Jr. Member
  • **
  • Posts: 33
  • Jeff McNewmen is my best friend ^_^
    • View Profile
    • http://www.google.com/imgres?imgurl=https://upload.wikimedia.org/wikipedia/commons/5/5b/India_Gate_600x400.jpg&imgrefurl=https://commons.wikimedia.org/wiki/File:India_Gate_600x400.jpg&h=400&w=600&tbnid=0y1XPiiVlVw42M:&docid=_t1Cy8oOVSs
    • Awards
  • Xbox: AlcoholicPepper
[Scripts] Tp in rank help need it
« on: January 22, 2017, 12:04:27 AM »
Help
/upload.wikimedia.org/wikipedia/commons/5/5b/India_Gate_600x400.jpg&imgrefurl=https://commons.wikimedia.org/wiki/File:India_Gate_600x400.jpg&h=400&w=600&tbnid=0y1XPiiVlVw42M:&docid=_t1Cy8oOVSsiMM&ei=xrQKVq6kGcj8yQSNh4qABw&tbm=isch&client=safari&ved=0CB8QM

JD DRAGON 7

  • Legendary Member
  • *****
  • Posts: 1312
  • I'm a freelance builder.
  • Awards 2 years on site+300 posts 3 years on site+600 posts Awarded to exemplary forum members 1 year on site+100 posts Members who have unlocked the robotic avatar
    • View Profile
    • Awards
  • Xbox: JD DRAGON 7
  • PSN: JD_DRAGON7
  • Steam: JD_DRAGON_7
Re: Tp in rank help need it
« Reply #1 on: January 22, 2017, 07:43:34 AM »
What??? If you need help call 911.

But seriously, you need to go into detail about what you need help with if you want someone to help you.
Growing old is inevitable but growing up is optional.
Wii U      JD_DRAGON_7
360        JD DRAGON 7
Ps3/ps4  JD_DRAGON7
Steam    JD_DRAGON_7

TheDestinedCrab

  • Legendary Member
  • *****
  • Posts: 1287
  • Did you see that? Me neither.
  • Awards 3 years on site+600 posts Donated a giveaway prize. (Must be a prize of cash value.) 2 years on site+300 posts 1 year on site+100 posts
    • View Profile
    • Awards
Re: Tp in rank help need it
« Reply #2 on: January 22, 2017, 07:51:45 AM »
Assuming you already have your rank script set up..

If
HasHistory [player] [rank] [>=] [1]
//Take gold pieces here if you would like
Then
Teleport [x,y,z]
//Add particles here for cool effect!

If you don't have your ranks have  set up..

If
HasInventory [player] [goldpieces] [<] [1000]
Then
Messagebox [You need 1000 gold pieces for rank 1!]
ElseIf
HasHistory [player] [rank] [>=] [1]
Then
Messagebox [You already own rank 1 or higher!]
Else
Inventory [player] [take] [goldpieces] [1000]
History [player] [rank] [+1]
Messagebox [You have successfully brought rank 1]
//Put particles here for cool effect

There are your wanted scripts, I believe. Have fun!

« Last Edit: January 23, 2017, 02:03:04 AM by TheDestinedCrab »
Thanks Gold Knight for the amazing sig!