fixed
the solution if you have the same problem
Code:
new id = pev(atack, pev_owner)
and then
Code:
if(is_user_connected(id) && ma_explosive[id] == true)
{
new origin_nuevo[3]
get_user_origin(id, origin_nuevo, 3)
message_begin(MSG_BROADCAST, SVC_TEMPENTITY, origin_nuevo)
write_byte(TE_EXPLOSION)
write_coord(origin_nuevo [0])
write_coord(origin_nuevo [1])
write_coord(origin_nuevo [2])
write_short(sprite_explode)
write_byte(90)
write_byte(0)
write_byte(0)
message_end()
}
}