Jump to content

Leave Deaths Exploit Fix 1.0

   (0 reviews)

About This File

This plugin fixes an exploit where if you leave the game after dying but before respawning your death count doesn't get incremented. The following simple code is used:

void LeaveDeathsExploitFix::OnPlayerLeave(int PlayerID){	GameObject *obj = Get_GameObj(PlayerID);	if ( Commands->Get_Health(obj) == 0.0f ) 	{ 		Find_Player(PlayerID)->Set_Deaths(Find_Player(PlayerID)->Get_Deaths()+1); 	}}

To install place 'LeaveDeathsExploitFix.dll' inside the root FDS and add an entry for it under [Plugins] in SSGM.ini.

You can contact me under the nick 'iran'.


User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.