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