View Single Post
  #1  
Old 11-28-2009, 11:52 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Weapon Scripts and Classes

I found that when I joined a class to a weapon script on the server-side that even after the class left it still persisted on the client-side and remained there till I deleted and re-added the weapon without any joins.

Code I'm using to join.

Graal Script Code:
function onCreated() {
  
join("debugger");

Code I use to leave:

Graal Script Code:
function onCreated() {
  
leave("debugger");

But if I join, reconnect, then leave, reconnect, the client-side portion of the class script still persists.

However if I use this code when I tell it to leave it works fine.

Graal Script Code:
function onCreated() {
  
join("debugger");
  
leave("debugger");

The debugger class can be found here:
http://forums.graalonline.com/forums....php?p=1540968
__________________
Quote:
Reply With Quote