Codding help.Function ignored.
Code:
#include <amxmodx>No compilling errors. But i feel that task is not readed .. no client_prints printed on chat from the "scan" function. And also i want if anyone is kind and sweet to implement a function that slay the player when fps > then the cvar not just slay after the task .. there is no point. If there is no way to make this task run 3 times ... that means to scan the player for fps 3 times and slay after all 3 scans found fps > the the cvar Make it just once... If there is anyone can help me to clean this kz / hns cheaters PM. I have a private plugin with an similar function.. to complex for me. |
Re: Codding help.Function ignored.
PHP Code:
PHP Code:
|
Re: Codding help.Function ignored.
Ok now its look like this, and i got the error the function scan is undefinited.
Code:
#include <amxmodx> |
Re: Codding help.Function ignored.
You deleted a closing brace after the set_task() line.
|
Re: Codding help.Function ignored.
Okey dokey. Now its working but there still be some problems
Its spamming the first client_print .. and after the task complete spamming the last client_print .. and no user_kill(id) user. |
Re: Codding help.Function ignored.
Code:
Quote:
Why do you need scan function if you are detecting in the prethink itself ? Also why do you need engine and fakemeta both ? |
Re: Codding help.Function ignored.
Ok i cleaned the code a bit. Now its working.. but not as i want.
Im wondering how to detect if developer 1 is enabled. And if dev 1 is detected to start my set_task with curFps and slay after that :P. Any ideas ? P.S: I have this code for detecting dev. But its incomplete i mean have just to set the "new" and some others.. If anyone can use this Code:
public fwdPlayerPreThink_Pre(id) |
Re: Codding help.Function ignored.
Its being detected on the basis that when you use developer 1 sometimes you get more than 100 FPS ... so if you are getting more than 100 FPS that menas you are using developer 1
|
Re: Codding help.Function ignored.
why don't you are not using the unaltered version of the plugin ?
Also calulating so much thing in prethink is not a good idea . You just take one global variable like g_dFpsCount[33] and put g_dFpsCount[id]++ in prethink and start one more task each second which will check how much value the variable g_dFpsCount holds after one secods and will compare it with the thresold ( also it will reset it to 0 ) In this was it will require less resource and will be a better developer detector .. Hope you the idea :) |
Re: Codding help.Function ignored.
P.S.
Quote:
Quote:
|
| All times are GMT -4. The time now is 03:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.