Thread: having trouble.
View Single Post
  #6  
Old 06-10-2008, 02:50 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Rough script.

PHP Code:
function onActionServerSide()
{
  if (
params[0] == "putNPC") {
    
temp.npc putnpc2(this.xthis.y"join(\"newgas-" this.bombtype "\");");
    
temp.npc.time random(3050);
    
temp.npc.owner this.gasowner;
    
temp.npc.attr[25] = this.gasowner;
  }

Then in the class...

PHP Code:
//#CLIENTSIDE
function onCreated()
{
  
chat "My owner [" SPC attr[25SPC "]";

__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote