Difference between revisions of "SET CHAR CAN BE KNOCKED OFF BIKE"
Jump to navigation
Jump to search
(created article) |
|||
| Line 4: | Line 4: | ||
|p1d=char handle | |p1d=char handle | ||
|p2t=integer | |p2t=integer | ||
| − | |p2d=set (0= | + | |p2d=set (0=on / 1=off) |
|r=0 | |r=0 | ||
}} | }} | ||
| − | This function can prevent a character from being ejected from a motorbike through collisions. | + | This function can prevent a character from being ejected from a motorbike through collisions. Unlike most functions, setting it to 0 means the character can be knocked off the bike and 1 means the player will not be knocked off. This function seems to affected by [[SET_CHAR_PROOFS]]. After this function is turned on, the function will stay on if the character is collision-proof. Turning this function off will not work until the collision-proof is turned off. |
Latest revision as of 08:52, 1 September 2009
| Number of parameters: 2 | ||
|---|---|---|
| Parameter # | Type | Description |
| 1. | pointer | char handle |
| 2. | integer | set (0=on / 1=off) |
| Return value: | ||
| Type | Description | |
| None | ||
This function can prevent a character from being ejected from a motorbike through collisions. Unlike most functions, setting it to 0 means the character can be knocked off the bike and 1 means the player will not be knocked off. This function seems to affected by SET_CHAR_PROOFS. After this function is turned on, the function will stay on if the character is collision-proof. Turning this function off will not work until the collision-proof is turned off.