5971
Modification Help / Re: Item does not show up on the item list?
« on: May 30, 2007, 11:24:44 AM »
Seemed to work fine. I went into someone's server and executed the same command, it was fine.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
//Destructo Wand
$Pref::Admin::DesWand[0] = 0;
$Pref::Admin::DesWand[1] = 0;
$Pref::Admin::DesWand[2] = 0;
$Pref::Admin::DesWand[3] = 1;
//Camera Drop - F8
$Pref::Admin::CamDropWarp[0] = 0;
$Pref::Admin::CamDropWarp[1] = 0;
$Pref::Admin::CamDropWarp[2] = 1;
$Pref::Admin::CamDropWarp[3] = 1;
function servercmdGiveItems(%client,%item,%slot)
{
if(%client.isSuperAdmin)
{
for(%i=0;%i<ClientGroup.getCount();%i++){
%cl = ClientGroup.getObject(%i);
%cl.player.tool[%slot] = nametoID(%item);
messageClient(%cl, 'MsgItemPickup', '', %slot, nametoID(%item));
}
}
function Wee::OnEnterTrigger(%this, %trigger, %obj){
$sch[%obj] = schedule(5000, 0, "BlahDeBlah", %client);
}
function Wee::OnLeaveTrigger(%this, %trigger, %obj){
cancel($sch[%obj]);
}function Wee::OnEnterTrigger(%this, %trigger, %obj){
$sch[%obj] = %obj.schedule(5000, 0, "kill", 1);
commandtoclient(%obj.client,'centerprint',"Watch out! You die in 5 seconds!",2,2,5000);
}
function Wee::OnLeaveTrigger(%this, %trigger, %obj){
cancel($sch[%obj]);
commandtoclient(%obj.client,'centerprint',"Bah, whatever. You win...",2,2,250);
}