Raised This Month: $ Target: $400
 0% 

Script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
KrazyKiller316
Junior Member
Join Date: Aug 2005
Old 08-29-2005 , 20:00   Script
Reply With Quote #1

Is there a way to give to Make the models go to 1 person/SteamID

Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>

public plugin_init() {
        register_plugin("Admin Models", "1.1.1", "Krazy")
        register_event("ResetHUD", "resetModel", "b")
        return PLUGIN_CONTINUE
}

public plugin_precache() {
        precache_model("models/player/krazy/krazy.mdl")
        precache_model("models/player/krazy/krazy.mdl")

        return PLUGIN_CONTINUE
}

public resetModel(id, level, cid) {
        if (get_user_flags(id)) {
                new CsTeams:userTeam = cs_get_user_team(id)
                if (userTeam == CS_TEAM_T) {
                        cs_set_user_model(id, "krazy.mdl")
                }
                else if(userTeam == CS_TEAM_CT) {
                        cs_set_user_model(id, "krazy.mdl")
                }
                else {
                        cs_reset_user_model(id)
                }
        }

        return PLUGIN_CONTINUE
}
I took the script from someone Sorry
KrazyKiller316 is offline
Send a message via AIM to KrazyKiller316
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode