View Single Post
  #12  
Old 08-30-2011, 04:41 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by blackbeltben View Post
aaah, i got it. but HOW would you do a everything "but" if there is no =
You can't put != because it's set up like
(player.ani.name.starts("servername_sword_"))

Last question, what is the importance of adding two equal signs when one works?
You can put the exclamation mark in front of it all, like this:
PHP Code:
if (!player.ani.name.starts("servername_sword_")) 
Also, you need to use two equal signs because a single one doesn't work. Using only a single one you are assigning a value to a variable, or at least trying to do so. If you want to compare stuff, use double equal signs.
Reply With Quote