Raised This Month: $ Target: $400
 0% 

Block any scoping


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Toastt
BANNED
Join Date: Nov 2009
Old 12-24-2009 , 00:09   Block any scoping
Reply With Quote #1

scout
awp
auto sniper
etc... any gun with scope
whats the code to block it?
i want to put this in my /lr menu
Toastt is offline
Old 12-25-2009, 04:18
MC_hammer
This message has been deleted by YamiKaitou. Reason: unneeded/spam/insults/reply to deleted posts
Old 12-25-2009, 04:32
MC_hammer
This message has been deleted by YamiKaitou. Reason: unneeded/spam/insults/reply to deleted posts
Hasler
BANNED
Join Date: Jul 2009
Location: Argentina, Rosario
Old 12-25-2009 , 04:32   Re: Block any scoping
Reply With Quote #2

for buy..

PHP Code:
#include <amxmodx>

new bool:asd[33]

new 
SzBlock[][] = { "scout""awp""g3sg1" }

public 
plugin_init() {
    
register_plugin("blockbuy""1.5""...")
    
    for (new 
isizeof SzBlocki++)
      
register_clcmd(SzBlock[i], "Block"
}

public 
Block(id)
{
    if(
asd[id] == true)
    {
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_CONTINUE

Hasler 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 04:14.


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