View Single Post
  #2  
Old 01-24-2009, 01:32 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
Quote:
Originally Posted by Schetti View Post
I've got a anyoning problem.
I wanna have a script like this:
if (player.ani == "swim.gani") {hide;}

I've tryed a LOT to fix this but nothing worked,
someone can help me?


I've also got a problem with making a team, like
if (playertouchsme) {player.guild == "Blue Team"}

ive got NO idea so I just wrote this

someone can help?
Firstly, you don't include the .gani suffix.

Secondly, you're mixing GS1 with GS2. A big no no.

Thirdly, I think setting player.guild is serverside only, in my experience. Plus, == is a comparison operator. You probably want to do player.guild = "Blue Team"

I could help you better if you detailed your exact problem and posted the full code.
Reply With Quote