View Single Post
Darkimmortal
Senior Member
Join Date: Aug 2008
Old 10-25-2009 , 22:28   Re: [TF2] PropHunt 1.1
Reply With Quote #102

Quote:
Originally Posted by toazron1 View Post
Still getting this error:

Code:
L 10/25/2009 - 21:48:11: [SM] Native "SDKCall" reported: NULL not allowed
L 10/25/2009 - 21:48:11: [SM] Displaying call stack trace for plugin "prophunt.smx":
L 10/25/2009 - 21:48:11: [SM]   [0]  Line 2054, C:\Programming\SourceMod\prophunt.sp::GiveWep()
L 10/25/2009 - 21:48:11: [SM]   [1]  Line 2298, C:\Programming\SourceMod\prophunt.sp::Event_player_death()
Something is wrong with the offsets in givenameditem.games.txt.

Quote:
Originally Posted by Matheus28 View Post
Why every play get slay at the end of the round in ver 1.0?
There were two reasons:

- Changing team for the team swap without the new method in 1.1 meant an instant suicide.
- The plugin is reloaded between rounds as an extra precaution and when it loads it runs a simple sm_slay @all to end the round. It now writes a file before the planned reload and checks for the existence of the file before slaying.
__________________
Darkimmortal is offline