if you look at the paramters of the cs_get_user_model, the paramters are index , model , length. you need an array to hold the model.
Code:
new model[8];
cs_get_user_model(id,model,7);
here are the models it returns
Code:
Model Constants:
enum CsInternalModel { CS_DONTCHANGE = 0, CS_CT_URBAN = 1, CS_T_TERROR = 2, CS_T_LEET = 3, CS_T_ARCTIC = 4, CS_CT_GSG9 = 5, CS_CT_GIGN = 6, CS_CT_SAS = 7, CS_T_GUERILLA = 8, CS_CT_VIP = 9};