Raised This Month: $ Target: $400
 0% 

Simple Script Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-06-2006 , 16:26   Re: Simple Script Help
Reply With Quote #1

Code:
<div align="left">#include <amxmodx></div></p><p><div align="left">#include <amxmisc></div></p><p><div align="left">#include <cstrike></div></p><p><div align="left">#include <fun></div></p><p></p><p><div align="left">#define PLUGIN "Custom F.U.N Plugin"</div></p><p><div align="left">#define VERSION "1.0"</div></p><p><div align="left">#define AUTHOR "Styles"</div></p><p></p><p></p><p><div align="left">public plugin_init() {</div></p><p><div align="left"> register_plugin(PLUGIN, VERSION, AUTHOR)</div></p><p><div align="left"> register_event("CurWeapon", "Event_CurWeapon", "be", "1=1")</div></p><p></p><p><div align="left">}</div></p><p></p><p><div align="left">public Event_CurWeapon(id) </div></p><p><div align="left">{</div></p><p><div align="left"> if(CSW_KNIFE)</div></p><p><div align="left"> {</div></p><p><div align="left"> set_user_maxspeed(id,700.0);</div></p><p><div align="left"> set_hudmessage(255, 170, 0, -1.0, 0.32, 0, 6.0, 12.0);</div></p><p><div align="left"> show_hudmessage(id, "--> You know can go faster <--");</div></p><p><div align="left"> return PLUGIN_CONTINUE;</div></p><p><div align="left"> }</div></p><p><div align="left"> else</div></p><p><div align="left"> {</div></p><p><div align="left"> set_user_maxspeed(id,oldspeed[id]);</div></p><p><div align="left"> set_hudmessage(255, 170, 0, -1.0, 0.32, 0, 6.0, 12.0);</div></p><p><div align="left"> show_hudmessage(id, "--> Your speed is now over <--");</div></p><p><div align="left"> return PLUGIN_CONTINUE;</div></p><p><div align="left"> }</div></p><p><div align="left">}</div>



try it like that
__________________
DO NOT PM me about avp mod.
Rolnaaba 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 08:03.


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