Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › Help › Tutorials › Get/Set current stamina (fakemeta)
6 posts, 4 people · 2,187 views Thread Rating: ★★★★★
closedGet/Set current stamina (fakemeta)
Started by diamond-optic on 07-09-2006, 08:07 PM
diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
07-09-2006, 08:07 PM #1

well unlike the dodfun "dod_set_stamina" which only lets you set a clients min & max stamina.. this allows you to get what the stamina is currently at & lets you set it to a new number as well..nnthis uses fakemeta btw...nnGet Stamina:n

nnew Float:staminanpev(id, pev_fuser4, stamina)
nSet Stamina:n
nnew Float:stamina = 50.0     //value between 0-100nset_pev(id, pev_fuser4, stamina)
Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
07-09-2006, 11:08 PM #2

What does the "pev" mean? What does it stand for so I can do some more research on it?

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
07-09-2006, 11:13 PM #3

um i dont really know... its just the way fakemeta is.. look thru the fakemeta includes, you'll see them all over

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
07-13-2006, 05:58 AM #4

I've found out. Thanks very much.

K kimball
posted here
Posts: 4
Threads: 0
Joined: May 2005
07-22-2006, 01:56 AM #5

Wilson you making your own plugins ?

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
07-23-2006, 06:52 AM #6

Must fix the stamina thingy...hehehe...nnCheers!nnPS I dont know if that works....we will have too see...nnCheers!

Archive › Old Forum Threads › Help › Tutorials › Get/Set current stamina (fakemeta)
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC