show bomb model
#include <amxmodx>
#include <engine> public plugin_init() { // Plugin information register_plugin("Teamdeagles","0.1","Ywa-NL") register_event("CurWeapon", "weaponChange", "be", "1=1") register_cvar("amx_teamdeagles", "1") return PLUGIN_CONTINUE } public plugin_precache() { // Precache models precache_model("models/topsever1/w_flashbang.mdl") precache_model("models/topsever1/w_hegrenade.mdl") } public weaponChange(id) { if ( !get_cvar_num("amx_teamdeagles") ) return PLUGIN_CONTINUE // Get needed information // // Weapon ID, Ammo, Clip new clip, ammo, wpnid = get_user_weapon(id,clip,ammo) switch(wpnid) { case CSW_FLASHBANG: { entity_set_string(id, EV_SZ_viewmodel, "models/topsever1/w_flashbang.mdl") } case CSW_HEGRENADE: { entity_set_string(id, EV_SZ_viewmodel, "models/topsever1/w_hegrenade.mdl") } } return PLUGIN_CONTINUE } this sma can work ? Can show the design to other player ?? |
no idea what ur asking for but i think u should
1. use [ small ] tags 2. replace this Code:
Code:
|
Quote:
For example,when I throw the Grenades, I can see new model (dl from the internet,new Grenades) not use the old model for (install CS,design) Therefore, do u understand what I talking about ? |
Code:
|
Redundant. There's no need for both Engine AND CSX when all you need is Fakemeta.
This should work: Code:
|
ohh :P
btw, if u dont like to enable a module just coz u need one func from it.. this should do the trick too Code:
EDIT: bahh, too slow :( |
You're still going to need Engine or FM to set the model.
|
Code:
Can you help me to make it into 1 plugin ? Thank you so much !! |
http://users.pelikaista.net/~p3tsin/omat/small.jpg
pls? EDIT: btw v3x, i meant csx as the module with only one func needed :) |
Quote:
|
| All times are GMT -4. The time now is 05:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.