Raised This Month: $ Target: $400
 0% 

[L4D] Stripping CHEAT Flag of 'respawn'?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wgooch
Member
Join Date: Dec 2008
Old 07-03-2009 , 21:11   Re: [L4D] Stripping CHEAT Flag of 'respawn'?
Reply With Quote #3

Quote:
Originally Posted by doku View Post
don't know if this is what you're trying to do but I wrote this script which will respawn a player, maybe it will help :


prep sdk call for Round Respawn :


PHP Code:
new Handle:hGameConf INVALID_HANDLE
new Handle:hRoundRespawn INVALID_HANDLE


public OnPluginStart()
{

    
hGameConf LoadGameConfigFile("l4d")
    
StartPrepSDKCall(SDKCall_Player)
    
PrepSDKCall_SetFromConf(hGameConfSDKConf_Virtual"RoundRespawn")
    
hRoundRespawn EndPrepSDKCall()
    

then call it when ever you need :

PHP Code:
SDKCall(hRoundRespawnclient
you will need to set up the l4d offset in the 'gamedata' folder by creating l4d.txt with the following :

PHP Code:
"Games"
{
    
"left4dead"
    
{
        
"Offsets"
        
{
            
"RoundRespawn"
            
{
                
"windows"    "488"
                "linux"        "489"
            
}
        }
    }

That's pretty awesome, is there by any chance a way to force the player into a ghost state? (Infected spawning state)
The ghost command and respawn command cannot be stripped of cheat flags.
wgooch 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 21:28.


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