首页 Boxes Api用法
文章
取消

Boxes Api用法


用法

把这行代码写入你的lua文件头部

1
require("Boxes")

使用->方法名.方法() 调用

Boxes 方法

1
2
3
4
5
6
7
8
9
10
11
Ped/Int/Entity  myPed()
Veh/Int/Entity  myVeh()
V3              myPos()
float           myHeal()
float           MaxHeal(Ped who)
void            HalfGod(String name,Int Parentid)
string          getIp(Int pid)
array<int>      whoIsSpectMe()
array<int>      whoIsAimMe()
array<int>      tokenSort()
Entity          spawn(Hash hash,int/V3 pid/pos/ped/E)

例子

1
2
require("Boxes")
local my_ped=Boxes.myPed()
本文由作者按照 CC BY 4.0 进行授权
热门标签