natives.SET_CHAR_DROWNS_IN_WATER
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.SET_CHAR_DROWNS_IN_WATER(int ped, int drowns)
The natives.SET_CHAR_DROWNS_IN_WATER function is used to sets whether a character can drown when submerged in water.
Parameters
| 1) | int | ped | Character handle to act upon. |
| 2) | int | drowns | Toggle 0 = cannot drown, 1 = can drown. |
Return
| void | This function doesn't return a value. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.