Raised This Month: $ Target: $400
 0% 

Ham_Spawn not called


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NikKOo31
Senior Member
Join Date: May 2013
Location: Home
Old 07-14-2014 , 20:13   Re: Ham_Spawn not called
Reply With Quote #1

In my experience, prints are always better

PHP Code:
public Ham_Spawn_post(id)
{
    
client_print(idprint_chat"[debug] ham spawn was executed")
    
    if(
is_user_alive(id))
    {
        
message_begin(MSG_ONEg_pMsgHideWeapon_id);
        
write_byte(8);
        
message_end();

        
show_weapon_menu(id);
        
client_print(idprint_chat"[debug] the menu will show up now")
    }
    else
        
client_print(idprint_chat"[debug] the menu won't show because you are not alive yet and KliPPy was right")

Then you will know if the problem is ham_spawn or maybe the menu (?
NikKOo31 is offline
Reply



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:06.


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