Raised This Month: $ Target: $400
 0% 

Splinter Cell MOD ||| First code and idea by ESTCOBS


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ESTCOBS
Junior Member
Join Date: May 2008
Location: Kraków, Poland
Old 05-10-2008 , 06:43   Splinter Cell MOD ||| First code and idea by ESTCOBS
Reply With Quote #1

Hi =)
I wanna SplinterCell MODification
First code by Yami_Kaitou and me

This code for invisible & no footsteps
Code:
/**************************************
********** Splinter Cell MOD **********
*********** Idea by ESTCOBS ***********
**************************************/

/**************************************
EdisLeado  ||| Argus & SC Models ******
YamiKaitou ||| Invisibility code ******
whitemike  ||| Models code ************
**************************************/
 
#include <amxmodx>
#include <fun>
 
#define VERSION "1.0"
 
public plugin_init() {
    register_plugin("SC | Invisible & Footsteps", VERSION, "Yami Kaitou");
    register_event("CurWeapon","eCurWeapon","b","2=29");
}
 
public eCurWeapon(id) {
    if (get_user_flags(id)&ADMIN_LEVEL_A) {
        if (get_user_weapon(id, _, _) == CSW_KNIFE) {
		    set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 0);
			set_user_footsteps(id, 1);
        }
        else {
            set_user_rendering(id, kRe+nderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 32);
			set_user_footsteps(id, 1);
        }
    }
 
    else {
        set_user_footsteps(id, 0);
        set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 255);
    }
    return PLUGIN_CONTINUE;
}
And this is code for custom models...
Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>

#define VERSION "1.0"

public plugin_init() {
	register_plugin("Splinter Cell Models", VERSION, "ESTCOBS")

	register_event("ResetHUD", "SC_models", "b")
	
	return PLUGIN_CONTINUE
}

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

	return PLUGIN_CONTINUE
}

public SC_models(id, level, cid) {
	new CsTeams:userTeam = cs_get_user_team(id)
	
	if (userTeam == CS_TEAM_CT) {
		cs_set_user_model(id, "sc_spy")
	}

	else if (userTeam == CS_TEAM_T) {
		cs_set_user_model(id, "sc_argus")
	}

	else {
		cs_reset_user_model(id)
	}

	return PLUGIN_CONTINUE
}
Put together this codes and make teams ...
Teams .... 5 Argus (TT) versus 1 Spy (CT)
5tt = 1ct
12 players = 10tt and 2 ct :]
ok ??

+++++ KARMA +++++

=== ATTENTION ===
In new posts i add new requestions/ideas :]

Regards
ESTCOBS
ESTCOBS is offline
Reply



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 08:04.


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