prop_physics_create props_junk/watermelon01.mdl
ent_setname m
ent_fire m color 255 0 0 0
give m
ent_fire m addoutput "onhealthchanged !activator,ignite"
not spammed, not stolen, made after i learned something about outputs.
give is a way to create an entity.. when you give something you use the name of the entity.. not its classname or targetname..
also color is wrong... its on rgb(red green blue) props and most stuff take 3 numbers for color... only lights take a fourth one for brightness...put 255 0 0 into quotes so it can recognise all three numbers... since the other numbers are 0 you dont need it but it would be a problem if you had something like 100 0 255 for instance.. so try color "255 0 0"
BrOnyxia wrote:give is a way to create an entity.. when you give something you use the name of the entity.. not its classname or targetname..
also color is wrong... its on rgb(red green blue) props and most stuff take 3 numbers for color... only lights take a fourth one for brightness...put 255 0 0 into quotes so it can recognise all three numbers... since the other numbers are 0 you dont need it but it would be a problem if you had something like 100 0 255 for instance.. so try color "255 0 0"
script worked perfect and pisseed of noobs. it was a server problem, but thanks.