Blockland Forums > Modification Help
Packaging Stuff - eek!
(1/3) > >>
cucumberdude:
I'm trying to package F8/F7 (dropPlayerAtCamera(); and dropCameraAtPlayer(); I believe). However, I'm starting to think that they're clientside functions or else I'm doing it wrong... Help?


--- Code: ---package lolno
{
function dropPlayerAtCamera()
{
                //lolno
}

function dropCameraAtPlayer()
{
                //lolno
}
};
--- End code ---
Headcrab Zombie:
Are you trying to prevent players on your server from using f8/f7?
Add serverCmd to the function names (serverCmdDropPlayerAtCamera, not dropPlayerAtCamera, etc)
Chrono:
Just don't make stupid people admin. lol

That and what Adam said.
Headcrab Zombie:
There is on add-on, I forgot who made it or what it's called, but it allows you to change what admin level is required to use certain commands, you could just change those two to host only, allowing you to still use it.
Pah1023:
Your so off, Its
serverCmdDropPlayerAtCamera(%cl)
and serverCmdDropCameraAtPlayer(%cl)
Navigation
Message Index
Next page

Go to full version