Simple Script Help
Code:
#include <amxmodx>Must be constant expression; assumed zero for lines 18 x2 and Emty Statement on 19 and fatal error 107 to many errors |
Re: Simple Script Help
try to not use oldspeed:
Code:
|
Re: Simple Script Help
thx :) Testing it now
Done testing now the bugs i need help w/ one is that there ALLWAYS going fast! Not just w/ knife. Also they can change there cl_forwardspeed and maket hemselfs go WAY to fast. |
Re: Simple Script Help
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 |
Re: Simple Script Help
[small]
Code:
sry for double post |
| All times are GMT -4. The time now is 08:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.