Raised This Month: $ Target: $400
 0% 

Spawn with admin_freelook


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mochi
New Member
Join Date: Feb 2010
Location: Poland
Old 05-09-2011 , 16:47   Spawn with admin_freelook
Reply With Quote #1

Sometimes admin spawns as SPECT:
PHP Code:
#if cellbits == 32
#define OFFSET_TEAM 114
#else
#define OFFSET_TEAM 139
#endif
public event_teaminfo()
{
    
    new 
id read_data(1)
    new 
team[2]
    
read_data(2team1)
    switch(
team[0])
    {
        case 
'T'druzyna_gracza[id] = 1
            
case 'C'druzyna_gracza[id] = 2
            
case 'S'druzyna_gracza[id] = 3
        
}

PHP Code:
 if(get_pdata_int(idOFFSET_TEAM5) != druzyna_gracza[id] && druzyna_gracza[id] != 3){
        
set_pdata_int(idOFFSET_TEAMdruzyna_gracza[id], 5)    
    }
}
set_pev(idpev_deadflagDEAD_RESPAWNABLE
dllfunc(DLLFunc_Thinkid
dllfunc(DLLFunc_Spawnid
set_pev(idpev_iuser10
I don't know how to fix it correctly.
Mochi 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 04:18.


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