I pay with Paypal right away, no problem getting paid!
Hello. I am looking for a coder to write a VIP plugin for me for NMRiH.
VIP would be able to respawn themselves one time per OBJECTIVE map.
Of course sm admin would have the same command written inside the plugin.
I think that CNMRiHPlayer::Spawn() is just a copy/rename of the code for CBasePlayer::Spawn().
Now since virtual void PlayerSpawn( CBasePlayer *pPlayer ) = 0;// called by CBasePlayer::Spawn just before releasing player into the game, hooking CNMRiHPlayer::Spawn()is a way to hook at player spawn.
I spent some time trying to write the plugin but I was unable to find the right offsets for respawning.
The stuff I pulled seemed a bit out of date.
Code:
Class :: Virtual Method Name W L M Memory Address
CNMRiHPlayer::Spawn() 21 22 22 0x00C04670
CBaseEntity::Respawn() 108 109 109 0x00539BD0
CNMRiHPlayer::SharedSpawn() 292 293 293 0x00B311E0
CBasePlayer::ForceRespawn() 293 294 294 0x00878450
CNMRiHPlayer::InitialSpawn() 294 295 295 0x00BFFA10
CSDKPlayer::EntSelectSpawnPoint() 352 353 353 0x00C580E0
CBasePlayer::IsReadyToSpawn() 396 397 397 0x006DCCD0
CBasePlayer::ShouldGainInstantSpawn() 397 398 398 0x006DCCE0
CNMRiHPlayer::~CNMRiHPlayer() 0 1 1 0x00BFDE40
CNMRiHPlayer::Event_Killed
(CTakeDamageInfo const&) 64 65 65 0x00C05FB0
__________________