Quote:
Originally Posted by markusdabrave
Tried the above code but it seems to only be performing this part of the action:
|
It will if you are not grouped. If you are, then
ClientCloseEnoughGroupMembers is checking to see if the other members of your group are within a certain distance (otherwise your script could be exploited).
Quote:
Originally Posted by markusdabrave
Edit:
I'm ok with using the selfcast but if you self-cast and already have the spell it sends an error that the player is already invisible. Is there a way to check for a spell effect active on the player? If there is I could just throw an if statement in there to see if player is already invisible and skip the selfcast if they are. Digging through the lexicon now because I'm not quite sure what I"m searching for.
|
Just make a new post bud, as if I'm on I usually have the F5 key handy.
Code:
$client->FindBuff();
Is what you're after, as to finding whether or not a client has a particular buff.