View Single Post
  #7  
Old 10-31-2006, 06:10 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Ok first off, use PHP code thing next time . Now, sertlevel2 must be done serverside so instead of exit(), use a trigger to serverside saying "warp" or similar. Also, you only need 1 //#CLIENTSIDE per script. Structure like this for GS2:

PHP Code:
function onActionServerSide()
{
  
//Stuff
}

//#CLIENTSIDE
function onActionClientSide()
{
  
//Stuff
}

function 
onCreated()
  
this.chat "Yay! ^-^"
or

PHP Code:
if (actionserverside)
{
  
//stuff
}

//#CLIENTSIDE

if (created)
{
  
say2 yay!;

Reply With Quote