CLEO Help [HELP]Model Invisible

CLEO related
Status
Not open for further replies.

hotnoob

New member
Joined
Apr 3, 2013
Messages
3
Reaction score
0
how to make my NPC model invisible? here is the codes
Code:
10@ = Actor.Create(Special, #WMOICE, 0.0, 0.0, 0.0)
Actor.Health(10@) = 10000
07DD: set_actor 10@ temper_to -100 // see pedstats.dat 
0446: set_actor 10@ immune_to_headshots 1 
Actor.SetImmunities(10@, 1, 1, 1, 1, 1)
wait 0 

  20@ > 6.5 
else_jump @GUNBACK_411 
Actor.PutAt(10@, 1@, 2@, 3@)
wait 0
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
* "Actor.SetImmunities" doesn't work in 0.3x anymore.

* "0446: set_actor 10@ immune_to_headshots 1" won't work in samp because headshot scripts are server sided, even if you were immune to headshots, you would die & get spawned.

And why do you want to make your NPC invisible ? Do you intent to hear it's voice ? or what is it ?

By the way, i got only 1 solution to make it invisible, and it's this :
Code:
0860: link_actor 10@ to_interior 1
There should be some more efficient ways but atm i only know this one. And ye, with this way your model will be invisible but will be solid (collidable).
 
Status
Not open for further replies.
Top