mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 20:26:14 +08:00
[saco] Rename and update CGame::sub_100A00F0()
This commit is contained in:
@ -100,19 +100,17 @@ BYTE CGame::FindFirstFreePlayerPedSlot()
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
BYTE CGame::sub_100A00F0()
|
||||
BYTE CGame::FUNC_100A00F0()
|
||||
{
|
||||
BYTE result = 0;
|
||||
BYTE v1 = 2;
|
||||
while(v1 != 210)
|
||||
{
|
||||
if(bUsedPlayerSlots[v1] == 1)
|
||||
{
|
||||
result++;
|
||||
BYTE count = 0;
|
||||
BYTE x = 2;
|
||||
while(x!=PLAYER_PED_SLOTS) {
|
||||
if(bUsedPlayerSlots[x] == TRUE) {
|
||||
count++;
|
||||
}
|
||||
v1++;
|
||||
x++;
|
||||
}
|
||||
return result;
|
||||
return count;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
@ -44,6 +44,7 @@ private:
|
||||
public:
|
||||
|
||||
BYTE FindFirstFreePlayerPedSlot();
|
||||
BYTE FUNC_100A00F0();
|
||||
|
||||
int GetWeaponModelIDFromWeapon(int iWeaponID);
|
||||
BOOL IsKeyPressed(int iKeyIdentifier);
|
||||
@ -137,7 +138,6 @@ public:
|
||||
void sub_100A0010();
|
||||
void sub_100A0090(int a1, int a2);
|
||||
BYTE sub_100A00C0();
|
||||
BYTE sub_100A00F0();
|
||||
void sub_100A0110();
|
||||
void sub_100A0210();
|
||||
void sub_100A0250();
|
||||
|
Reference in New Issue
Block a user