Hi all.. why do i somtimes get an Entity does not exist" error with this code.
If CountCollisions(car(ac)) Then
;ERROR ON THE FOLLOWING LINE SOMETIMES
If GetEntityType(CollisionEntity(car(ac),1))=2 Then
Do some stuff here
endif
endif
If CountCollisions(car(ac)) Then
;ERROR ON THE FOLLOWING LINE SOMETIMES
If GetEntityType(CollisionEntity(car(ac),1))=2 Then
Do some stuff here
endif
endif