09-30-2008, 03:33 PM
|
Registered User
|
Join Date: Dec 2005
Posts: 542
|
|
[EZ] This script makes me insane.
Hi! I'm making a script for the Cherry Guildhouse.
I can't get the script working, what's wrong with it?
Thanks!
// NPC made by SwedishKing -Y-
function onCreated(){
setshape(1,32,32);
}
function onWarp(){
setlevel2("cherrytown_2c.nw",30,30);
}
//#CLIENTSIDE
function onPlayertouchsme()
{
if (player.guild == "Cherry")
{
triggerAction(this.x+.5,this.y+.5,"warp",null);
}
else
{
this.chat = "Only Cherry Members!";
}
} |
__________________
*aka SwedishKing*
|
|
|