warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for 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.