Spawn Protection
3 Attachment(s)
NEWS
*6 December 2005* Re-Releasing Version 7.0 *4 December 2005* Thanks to VEN and Avalanche, the plugin should work fine now. *28 December 2005* Thanks to Podunk there is a new cvar for controlling shell thickness. *16 April 06* Thanks to SubStream for testing, the plugin now works. TO-DO LIST
PLUGIN STATUS Version 7.0 Compiles fine, Tested - works fine. PLUGIN Code:
|
GJ Peli :) hope to see more of the same good work from you. will test it out in about ten minutes.
|
Thanks. A couple bugs with the cvar but it works when you set it to 1. I'll try to add more fun stuff if possible to newer versions in the future. :)
|
:roll: Great Job 8)
|
looks great, would it be possible to make it 5 seconds tho?
|
Yes , open the .sma and change this :
Code:
Code:
|
ok sweet, thnx :D
|
Suggestion:
Change that number in there to a #define so do this #define GOD_TIME 5.0 ... set_task(GOD_TIME,"god_off") This way you can put the define at the top, and not have to dig through code ;) |
Thank you I will edit that.
|
Code:
set_hudmessage( 255, 0, 0, -1.0, -1.0, 0, 6.0, GOD_TIME, 0.5, 1.5, 4 )gj |
Does the spawn plugin work on all maps?
and by the way great job on your first plugin :) |
Yea it works on all maps I think , and thanks Nick. :)
|
Cool Im for sure going to have your plugin on my server :)
I hope this gets approved |
Hehe , thank you for supporting my plugin. :)
|
Any plans for another plugin Peli?
|
Yes , very good idea I know everyone will like it too. It will take hard work and for me to go to a new level of scripting but I'm willing to do it. :)
|
whats it going to be?
|
Will let people bind a key to a command where they press it when they are in danger and the glow blocks the damage for a little amount of time. :)
|
wow cool, I hope you get it done, Have you already started?
|
Yea but I need a little help on some stuff so I'm asking a couple of people.
|
Alright good luck man
|
a point of reference is from warcraft III FT oneof the hero's has onkey godmode for X seconds and adding glow to that shouldnt be hard :)
|
how do u edit sma files... :( bc i cant just open it in notepad like a ini.... could u tell me how or just make another 1 with 5 seconds and post it <3
|
Click open instead of save when you are downloading the sma.
|
u guys r to smart for fire :oops:
|
Look , I am not smarter than you. Just go to the plugin you want to edit from the Plugins section. Now once your in that plugins topic , scroll down to the attachment and click on "DOWNLOAD SMA" and click OPEN instead of SAVE. Then it will open the sma and you can edit it and save it.
|
Quote:
|
I use Scite for all my text editing needs. i.e. cfg sma ini etc. since this shows the text in the right context etc.
|
Nice! :wink:
|
L 05/14/2004 - 04:50:51: [AMXX] Run time error 22 on line 0 (plugin "spawnprotection.amx")
and here is the code... im guessing i screwed it up when trying to make it 5 seconds Code:
/* Credits : Thanks to Xeroblood , JJkiller and KingPin for helping |
the define has to be incorporated into the code to so the server knows what "#define GOD_TIME" is. just use the
Code:
|
alright i wil take off the define and try it
still nothing, and nothing is even showing up in logs now |
so ur plugin just stoped working altogather now?
|
o here a log showed up lol
L 05/14/2004 - 07:08:56: [AMXX] Run time error 22 on line 0 (plugin "spawnprotection.amx") still the same thing :evil: |
well sorry but i gotta goto work so will look back later guess u gotta use the 10 secs from peli for now, im sure hell check in later and help u out too :)
|
hehe ok the 10 seconds it is :D
|
try without using the #define altogether, leave the set_task line, but change
Code:
set_hudmessage( 255, 0, 0, -1.0, -1.0, 0, 6.0, 10.0, 0.5, 1.5, 4 )Code:
set_hudmessage( 255, 0, 0, -1.0, -1.0, 0, 6.0, 5.0, 0.5, 1.5, 4 ) |
and then change the 10.0 god off to 5.0
right? |
yeah, i thought u already changed that
|
peli, hows that new plugin coming?
|
| All times are GMT -4. The time now is 10:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.