thx, do you allso know how you can teleport it to somewere?
Code:
public hurt (id) {
new Ent = create_entity("trigger_hurt")
DispatchKeyValue(Ent, "dmg", "1")
DispatchSpawn(Ent)
set_size(Ent, Float:{-32.0, -32.0, -32.0}, Float:{32.0, 32.0, 32.0})
new Float:entorigin[3]
entity_get_vector (id, EV_VEC_origin, entorigin) // line 117
entity_set_vector (Ent, EV_VEC_origin, entorigin)
}
dont work (i used id not 0

)
Code:
(plugin "cstrike\addons\amxmodx\plugins\dig_you_in.amxx")
L 05/07/2006 - 21:49:53: [AMXX] [0] dig_you_in.sma::hurt (line 117)
L 05/07/2006 - 21:50:03: [AMXX] [ENGINE] Invalid player 0 (not in-game)
L 05/07/2006 - 21:50:03: [AMXX] Displaying call trace