it does work, the problem is... the entity doesnt get created on the server until a client joins, which makes no sense to me...

this is all thats in the function:

function pistol_pickup()
{
set(my,PASSABLE);
if(enet_get_connection() == SERVER_MODE || enet_get_connection() == CLIENT_SERVER_MODE)
enet_ent_create(_str("pistol.mdl"),my.x,_str("pickup"));
}

but strangely, it doesnt create anything on the server, but if i remove:
if (enet_get_connection() == SERVER_MODE || enet_get_connection() == CLIENT_SERVER_MODE)
from the above code then everytime a client joins, the entity gets created.. so am not entirely sure whats happening