Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

GetStam

Returns the current stamina of the mobile with ObjID.

Возвращает текущую выносливость (stamina) мобайла с ObjID.

Pascal

function GetStam(ObjID: Cardinal): Integer;

Python

def GetStam(ObjID: int) -> int: ...

Pascal Example

begin
  while GetStam(Self) < 10 do
    Wait(1000);
end.

Python Example

while GetStam(Self()) < 10:
    Wait(1000)

See Also

GetMaxStam, GetHP, RequestStats