theholygod
Newbie
- Joined
- May 6, 2007
- Messages
- 136
- Reaction score
- 0
Hi all
I've recently started yet annother mod with my friends. We use these little mods as learning ventures, never really with high expectations.
Anyhow, this time i decided to look into coding. I have a VERY basic knowledge of C++, and i am really struggling with this tutorial:
http://developer.valvesoftware.com/wiki/Last_Man_Standing_Gametype
I can do the first few steps (the tutorial is very clear on where the pieces of code go) and then suddenly it all gets very vague and i get completely lost.
Now, i am at the stage of putting in the following code:
A friend has pointed out that i should be putting it under CHL2MP_Player::~CHL2MP_Player( void ), but i keep getting this compile error:
.\hl2mp_dll\hl2mp_player.cpp(1626) : error C2509: 'InitialSpawn' : member function not declared in 'CHL2MP_Player'
is there anyone out there who could help me with this? contact through msn would be much preferable.
Thanks for reading.
I've recently started yet annother mod with my friends. We use these little mods as learning ventures, never really with high expectations.
Anyhow, this time i decided to look into coding. I have a VERY basic knowledge of C++, and i am really struggling with this tutorial:
http://developer.valvesoftware.com/wiki/Last_Man_Standing_Gametype
I can do the first few steps (the tutorial is very clear on where the pieces of code go) and then suddenly it all gets very vague and i get completely lost.
Now, i am at the stage of putting in the following code:
Code:
m_iPlayerLives = -1;
m_iRewarded = 0;
initialspawn();
A friend has pointed out that i should be putting it under CHL2MP_Player::~CHL2MP_Player( void ), but i keep getting this compile error:
.\hl2mp_dll\hl2mp_player.cpp(1626) : error C2509: 'InitialSpawn' : member function not declared in 'CHL2MP_Player'
is there anyone out there who could help me with this? contact through msn would be much preferable.
Thanks for reading.