Code:
sc_light_create(&(my.x), 250,&(my.skill1), SC_LIGHT_P | SC_LIGHT_PROJECTION,&(my.pan), my.skill5);


should do the trick.


Always learn from history, to be sure you make the same mistakes again...