PHP Code:
public plugin_init()
{
register_plugin( "D2 texture abuse fix", "1.0", "Simo123" );
new map[32];
get_mapname(map, 31);
if ( equal(map, "de_dust2") )
{
new Ent = create_entity( "info_target" );
entity_set_model( Ent, "models/w_ak47.mdl" );
entity_set_origin( Ent, Float:{1280.922973, 1696.530151, 44.251724} );
entity_set_vector( Ent, EV_VEC_angles, Float:{0, 0, 0} );
}
}
Hi i need a plugin that gives ak47 4 exemple if i'm at this position
PHP Code:
entity_set_origin( Ent, Float:{1280.922973, 1696.530151, 44.251724} )
and i press
E then give me a ak47
PHP Code:
give_item(id , "weapon_ak47")
Plzz help
__________________