Graal Forums  

Go Back   Graal Forums > PlayerWorlds > PlayerWorlds Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.