Raised This Month: $ Target: $400
 0% 

ExecuteHamB(Ham_CS_RoundRespawn, id) bug?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 01-09-2013 , 15:58   Re: ExecuteHamB(Ham_CS_RoundRespawn, id) bug?
Reply With Quote #2

There are times when player can't be spawned (for example when choosing model). You can probably detect it with this (I haven't tested it myself, it was posted here):
PHP Code:
const m_iJoinedState 121
const m_iMenu 205

const MENU_CHOOSEAPPEARANCE 

if( !get_pdata_int(idm_iJoinedState) && get_pdata_int(idm_iMenu) != MENU_CHOOSEAPPEARANCE ){
    
//can spawn
}else{
    
//can not spawn

__________________
Impossible is Nothing
Sylwester 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 13:46.


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