Raised This Month: $ Target: $400
 0% 

How to Block cz bot from putting silencer on?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-12-2011 , 01:16   Re: How to Block cz bot from putting silencer on?
Reply With Quote #1

Please use php tags to post code (or pawn), it will be kept indented and be more readable.
You don't need the cs_bot_ forward because what you use is called from usp and not bot.

Register the Secondary Attack forward as pre and not post, let the Deploy one post.
In the forwards callback, retrieve player index using get_pdata_cbase + m_pPlayer offset, check if this player is a bot, then set m_flNextSecondaryAttack.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
LukeyB
Member
Join Date: Dec 2011
Old 12-12-2011 , 02:24   Re: How to Block cz bot from putting silencer on?
Reply With Quote #2

I apologize for my ignorance. I am a beginner at this and not quite sure how to put into the script what you are telling me to.
LukeyB 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 11:58.


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