Raised This Month: $ Target: $400
 0% 

Help with weapongive


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Balck
Senior Member
Join Date: Apr 2013
Location: Kosova-Mitrovica
Old 04-17-2013 , 08:35   Re: Help with weapongive
Reply With Quote #1

Ok i have create this but plzz help if anyone can

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <cstrike>
#include <fun>

public plugin_init()
{
    
register_plugin"D2 texture abuse fix""1.0""Simo123" );

    new 
map[32];
    
get_mapname(map31);


    if ( 
equal(map"de_dust2") )
    {
        new 
Ent create_entity"info_target" );

        
entity_set_modelEnt"models/w_ak47.mdl" );
        
entity_set_originEntFloat:{1280.9229731696.53015144.251724} );
        
entity_set_vectorEntEV_VEC_anglesFloat:{000} );
        }
}

public 
client_PreThink(id)
{       
    new 
button get_user_button(id)

        
        if (
button IN_USE//how can i set here if entity_set_origin( Ent, Float:{1280.922973, 1696.530151, 44.251724} ) to give me ak47  
        
{
                
give_item(id"weapon_ak47")
        }

__________________
Balck 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 10:48.


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