Thread: having trouble.
View Single Post
  #2  
Old 06-10-2008, 02:02 AM
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
Quote:
Originally Posted by Frankie View Post
PHP Code:
with(putnpc2(this.xthis.y"join newgas-" this.bombtype ";"))
{
  
this.time random(3050);
  
this.owner2 thiso.gasowner;

if I try to view what this.gasowner is outside of with(putnpc2()) it's fine. but when I try to set a different string to it so it will transfer to the other class, it's not working. how can I fix this ?
Personally, I think that way of doing it is ugly like hell. Try this, see if it works:

PHP Code:
temp.npc putnpc2(this.xthis.y"join(\"newgas-" this.bombtype "\");");
temp.npc.time random(3050);
temp.npc.owner2 this.gasowner
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote