Raised This Month: $ Target: $400
 0% 

Player out of range (0) [ERROR]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 01-05-2013 , 03:17   Re: Player out of range (0) [ERROR]
Reply With Quote #9

Quote:
Originally Posted by twix_p View Post
PHP Code:
#include < hamsandwich >
public plugin_init()
    
RegisterHamHam_Spawn"player""OnSpawn");

public 
OnSpawniPlayer )
{
    if ( 
is_user_aliveiPlayer ) )
    {
            
menu_displayiPlayerg_Menu);
/* 
             You can strip weapons when he choice a gun from menu, if he do.

            strip_user_weapons(iPlayer);
            give_item( iPlayer "weapon_knife" ); */
    
}

Thank you, this is easier i think. I also took in consideration your advice and stripped weapons when the player chose them from the menu.
bLacK-bLooD 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:45.


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