I create a path with path_create.
After that i create a car and want the car move along
the path which i have created with path_create.
I have to use path_set with an empty string to get the pathname of the path.

Quote:
path_set(ENTITY* entity,STRING* name)
Attaches the given entity to the path with the given name. A8.13 If an empty name string is given, the string is set to the path name the entity is currently attached to. If NULL is given for the name, the entity is detached from its previous path.


I tried following
Code:
car = ent_create("mini.mdl",0,0);

	STRING* tpath ="";

// and = "#40" or = str_create("") or str_create("#40")

	

	path_set(road1.track_path,tpath);
 	ent_movepath(car,tpath, 5,2);
 	
 	ptr_remove(tpath);



It doesnt work.
road1.track_path is an ENTITY pointer to
an entity attached to the path created with path_create.