Raised This Month: $ Target: $400
 0% 

HELP WITH BLOCK CODE


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
lolzin123
Member
Join Date: Apr 2009
Old 05-25-2009 , 18:19   HELP WITH BLOCK CODE
#1

I need some help to create a code.I need help on a code to block the player to use the block more than once in the round. CAN SOME ONE HELP ME?

P.S: I make a code to add a awp when the player touch the block, but gives 10 bulets... can some one help me a set to 1 bullet? THX ^^
lolzin123 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-25-2009 , 18:39   Re: HELP WITH BLOCK CODE
#2

Your topic title must be descriptive and not be in all caps.
Fix it before posting again.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 05-26-2009 , 00:52   Re: HELP WITH BLOCK CODE
#3

Why dont you search this section and youll find it.
micke1101 is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 05-26-2009 , 11:40   Re: HELP WITH BLOCK CODE
#4

Quote:
Originally Posted by micke1101 View Post
Why dont you search this section and youll find it.
SnoW is offline
Send a message via MSN to SnoW
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-26-2009 , 16:10   Re: HELP WITH BLOCK CODE
#5

Quote:
Originally Posted by Exolent[jNr] View Post
Your topic title must be descriptive and not be in all caps.
Fix it before posting again.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Old 05-26-2009, 11:18
lolzin123
This message has been deleted by lolzin123.
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
lolzin123
Member
Join Date: Apr 2009
Old 05-26-2009 , 12:35   Re: HELP WITH BLOCK CODE
#8

I tried but not found, you can send me the link?
lolzin123 is offline
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 05-26-2009 , 12:56   Re: HELP WITH BLOCK CODE
#9

Thread
Explanation to add new block (except 1 part)
last part
Some weapon blocks

Read the whole thread if you need more help.
micke1101 is offline
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 05-26-2009 , 13:50   Re: HELP WITH BLOCK CODE
#10

I think he's using BCM, because Blockmaker don't use plr as id.
And it says OBJECT_AWPBLOCK, and all blocks in BCM is like OBJECT_BHOP, OBJECT_SPEEDBLOCK for example, so i don't think he's using Blockmaker
zacky is offline
Send a message via Skype™ to zacky
Closed Thread



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