-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathArrays.txt
63 lines (59 loc) · 1.59 KB
/
Arrays.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
static int tolua_natives_PED_GET_PED_NEARBY_VEHICLES00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
tolua_Error tolua_err;
if (
!tolua_isnumber(tolua_S, 1, 0, &tolua_err) ||
!tolua_isnumber(tolua_S, 2, 0, &tolua_err) ||
!tolua_isnoobj(tolua_S, 3, &tolua_err)
)
goto tolua_lerror;
else
#endif
{
unsigned long p0 = ((unsigned long)tolua_tonumber(tolua_S, 1, 0));
unsigned long *p1 = new unsigned long[8096 * 2 + 2];
p1[0] = 8096;
{
unsigned long tolua_ret = (unsigned long)GET_PED_NEARBY_VEHICLES(p0, p1);
returnTable(tolua_S, p1, tolua_ret);
}
}
return 2;
#ifndef TOLUA_RELEASE
tolua_lerror :
tolua_error(tolua_S, "#ferror in function 'GET_PED_NEARBY_VEHICLES'.", &tolua_err);
return 0;
#endif
}
/* function: GET_PED_NEARBY_PEDS */
static int tolua_natives_PED_GET_PED_NEARBY_PEDS00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
tolua_Error tolua_err;
if (
!tolua_isnumber(tolua_S, 1, 0, &tolua_err) ||
!tolua_isnumber(tolua_S, 2, 0, &tolua_err) ||
!tolua_isnumber(tolua_S, 3, 0, &tolua_err) ||
!tolua_isnoobj(tolua_S, 4, &tolua_err)
)
goto tolua_lerror;
else
#endif
{
unsigned long p0 = ((unsigned long)tolua_tonumber(tolua_S, 1, 0));
unsigned long *p1 = new unsigned long[8096 * 2 + 2];
p1[0] = 8096;
unsigned long p2 = ((unsigned long)tolua_tonumber(tolua_S, 3, 0));
{
unsigned long tolua_ret = (unsigned long)GET_PED_NEARBY_PEDS(p0, p1, p2);
returnTable(tolua_S, p1, tolua_ret);
}
}
return 2;
#ifndef TOLUA_RELEASE
tolua_lerror :
tolua_error(tolua_S, "#ferror in function 'GET_PED_NEARBY_PEDS'.", &tolua_err);
return 0;
#endif
}