I want to rename a entity of a door to when I write /open it will only open that specific door, I tryed this way:
PHP Code:
set_pev(ent[id], pev_targetname, "Jail")
dllfunc(DLLFunc_Use, "Jail", 0 );
ent[id] its because I made the entity that the user is aiming at
But it didnt work... why? The entity is renamed (I already tested) but it doesn't open the door
__________________