can anyone help? (again)
Right as you know im new to scripting i only really know simple plugin (like kick plugins) and im just looking for info to store in my brain!
I've been working on a new plugin for my friend! i call it hacker abuse! all it does is count down from 5 to 0 after 0 it starts abusing! after abuse it bans them! Now i've put in the ban cmd at the end Code:
new ip [16] { I need to know 2 things if i add: Code:
set_task(1.0,"ip")Code:
new ip [16] { My second question is: If i want to add another code. that i want it to exicute amx_uberslap would it be this: (after adding set_task(0.0,"uberslap") Code:
public uberslap [16] { :( i know this may seem.... weird but i have searched high and low on the net for tutorials on this paticlur subject but havnt found any! If you could help! id really appreciate it ! silversinner |
You could send whole sma file in 1 code "block" so we can see whole code. Would be easier to help then.[/code]
|
Ok this is what i have so far (this is my first attempt at making a plugin, may expect lots of mistakes :) )
Code:
//Hacker abuse v0.1 - Silversinner |
Please, use instead of tags.
|
:s ok...
bit late :P i post again |
Code:
|
Biggest problem is = id and ip is undefined!
And after that it is only some small edits you have to do. Here is the code so far. Code:
|
How do i define it properly?
|
Actually... I've only created superheroes for superheromod so far, and some small plugins. Not released though, but on my plugins. Created one named weapongiver, but anyways. I just added id to my plugins and woilla it worked. id is an index by the way. I'm working on it now anyways.
*Some minutes later* Can't make it work. :? And why do you use the amx_uberslap and the amx_fire? Some people doesn't have amx_uberslap and amx_fire. Eg. Me :lol: |
Ok thank you. I coulndt see any other way to get it to use amx_uberslap & amx_fire one after another and then 11 seconds l8r amx_banid ect ect
|
| All times are GMT -4. The time now is 20:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.