Thanks
PET MOUNT!
Moderators: Murderator+, Murderator
PET MOUNT!
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
Good question!
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")
EndIf666Man666 wrote:Или так можноCode: Select all
If UO.ObjAtLayer('Horse') Then
UO.Print("I have a horse")
Else
UO.Print("I have no horse")
EndIf
Ему нужно "not self".
in my shard(runuo rc0) this script works
but need add types of mounts, and for exaple the type of horse is 0x00e4 but the hourse mounted is 0x3ea1(and type change when color of mount change), sorry for my poor english.
pd: if you need i can complete list with all mounts
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
but need add types of mounts, and for exaple the type of horse is 0x00e4 but the hourse mounted is 0x3ea1(and type change when color of mount change), sorry for my poor english.
pd: if you need i can complete list with all mounts