Raised This Month: $ Target: $400
 0% 

HELP WITH BLOCK CODE


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
lolzin123
Member
Join Date: Apr 2009
Old 05-26-2009 , 11:34   Re: HELP WITH BLOCK CODE
#7

Maybe this makes you understand what I want.

The code:

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <xs>
#include <core>
#include <fun>

case OBJECT_AWPBLOCK:
        {
                static 
Float:lastTouched[33];

                if ( 
get_gametime() - lastTouched[plr] > 50.0 )
                {
                
give_item(plr"weapon_awp");
            
                
                
set_hudmessage(255000.050.6502.02.00.50.1, -1);
                
show_hudmessage (plr"YOU WON AN AWP WITH 1 BULLET!");

                
                
lastTouched[plr] = get_gametime();
                }
        }
        }
    } 
Anyone can edit the player so to get a round of AWP, and with only one bullet?
lolzin123 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 01:24.


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