Thread: Shovel Script
View Single Post
  #3  
Old 07-26-2009, 05:35 PM
[email protected] jamerson61894@yahoo.com is offline
Banned
Join Date: Jul 2008
Posts: 83
jamerson61894@yahoo.com is an unknown quantity at this point
Well this is the script.


PHP Code:
function doAddItems()
{
temp.shoveling_prizes = {"Treasure/Map""Treasure/Chest""Treasure/Key"};
addWeapon(shoveling_prizes[int(random(0,3))]);  
}
//#CLIENTSIDE
function onWeaponFired()
{
if ( 
player.level ="jamerson-shoveling.nw" )
{
setani ven_shovel,NULL;
freezeplayer 1;
doAddItems();
}
else
player.addMsg2("You must be in the shovel room to use shovel!");

Reply With Quote