i tested, there are Results look, This code to give model for access Flag A true ? Than i have tested it, but i didn't take any model, it's still normal model cs, than i went to user.ini and u removed my access flag A , and i take model admin, Than i think model it's not defined
i change new const szModelName[] = "actic" to "owner" owener = my model for access flag A
and i change it code formatex(szText, charsmax(szText), "models/player/%s/%s.mdl", szModelName, szModelName) to formatex(szText, charsmax(szText), "models/player/owner/owner.mdl", szModelName, szModelName)
i did it, but it's didn't take model for owner, it's just take a normal model, That for not for owner. any idea? it's was take noraml model cs, but now is took admin model for who isn't owner !
public OnPlayerSpawnPost(id) { if(is_user_alive(id) && !zp_get_user_zombie(id) && get_user_flags(id) & ADMIN_IMMUNITY) { cs_set_player_model(id, szModelName) } } Yet, you need to download .sma and .inc file from below thread:
works, i think it's fixed, but i have much lag, you think it's from this file ? NOW I SURE, it's working fine. but it's making too lag. very much =/ there are 15 players leaves the server because that !