Skip to content

Commit

Permalink
additional inprovements suggested by @4mmonium
Browse files Browse the repository at this point in the history
  • Loading branch information
ook3D committed Jul 17, 2023
1 parent d5ba838 commit 74598e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions ENTITY/DeleteEntity.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ Deletes the specified entity, and invalidates the passed handle (i.e. in/out arg
```lua
local light = GetEntityModel(prop_streetlight_01)
local lightEntity = CreateObject(light, 0, 0, 0, False, False, False)
local lightEntity = CreateObject(light, 0, 0, 0, false, false, false)
if not DoesEntityExist(lightEntity) then return end
DeleteEntity(lightEntity)
end
```
3 changes: 1 addition & 2 deletions ENTITY/GetEntityType.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ the entity type of the given entity as a integer.
## Examples
```lua
local light = GetEntityModel(prop_streetlight_01)
local lightType = GetEntityType(light)
local entityType = GetEntityType(PlayerPedId()) -- entityType should be '1'
```

0 comments on commit 74598e6

Please sign in to comment.