Raised This Month: $ Target: $400
 0% 

Touch help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MercedeSx7
Senior Member
Join Date: Feb 2012
Location: Serbia
Old 03-02-2013 , 11:16   Touch help
Reply With Quote #1

PHP Code:
#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
    
register_forward(FM_Touch"touch");
}

public 
touch(idweapon)
{
    if (!
pev_valid(weapon) || !pev_valid(id))
        return;
        
    if (
equal(weapon"models/w_ak47.mdl"))
    {
        
fm_give_item(id"weapon_ak47");
    }

Can anyone help me? :S
__________________
MercedeSx7 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 21:48.


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