Heh, I found out an other way, thanks anyway
(the stuff that didn't work was: )
Code:
if(get_entity_flags(id) &FL_PARTIALGROUND)
{
mana[id] = mana[id] - BLINK_COST
}
else
{
set_user_origin(id, blinkorg)
}
__________________
"My mouth is dry... My face is numb..." ~ Brain Stew - Green Day