note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
EnableTirePopping
Description
With this function you can enable or disable tire popping.
Name | Description |
---|---|
bool:enable | 'true' to enable, 'false' to disable tire popping. |
Returns
This function does not return any specific values.
Examples
public OnGameModeInit()
{
// This will disable tire popping on your gamemode.
EnableTirePopping(false);
return 1;
}
Notes
warning
- This function was removed in SA-MP 0.3.
- Tire popping is enabled by default.
- If you want to disable tire popping, you'll have to manually script it using OnVehicleDamageStatusUpdate.
Related Functions
- SetPlayerTeam: Set a player's team.