Coding

 Reply to this postStart new topic

[CLEO|Q] Carkill actors crash game?

JohnCorlx3
post Nov 22 2011, 12:03 PM
Post #1


The New Guy!

Posts: 1
Joined: 22-November 11



When I create actors with CLEO and then I try to carkill it the game instantly crash.
There is a solution for this problem?

Example of how I create actors:
CODE
Model.Load(7)
:wait_model
wait 0
if
Model.Available(7)
jf @wait_model
0@ = Actor.Create(Mission1, 7, 1@, 2@, 3@)
Model.Destroy(7)

What's wrong?
Go to the top of the page
 
+Quote Post
Deji
post Nov 24 2011, 06:47 PM
Post #2


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



You don't need to load the model id 7 (MALE01) and you definitely don't need to release it...
SANNY
0@ = Actor.Create(Mission1, #MALE01, 1@, 2@, 3@)


--------------------
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: