[Include] Anti C bug
#1

Anti C Bug
Heya there, This is probably my first release as I felt that I wanted to contribute to SAMP forums and hopefully people could learn something decent off my contribution and here it is!

There aren't as many Anti C-Bugs around SAMP community, I thought of releasing this.
Remember this is not recommended for newbie scripters, although if you really want some help etc, I'll be more than happy to help you out!
This is moreover recommended for role play communities to provide a fair gaming and avoid non-rp.
As to rate this c bug on how accurately it is made more like of an uh -. 90% out of 100.

Download
http://www.2shared.com/file/3XW0NQiP/Anti_C_Bug.html
http://pastebin.com/tRSUDF1b
How to use it?
> Simply place anticbug.pwn into your gamemodes folder then do

#include "yourfilename\anticbug.pwn"
The playerinfo you can define that yourself, although I'll warn you guys here.
> You shouldn't be begineer to be using this or at least have some general knowledge on pawno.

How it works?
Yes, when player rapidy tries to c-bug it makes their body into a different anim then back to normal not like it freezes but player won't be able to shoot rather be performing different action. Not really good at explaning but you can see when you try it yourself. If I have time I'll make a decent video showing it briefly.

I am definitely willing to be helping you guys! Just hit me up with a PM or post down your problem I'll look into it for ya!

This is for learning purposes.
Reply
#2

Please, post a pastebin mirror for security reasons.
Reply
#3

Quote:
Originally Posted by Biesmen
Посмотреть сообщение
Please, post a pastebin mirror for security reasons.
No worries!
http://pastebin.com/tRSUDF1b
Reply
#4

Hmmm nice,good job
Reply
#5

Good
Reply
#6

Thank you guys, hope you fellas liked it.
Reply
#7

hungarian notation..ew

your code isn't plug-and-play ready (it's missing some stuff), and take a look at hooking callbacks

otherwise, cool

edit;

http://forum.sa-mp.com/showthread.ph...12#post2821312
Reply
#8

This looks great. I suggest that you use callback hooking. There's y_hooks for this sole purpose - which you can simply change "public" to "hook".

https://sampforum.blast.hk/showthread.php?tid=166016
Reply
#9

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
This looks great. I suggest that you use callback hooking. There's y_hooks for this sole purpose - which you can simply change "public" to "hook".

https://sampforum.blast.hk/showthread.php?tid=166016
Will do, thanks for the feedbacks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)