Raised This Month: $ Target: $400
 0% 

Crowbar and pistol after respawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BFK_GoNER
Junior Member
Join Date: Feb 2009
Location: Holland
Old 02-17-2009 , 02:25   Crowbar and pistol after respawn
Reply With Quote #1

Hi everybody,

1) I'm trying to code an instant player respawn plugin but I'm running into weird problems already. After intensive web/forum-searching I decided to use the spawn() function, however I noticed strange things - the player always leaves behind a crowbar and a 9mm pistol after respawning:

Screenshot

Is there any explanation to this? How can I avoid spawning extra weapon entities?

2) The second part of my code slays all players and respawns them instantly. The problem is that my server often crashes with "ED_Alloc: no free edicts" error, especially when there is a lot of people playing. Any idea on how to fix this?

Thanks a lot!
BFK_GoNER is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode