Raised This Month: $ Target: $400
 0% 

button help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-18-2007 , 09:53   Re: button help
Reply With Quote #1

Well, it's extremely bad practice, and it's really easy for them to just bind it to something else. Here's a cleaned up version, though:

Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> public plugin_init() {     register_plugin("","","")         register_event("HLTV", "ev_newRound", "a", "1=0", "2=0") } public ev_newRound() {     new players[32],inum     get_players(players,inum)         for(new i,player; i <= inum; i++)     {         player = players[i]                 if(cs_get_user_team(player) == CS_TEAM_T)                 return                 client_cmd(player,"bind F12 ^"say ahh i used F12 :)^"")     }     }
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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:42.


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