Raised This Month: $51 Target: $400
 12% 

Block command like drop, say...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Krle
Senior Member
Join Date: Jul 2011
Location: Serbia, Nis
Old 09-04-2011 , 10:15   Block command like drop, say...
Reply With Quote #1

I know the way to block drop n say, but can i block buy like this

PHP Code:
register_clcmd("buy""loock")

public 
loock(id)
return 
PLUGIN_HANDLED 
Or anyother way??

Or i have to use ConnorMcLeod case?

@EDIT Can anyone tell me everything i can register and block it my case, except say and drop (because i already know em)
__________________

Sorry about my BAD English

Last edited by Krle; 09-04-2011 at 10:17.
Krle is offline
Send a message via MSN to Krle
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 09-04-2011 , 10:40   Re: Block command like drop, say...
Reply With Quote #2

You have to block all buy comands, not only the menu.
You can block drop the way you posted.


Edit: If you want to block buy completely, you can remove buyzones:
Code:
remove_entity_name("info_map_parameters") remove_entity_name("func_buyzone")
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
Krle
Senior Member
Join Date: Jul 2011
Location: Serbia, Nis
Old 09-04-2011 , 10:50   Re: Block command like drop, say...
Reply With Quote #3

Can you tell me what everything i can remove with the way i posted Thanks
__________________

Sorry about my BAD English
Krle is offline
Send a message via MSN to Krle
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 09-04-2011 , 11:01   Re: Block command like drop, say...
Reply With Quote #4

Everything that is sent to server.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
Krle
Senior Member
Join Date: Jul 2011
Location: Serbia, Nis
Old 09-04-2011 , 11:47   Re: Block command like drop, say...
Reply With Quote #5

commands?


register_clcmd("drop", "fuckthis")
register_clcmd("say", "fuckthistoo")

elseee???
__________________

Sorry about my BAD English
Krle is offline
Send a message via MSN to Krle
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 09-04-2011 , 11:58   Re: Block command like drop, say...
Reply With Quote #6

Nobody will list all the hookable commands since there is a whole bunch of them...
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
Krle
Senior Member
Join Date: Jul 2011
Location: Serbia, Nis
Old 09-04-2011 , 12:32   Re: Block command like drop, say...
Reply With Quote #7

just few '0
__________________

Sorry about my BAD English
Krle is offline
Send a message via MSN to Krle
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 09-04-2011 , 12:41   Re: Block command like drop, say...
Reply With Quote #8

Code:
Command List
--------------
appenddemo      
cl_messages     
cl_rate         
commentator     
connect         
disconnect      
endmovie        
entities        
fullserverinfo  
gamedir         
gg              
httpstop        
iga_reload      
iga_shoot       
list            
listdemo        
listen          
pingservers     
playdemo        
rcon            
record          
removedemo      
retry           
setdemoinfo     
slist           
snapshot        
spec_pos        
startmovie      
stop            
swapdemo        
timedemo        
upload          
viewdemo        
voice_showbanned
spec_autodirecto
spec_drawstatus 
spec_drawcone   
spec_drawnames  
togglescores    
spec_menu       
spec_help       
spec_decal      
spec_toggleinset
spec_mode       
hud_saytext     
hideradar       
drawradar       
clearplayers    
trackplayer     
adjust_crosshair
invprev         
invnext         
cancelselect    
slot10          
slot9           
slot8           
slot7           
slot6           
slot5           
slot4           
slot3           
slot2           
slot1           
-nvgadjust      
+nvgadjust      
buy             
rebuy           
autobuy         
gunsmoke        
-commandmenu    
+commandmenu    
joyadvancedupdat
snapto          
-camdistance    
+camdistance    
-cammousemove   
+cammousemove   
firstperson     
thirdperson     
-camout         
+camout         
-camin          
+camin          
-camyawright    
+camyawright    
-camyawleft     
+camyawleft     
-campitchdown   
+campitchdown   
-campitchup     
+campitchup     
-break          
+break          
-graph          
+graph          
-showscores     
+showscores     
-score          
+score          
-alt1           
+alt1           
-reload         
+reload         
-duck           
+duck           
-jlook          
+jlook          
-mlook          
+mlook          
-klook          
+klook          
impulse         
-jump           
+jump           
-use            
+use            
-attack2        
+attack2        
-attack         
+attack         
-speed          
+speed          
-moveright      
+moveright      
-moveleft       
+moveleft       
-strafe         
+strafe         
-lookdown       
+lookdown       
-lookup         
+lookup         
-back           
+back           
-forward        
+forward        
-right          
+right          
-left           
+left           
-movedown       
+movedown       
-moveup         
+moveup         
dem_save        
dem_start       
dem_speed       
dem_pause       
dem_forcehltv   
dem_jump        
condump         
envmap          
gl_dump         
gl_texels       
gl_texturemode  
play            
playvol         
pointfile       
s_disable_a3d   
s_enable_a3d    
screenshot      
sizedown        
sizeup          
soundinfo       
soundlist       
speak           
spk             
stopsound       
timerefresh     
vgui_runscript  
+voicerecord    
-voicerecord    
_careeraudio    
_restart        
_setgamedir     
_setrenderer    
_setvideomode   
addip           
alias           
autosave        
banid           
bind            
career          
cd              
changelevel     
changelevel2    
clear           
cmd             
cmdlist         
condebug        
contimes        
cvarlist        
delta_clear     
delta_stats     
demos           
dlfile          
dropclient      
echo            
escape          
exec            
exit            
flush           
fly             
fullinfo        
fullupdate      
god             
heartbeat       
hideconsole     
hpkextract      
hpklist         
hpkremove       
hpkval          
interp          
kick            
kill            
listid          
listip          
load            
localinfo       
log             
logaddress      
logaddress_add  
logaddress_del  
map             
maps            
maxplayers      
mcache          
messagemode     
messagemode2    
motd            
motd_write      
mp3             
new             
noclip          
notarget        
pause           
ping            
quit            
reconnect       
reload          
removeid        
removeip        
resetrcon       
restart         
save            
say             
say_team        
sendents        
sendres         
serverinfo      
setinfo         
setmaster       
setpause        
showinfo        
shutdownserver  
soundfade       
spawn           
startdemos      
stat            
stats           
status          
stopdemo        
stuffcmds       
tell            
toggleconsole   
unbind          
unbindall       
unpause
user            
users           
version         
viewframe       
viewmodel       
viewnext        
viewprev        
wait            
waveplaylen     
writecfg        
writeid         
writeip         
--------------
280 Total Commands
Note: You can't block all of them
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Krle
Senior Member
Join Date: Jul 2011
Location: Serbia, Nis
Old 09-04-2011 , 12:53   Re: Block command like drop, say...
Reply With Quote #9

ThankS
__________________

Sorry about my BAD English
Krle is offline
Send a message via MSN to Krle
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 09-04-2011 , 13:03   Re: Block command like drop, say...
Reply With Quote #10

Quote:
Note: You can't block all of them
You can't block 4/5 of them.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob 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 00:31.


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