mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
Fix incorrect placement of functions used to find players by name.
This commit is contained in:
parent
27f6a310b5
commit
6975572bfe
@ -428,10 +428,6 @@ void Register(HSQUIRRELVM vm)
|
|||||||
.Func(_SC("TagBegins"), &Entity< CPickup >::FirstWhereTagBegins)
|
.Func(_SC("TagBegins"), &Entity< CPickup >::FirstWhereTagBegins)
|
||||||
.Func(_SC("TagEnds"), &Entity< CPickup >::FirstWhereTagEnds)
|
.Func(_SC("TagEnds"), &Entity< CPickup >::FirstWhereTagEnds)
|
||||||
.Func(_SC("TagContains"), &Entity< CPickup >::FirstWhereTagContains)
|
.Func(_SC("TagContains"), &Entity< CPickup >::FirstWhereTagContains)
|
||||||
.Func(_SC("NameEquals"), &Player_FirstWhereNameEquals)
|
|
||||||
.Func(_SC("NameBegins"), &Player_FirstWhereNameBegins)
|
|
||||||
.Func(_SC("NameEnds"), &Player_FirstWhereNameEnds)
|
|
||||||
.Func(_SC("NameContains"), &Player_FirstWhereNameContains)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
fns.Bind(_SC("Player"), Table(vm)
|
fns.Bind(_SC("Player"), Table(vm)
|
||||||
@ -440,6 +436,10 @@ void Register(HSQUIRRELVM vm)
|
|||||||
.Func(_SC("TagBegins"), &Entity< CPlayer >::FirstWhereTagBegins)
|
.Func(_SC("TagBegins"), &Entity< CPlayer >::FirstWhereTagBegins)
|
||||||
.Func(_SC("TagEnds"), &Entity< CPlayer >::FirstWhereTagEnds)
|
.Func(_SC("TagEnds"), &Entity< CPlayer >::FirstWhereTagEnds)
|
||||||
.Func(_SC("TagContains"), &Entity< CPlayer >::FirstWhereTagContains)
|
.Func(_SC("TagContains"), &Entity< CPlayer >::FirstWhereTagContains)
|
||||||
|
.Func(_SC("NameEquals"), &Player_FirstWhereNameEquals)
|
||||||
|
.Func(_SC("NameBegins"), &Player_FirstWhereNameBegins)
|
||||||
|
.Func(_SC("NameEnds"), &Player_FirstWhereNameEnds)
|
||||||
|
.Func(_SC("NameContains"), &Player_FirstWhereNameContains)
|
||||||
);
|
);
|
||||||
|
|
||||||
fns.Bind(_SC("Vehicle"), Table(vm)
|
fns.Bind(_SC("Vehicle"), Table(vm)
|
||||||
|
Loading…
Reference in New Issue
Block a user