Thread: Variable Help
View Single Post
  #1  
Old 08-24-2011, 03:46 AM
Astram Astram is offline
Era iPhone PR
Astram's Avatar
Join Date: Aug 2010
Posts: 324
Astram can only hope to improve
Send a message via AIM to Astram
Variable Help

I can't find out why this function doesn't make the weapon's this.TGuild_Button5's type 1. Heres my line of code.
PHP Code:
function setButtonTypeobjtype) {
  
with(obj) {
    if (
type == 1) {
      
red 0.5;
       
green 0.5;
       
blue 0.5;    
       
this.(@ obj "_Type") = type;
     }
   }
   
player.chat this.TGuild_Button5_Type;
 } 
__________________
-Toad
The worlds biggest Toad fan...
Era iPhone FTW!


Reply With Quote