mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement unnamed_100B2AF0()
and unnamed_100B2B20()
This commit is contained in:
parent
2da4d86441
commit
a6b3920780
40
saco/game/unnamed_1.cpp
Normal file
40
saco/game/unnamed_1.cpp
Normal file
@ -0,0 +1,40 @@
|
||||
|
||||
#include <windows.h>
|
||||
#include <string.h>
|
||||
|
||||
int unnamed_1026B568[200];
|
||||
BOOL unnamed_1026B888[200];
|
||||
|
||||
BOOL unnamed_100B2AF0()
|
||||
{
|
||||
memset(unnamed_1026B888, 0, sizeof(unnamed_1026B888));
|
||||
memset(unnamed_1026B568, 0, sizeof(unnamed_1026B568));
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int unnamed_100B2B20()
|
||||
{
|
||||
int x=0;
|
||||
while(x!=200)
|
||||
{
|
||||
if(!unnamed_1026B888[x])
|
||||
{
|
||||
unnamed_1026B888[x] = TRUE;
|
||||
return x;
|
||||
}
|
||||
x++;
|
||||
}
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user