Raised This Month: $ Target: $400
 0% 

Player Health/Model


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
Z3121
Senior Member
Join Date: Mar 2008
Old 02-08-2009 , 14:45   Player Health/Model
#1

PLAYER HEALTH REQ
Can somone make a teams hp at 3000 and when they respawn also i am using CSDM the latest one. So make it that Terriost get 3000 hp each respawn. Please and thanks

PLAYER MODEL REQ
CAn you make a plugin also that it changes a model to a model you add to a folder called tmdl/tmdl.mdl like basicly i want to add a terriost a model. JUST TERRIOST
__________________
-------------------------------------------------------------------
04/04/10 Jailbreak Package HERE!!
Z3121 is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 02-08-2009 , 14:56   Re: Player Health/Model
#2

Yes, there's many plugins for those, so only you have to do is search. For model changing I suggest GHW_Chronic's one.
SnoW is offline
Send a message via MSN to SnoW
Z3121
Senior Member
Join Date: Mar 2008
Old 02-08-2009 , 15:23   Re: Player Health/Model
#3

wait so the chronics one can replace player models to? how?
__________________
-------------------------------------------------------------------
04/04/10 Jailbreak Package HERE!!
Z3121 is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 02-08-2009 , 16:24   Re: Player Health/Model
#4

Quote:
Originally Posted by Z3121 View Post
wait so the chronics one can replace player models to? how?
No, it only changes weapon(s) model(s).
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
Z3121
Senior Member
Join Date: Mar 2008
Old 02-08-2009 , 16:56   Re: Player Health/Model
#5

well than snow mis lead..
__________________
-------------------------------------------------------------------
04/04/10 Jailbreak Package HERE!!
Z3121 is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 02-09-2009 , 12:10   Re: Player Health/Model
#6

Quote:
Originally Posted by Z3121 View Post
well than snow mis lead..
Yes I did, sorry for that. So now, you just have to start searching with different words than the author's name. Though only if you didn't search/found some plugin already.
SnoW is offline
Send a message via MSN to SnoW
Z3121
Senior Member
Join Date: Mar 2008
Old 02-09-2009 , 17:08   Re: Player Health/Model
#7

aww cant anyone make this? i tried to find player start hp and replaceing the default t model with a custom one :O plus a Terriost respawn only :O
__________________
-------------------------------------------------------------------
04/04/10 Jailbreak Package HERE!!
Z3121 is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 02-09-2009 , 17:20   Re: Player Health/Model
#8

for the models use this
http://forums.alliedmods.net/showthread.php?p=181280

i use it, works perfectly
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 02-09-2009 , 17:31   Re: Player Health/Model
#9

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>

// Edit those to you liking.
#define MODEL_PRECACHE_STR    "models/tmdl/tmdl.mdl"
#define MODEL_NAME    "tmdl"

#define IsTerror(%1)    (get_pdata_int(%1, 114) == 1)


public plugin_precache()
{
    
precache_model(MODEL_PRECACHE_STR);
}

public 
plugin_init()
{
    
register_plugin("Terrorists have 3000 HP and a custom model""1.0""Dores[Poog]");
    
    
RegisterHam(Ham_Spawn"player""Forward_TSpawn"1);
}

public 
Forward_TSpawn(id)
{
    if(!
is_user_alive(id) || !IsTerror(id))
    {
        return;
    }
    
    
set_pev(idpev_health3000.0);
    
    
set_user_info(id"model"MODEL_NAME);

But it might not change the health on the HUD because the health is set after the spawn.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ

Last edited by Dores; 02-09-2009 at 17:37.
Dores is offline
Z3121
Senior Member
Join Date: Mar 2008
Old 02-09-2009 , 23:48   Re: Player Health/Model
#10

wait so i change tmdl to wat the folder name is and inside that put the foldername.mdl? correct? thats all right?
__________________
-------------------------------------------------------------------
04/04/10 Jailbreak Package HERE!!
Z3121 is offline
Closed Thread



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 09:19.


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