Jump to content
GIGN Forum

Recommended Posts

Es gribeju uzinat var ar amx_adminmodel.amxx pluginu ustaisit ta piemeram kuriem adminiem ir immunity tiem ir tie terpi a kuriem nav immunity tiem nav terpu? Ja kac zin ka to var ustaisit vai ir jau gatavs plugins ilikiet te vai iedodiet linku kur var novilkt.:)

TNX jau ieprieks

Link to comment
Share on other sites

PHP

public resetModel(id, level, cid) {

        if (get_user_flags(id) & ADMIN_KICK) {

                new CsTeams:userTeam = cs_get_user_team(id)

                if (userTeam == CS_TEAM_T) {

                        cs_set_user_model(id, "admin_te")

                }

                else if(userTeam == CS_TEAM_CT) {

                        cs_set_user_model(id, "admin_ct")

                }

                else {

                        cs_reset_user_model(id)

                }

        }

        return PLUGIN_CONTINUE

}

Šī vieta izsaka visu... Ja nemāki nomainīt samierinies ar to kā ir =]

Edited by Kiwix
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...