Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-18-2006, 05:12 AM
Seichi Seichi is offline
Registered User
Seichi's Avatar
Join Date: Jul 2003
Location: In a house.
Posts: 7
Seichi is on a distinguished road
Classes help -.-

I dunno why, but they won't work for me. ;o For example, I create a class test. Inside test, I have:
//#CLIENTSIDE
public function sayHi() {
player.chat = "hi!";
}

And in a weapon testweapon I have:

//#CLIENTSIDE
function onCreated() {
join("test");
}
function onWeaponFired() {
sayHi();
}

What am I doing wrong?
__________________
i ned halp plx ;3
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 06:38 AM.


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