View Single Post
  #1  
Old 07-02-2011, 10:49 PM
Bristlebane[nj]
Sarnak
 
Join Date: Mar 2009
Location: XXX
Posts: 78
Default get client version problem

Been working on trying to get a teleporter that will only work on users with a certain expansion, but currently. been trying all different kinds of combinations , none will work. NPC will respond to hail by turning to you but won't say anything. Currently I just have it set just to try to get him to respond with only a little bit of the script in there..
Code:
sub EVENT_SAY
 {
if ($client->GetClientVersion() >=5)
{
quest::say("You do not obtain the required expansion!");
}
if ($client->GetClientVersion() <=6)
{
quest::say("Where would you like to go?");
	}
}
Reply With Quote