Your array is perfectly fine. But send_var_id expects a pointer to user defined variable. Pointer is the important part here. player_handle[i] is a handle, not a pointer. If you want to pass that specific content you have to pass the address of the variable. For Example &(player_handle[i]). Lite-C takes some of the complexity away for you, by automatically using pointers where appropriate. But this does not work in all cases.


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