PET MOUNT!
Posted: 2004-12-21 19:50:06
I need to know if Injection is Able to recognise if a player is on a mount (not self , another one) and if this is possible, how...
Thanks
Thanks
Code: Select all
sub main()
If (UO.GetSerial('self.horse')<>'0x00000000') Then
UO.Print('I have a horse')
Else
UO.Print('I have no horse')
EndIf
end sub
Code: Select all
If UO.ObjAtLayer('Horse') Then
UO.Print("I have a horse")
Else
UO.Print("I have no horse")
EndIfЕму нужно "not self".666Man666 wrote:Или так можно
Code: Select all
If UO.ObjAtLayer('Horse') Then UO.Print("I have a horse") Else UO.Print("I have no horse") EndIf
Code: Select all
sub mount()
var c=1
dim a[2]
a[1]=0x3ebc;giant beetle
a[2]=0x3ea1;horse 1
while c <> 3
uo.findtype(a[c],"-1","laststatus")
if uo.findcount() > 0 then
UO.print("mount")
end if
c=c+1
wend
end sub