Thread: Classes.
View Single Post
  #4  
Old 06-12-2006, 05:27 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by contiga
You can also do:
join( "class");
//#CLIENTSIDE
function onCreated() {
class::functionhere(<>params);
}

and inside the class you do
function functionhere(<>params) {
player.chat = params;
}

Might be more organized, so if you have a few joined classes, you know exactly at what one to look to modify or look up the function's script.
Why the hell do you put that damn space there >:[
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote