Raised This Month: $ Target: $400
 0% 

Spawn = instant crash


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 12-01-2010 , 20:42   Spawn = instant crash
Reply With Quote #1

Hi. I made this simple plugin:

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <superheromod>


public plugin_init()
{
    
register_plugin("Respawn""1.0""Jelle")
    
    
register_event("DeathMsg""hook_death""a""1>0"
}

public 
hook_death()
{
    new 
victim read_data(2)
    
    
client_print(victimprint_chat"You have been killed!")
    
    
spawn(victim)
    
spawn(victim)

Each time I get killed, or anyone else gets killed, the game closes and I get the message:

SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Reliable Datagram

I have also tried using ham to respawn. That just closes my game and no error comes.

It is a condition zero listen server I have made.

Am I doing it wrong?

EDIT:
If I delete the spawn stuff so it just prints to the client that it has been killed then it works. Then I get the message "You have been killed!" in my chat as I should, so it has to be the respawn stuff which doesn't work.
It has superheromod on, and it does have respawn heroes running which uses ham to respawn with so I really don't get it.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
 


Thread Tools
Display Modes

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 11:26.


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