This site is a testing version, but all data is shared with the live forum.


Raised This Month: $12 Target: $400
 3% 

AquaFresh/Skeleton/Stickman Hostage


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
NK
Junior Member
Join Date: Nov 2005
Location: UNKNOWN
Old 11-23-2005 , 00:14   AquaFresh/Skeleton/Stickman Hostage
Reply With Quote #1

N0TE:ONLY CHOOSE EITHER ONE OR YOUR SERVER MAY HAV PROMBLEM

SCREENSHOT:



Code:
#include <amxmodx> #include <engine> #define PLUGIN      "Change hostage models" #define VERSION     "0.1" #define AUTHOR      "v3x/Carbine" public plugin_init() {     register_plugin(PLUGIN,VERSION,AUTHOR);     register_logevent("Event_RoundStart",2,"0=World triggered","1=Round_Start"); } new g_szMdl[] = "models/player/aquafresh/aquafresh.mdl"; public plugin_precache() {     if(file_exists(g_szMdl))         precache_model(g_szMdl); } public Event_RoundStart() {     new iEnt;     while((iEnt = find_ent_by_class(iEnt,"hostage_entity")) != 0)     {         if(file_exists(g_szMdl))             entity_set_model(iEnt,g_szMdl);     } }
Code:
#include <amxmodx> #include <engine> #define PLUGIN      "Change hostage models" #define VERSION     "0.1" #define AUTHOR      "v3x/Carbine" public plugin_init() {     register_plugin(PLUGIN,VERSION,AUTHOR);     register_logevent("Event_RoundStart",2,"0=World triggered","1=Round_Start"); } new g_szMdl[] = "models/player/skeleton/skeleton.mdl"; public plugin_precache() {     if(file_exists(g_szMdl))         precache_model(g_szMdl); } public Event_RoundStart() {     new iEnt;     while((iEnt = find_ent_by_class(iEnt,"hostage_entity")) != 0)     {         if(file_exists(g_szMdl))             entity_set_model(iEnt,g_szMdl);     } }
Code:
#include <amxmodx> #include <engine> #define PLUGIN      "Change hostage models" #define VERSION     "0.1" #define AUTHOR      "v3x/Carbine" public plugin_init() {     register_plugin(PLUGIN,VERSION,AUTHOR);     register_logevent("Event_RoundStart",2,"0=World triggered","1=Round_Start"); } new g_szMdl[] = "models/player/stickman/stickman.mdl"; public plugin_precache() {     if(file_exists(g_szMdl))         precache_model(g_szMdl); } public Event_RoundStart() {     new iEnt;     while((iEnt = find_ent_by_class(iEnt,"hostage_entity")) != 0)     {         if(file_exists(g_szMdl))             entity_set_model(iEnt,g_szMdl);     } }
Attached Files
File Type: zip aquafresh.zip (159.6 KB, 251 views)
File Type: zip skeleton.zip (323.3 KB, 316 views)
File Type: zip stickman.zip (142.0 KB, 259 views)
File Type: sma Get Plugin or Get Source (stickman.sma - 1149 views - 616 Bytes)
File Type: sma Get Plugin or Get Source (skeleton.sma - 1186 views - 616 Bytes)
File Type: sma Get Plugin or Get Source (aquafresh.sma - 1018 views - 618 Bytes)
NK is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 11-23-2005 , 00:48  
Reply With Quote #2

Holy moley.. ;x

Just make it select a random model for each hostage ;)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
NK
Junior Member
Join Date: Nov 2005
Location: UNKNOWN
Old 11-23-2005 , 00:50  
Reply With Quote #3

Providing Models Will Be Better
NK is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 11-30-2005 , 13:38  
Reply With Quote #4

Your screenshots are MIA.

v3x is correct (if I understand what he was implying) in that you shouldn't have 3 separate scripts with the model being the only thing different. You should do what v3x suggested and/or add a CVAR that lets an admin indicate which of the models to use.
Brad is offline
NK
Junior Member
Join Date: Nov 2005
Location: UNKNOWN
Old 12-04-2005 , 05:35  
Reply With Quote #5

[img]http://img206.**************/img206/920/stickman3ls.jpg[/img]
[img]http://img214.**************/img214/4131/skeletor0mu.jpg[/img]
[img]http://img214.**************/img214/4488/aquafresh0qq.jpg[/img]
NK is offline
broertje
Senior Member
Join Date: Mar 2005
Old 12-04-2005 , 08:37  
Reply With Quote #6

Lol,inspiration of my plugin?
broertje is offline
Sir-LaggAlot
Member
Join Date: Oct 2005
Location: USA
Old 12-04-2005 , 10:26  
Reply With Quote #7

Quote:
Originally Posted by broertje
Lol,inspiration of my plugin?
__________________
My 1st plugin - Redirect SteamID
Sir-LaggAlot is offline
Send a message via AIM to Sir-LaggAlot
Sir Apocalypse
Member
Join Date: Jul 2005
Location: Finland
Old 12-06-2005 , 01:19  
Reply With Quote #8

SInglaton.
NICE INDEED
__________________
[img]http://img56.**************/img56/864/sirapocalypse1yh.gif[/img]
Sir Apocalypse is offline
Send a message via MSN to Sir Apocalypse
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 12-13-2005 , 17:44  
Reply With Quote #9

Theres no need for a plugin with hardcoded paths to models. Therefor, I am moving this to unapproved plugins.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull 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 07:05.


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