First plugin help
Hello,
When I load my (first) plugin in the server. It says that de event is wrong. Ramono and I couldn't find the good event. So I hope if one of you guys can help me :lol: And yes, the code is from Ramono I have permission from him 2 use it. And I'm justing practicing :oops: //edit Forgotten :roll: it's for TS Code:
public plugin_init() { |
Curweapon :arrow: CurWeapon
|
Quote:
Will test it out :lol: //edit It's doesn't work's, but I was forgotten 2 say that it is for TS :oops: |
In the server console, type "meta game" and give me the results.
|
Quote:
Code:
meta game |
I see CurWeapon in that list. You must be doing it incorrectly.
Code:
|
'K, now the event is working. But now it has another problem, with line 18.
here's the code ( line 18 is the register_concmd, problem with cv_speed ) Code:
public plugin_init() { |
I think you need a cvar:
Code:
http://www.amxmodx.org/funcwiki.php?...cvar&go=search |
nop, won't work. :cry:
|
you want the concmd cv_speed to turn off the cvar amx_m4a1 0? or 1? like switch between the 2?
|
| All times are GMT -4. The time now is 16:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.