Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Scripting problem making it not effect admins
« previous
next »
Print
Pages: [
1
]
Author
Topic: Scripting problem making it not effect admins (Read 535 times)
Human Reaper
September 19, 2009, 03:07:56 PM
I am trying to make the script with the horse i showed earlier shown here(
http://forum.blockland.us/index.php?topic=83521.0
) so this is now what i have and it is no longer working i think... so would this work or do i need to change somthing.
package Horse
{
function gameConnection::onClientEnterGame(%client)
if(!%client.isAdmin)
{
parent::onClientEnterGame(%client);
%client.player.setDataBlock(HorseArmor);
}
};
activatepackage(Horse);
Ad Bot
Advertisement
Ephialtes
September 19, 2009, 03:18:31 PM
You forgot braces for the function.
Human Reaper
September 19, 2009, 03:19:43 PM
oh woops
Ephialtes
September 19, 2009, 03:21:59 PM
And you'll want to look for a more appropriate function to package because people can just Self Delete and they won't be a horse any more.
Human Reaper
September 19, 2009, 03:24:08 PM
I relize the second part and it is just meant to be an incovince and I later plan to fix it to where they always are
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Scripting problem making it not effect admins