
07-26-2009, 05:17 PM
|
|
Banned
|
Join Date: Jul 2008
Posts: 83
|
|
Shovel Script
|
Hi, im working on my shovel script still and I am attempting to make it so that when you press d, it shovels, (<--that part alraedy works), and you
randomely get one of 3 weapons. Lets call them "Treasure/Map", "Treasure/Chest", and "Treasure/Key".
Basically, I would like to know how randomely adding a weapon would be dont with int ( random(.
Thanks. |
|
|
|