RemoveAllGameBuildings: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| mNo edit summary | Fernando187 (talk | contribs)   (add deprecated warning) | ||
| Line 3: | Line 3: | ||
| {{New feature/item|3.0161|1.6.0|22420|This function is used to remove all world buildings and frees building pool.}} | {{New feature/item|3.0161|1.6.0|22420|This function is used to remove all world buildings and frees building pool.}} | ||
| {{Note|This function does not affect buildings created using the [[createBuilding]] function}} | {{Note|This function does not affect buildings created using the [[createBuilding]] function}} | ||
| {{Deprecated|removeGameWorld|This function should not be used as it has been replaced. See [https://github.com/multitheftauto/mtasa-blue/pull/3627 PR #3627]}} | |||
| ==Syntax==   | ==Syntax==   | ||
| <syntaxhighlight lang="lua">nil removeAllGameBuildings ( )</syntaxhighlight>   | <syntaxhighlight lang="lua">nil removeAllGameBuildings ( )</syntaxhighlight>   | ||
Revision as of 14:17, 22 October 2024
|   | This function is deprecated. This means that its use is discouraged and that it might not exist in future versions. | 
| Please use removeGameWorld instead. This function should not be used as it has been replaced. See PR #3627 | 
Syntax
nil removeAllGameBuildings ( )
Returns
Nothing
Example
|   | Script Example Missing Function RemoveAllGameBuildings needs a script example, help out by writing one. | 
| Before submitting check out Editing Guidelines Script Examples. | 
See Also