Raised This Month: $ Target: $400
 0% 

Problem wyth respawn plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 12-09-2014 , 09:04   Re: Problem wyth respawn plugin
Reply With Quote #3

@Kia actual_revive should return a value

I'm not sure what I should do now, or how.

But, it should be like this or not?

PHP Code:
public actual_revive(parm[])
 {
    new 
id parm[0], parm[1]

    if(!
is_user_connected(id))
        return 
PLUGIN_HANDLED

    
if(a==0)
        
get_user_origin(idSOrigin[id])
    else {
        if(
get_pcvar_num(sv_HSRspawns) > 0)
            
spawn_Preset(id)
        else
            
set_user_origin(idSOrigin[id])
    }
    return 
PLUGIN_CONTINUE
 


Last edited by Krtola; 12-09-2014 at 09:09.
Krtola is offline
Send a message via Skype™ to Krtola
 



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 15:23.


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