Requested Functions and Events

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

Server-side

I ask for a function that detects if a ped is on floor, eg. isPedOnFloor(ped thePed), thanks. --Shadd(In caso di emergenza rompere le scatole) 11:29, 15 June 2008 (CDT)

isPedOnGround? Awwu 12:58, 15 June 2008 (CDT)
I need to know if the player has its back touching the ground, not if it's simply "on ground". --Shadd(In caso di emergenza rompere le scatole) 14:16, 16 June 2008 (CDT)
Check what task the player has, they should have TASK_COMPLEX_FALL_AND_GET_UP or TASK_COMPLEX_FALL_AND_STAY_DOWN... eAi 19:12, 16 June 2008 (CDT)
Thanks. What task does player have after being hitten by a melee attack that cause it to fall down? Would "TASK_SIMPLE_BE_KICKED_ON_GROUND" and "TASK_SIMPLE_GET_UP" work? --Shadd(In caso di emergenza rompere le scatole) 09:35, 17 June 2008 (CDT)