With 'at the feet of a player' you mean in the drop position ? And what naming are you talking about ?
Code:
#include < amxmodx >
#include < cstrike >
#include < fun >
#include < hamsandwich >
public plugin_init( ) {
register_plugin( "Toy Guns", "1.0", "DoNii" ) ;
RegisterHam( Ham_Spawn, "player", "fw_HamSpawnPost", 1 ) ;
}
public fw_HamSpawnPost( id ) {
if( is_user_alive( id ) ) {
give_item( id, "weapon_deagle" ) ;
cs_set_user_bpammo( id, CSW_DEAGLE, 0 ) ;
engclient_cmd( id, "drop weapon_deagle" ) ;
}
}
__________________