Quote:
Originally Posted by twix_p
PHP Code:
#include < hamsandwich >
public plugin_init()
RegisterHam( Ham_Spawn, "player", "OnSpawn", 1 );
public OnSpawn( iPlayer )
{
if ( is_user_alive( iPlayer ) )
{
menu_display( iPlayer, g_Menu, 0 );
/*
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.