View Single Post
  #1  
Old 02-14-2008, 06:18 PM
warmaster70229 warmaster70229 is offline
Banned
Join Date: Jun 2007
Location: Texas ;D
Posts: 111
warmaster70229 is on a distinguished road
Send a message via AIM to warmaster70229 Send a message via MSN to warmaster70229 Send a message via Yahoo to warmaster70229
Infamous, tileset/NPC trouble..

Hello, I would like some help from the global script team, there seems to be a problem with the NPC-Server on infamous...

I created a weapon, -System/Core and placed in it the following code:

PHP Code:
function onActionServerSide(cmd)
{
  echo(
"Hai");
}

//#CLIENTSIDE
function onCreated() 
{
  
removetiledefs();
  
addtiledef("pokeSMOT_InfamousTiles.png""infamous_" 0);
  
loadmap("Infamous.gmap");
  
triggerServer("gui",name,"d00d");
}

function 
onPlayerchats()
{
  if(
player.chat=="/reconnect")
  {
    
serverwarp("Infamous");
  }

The onCreated() function is not called, thus the serverside function i was using to test the onCreated() call was also not called.

Mind me if there is some stupid mistake i made, having some IRL trouble and am not really myself right now...
Reply With Quote