Ok, so I have this new staffblock script. It's simple, and thats what I like.
Basically the script has a list of guilds that are allowed to actiongrab the block, and it will hide. Im using block.png by the way. And I have it set to if you don't have that guild, your chat says "I am not authorized to pass". It works perfectly.
The problem though is that for the block to get put in a level, you have to use offline editor, and put join("staffblock"); which is a big inconveinance. Who knows how I could make the script know that I am using join("staffblock"); without having to put it? I would like it to be a script that if you fire the weapon Staff/Block, it will drop at your coordinates, How could I do that as well?
I would appreciate the help.
Heres the script:
PHP Code:
//#CLIENTSIDE
function onActionGrab()
{
if ( player.guild in { "Owner", "Server Owner", "Staff", "LAT", "Development", "LAT", "GFX", "Gani", "Administrator", } )
{
hide;
sleep 2;
show;
}
else
player.chat = "I am not authorized to pass!";
}