Requested Functions and Events: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
==Server-side== | ==Server-side== | ||
I ask for a function that detects if a ped is on floor, eg. '''isPedOnFloor(ped thePed)''', thanks. --<span style="font-family:Courier New, Courier, monospace">[[User:Shadd|Shadd]]</span><sub>([[User_talk:Shadd|In caso di emergenza rompere le scatole]])</sub> 11:29, 15 June 2008 (CDT) | I ask for a function that detects if a ped is on floor, eg. '''isPedOnFloor(ped thePed)''', thanks. --<span style="font-family:Courier New, Courier, monospace">[[User:Shadd|Shadd]]</span><sub>([[User_talk:Shadd|In caso di emergenza rompere le scatole]])</sub> 11:29, 15 June 2008 (CDT) | ||
: [[isPedOnGround]]? [[User:Awwu|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". --<span style="font-family:Courier New, Courier, monospace">[[User:Shadd|Shadd]]</span><sub>([[User_talk:Shadd|In caso di emergenza rompere le scatole]])</sub> 14:16, 16 June 2008 (CDT) | ::I need to know if the player has its back touching the ground, not if it's simply "on ground". --<span style="font-family:Courier New, Courier, monospace">[[User:Shadd|Shadd]]</span><sub>([[User_talk:Shadd|In caso di emergenza rompere le scatole]])</sub> 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... [[User:EAi|eAi]] 19:12, 16 June 2008 (CDT) |
Revision as of 00:12, 17 June 2008
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)
- 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)