SA-MP Forums Archive
[FilterScript] Anti SpawnKill System - My First FS - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Anti SpawnKill System - My First FS (/showthread.php?tid=594940)



Anti SpawnKill System - My First FS! Updates - TitanZ - 26.11.2015

Anti SpawnKill System

Intro

When player shooting player spawn, the shooter will lose 20 health in 1 shots, +TextDraw Object Streaming
Image

[Image: sa-mp-000.png]
Credits

Код:
::ANTI SPAWNKILL SYSTEM::
Credits: include <a_samp> : SA-MP Team iPLEOMAX : TextDraw Creator .TitanZ : Make This FS
Download

[Image: pastebin-extension.png]
thanks I hoped you like it


Re: Anti SpawnKill System - My First FS - Pottus - 26.11.2015

Improper use of player textdraws use global textdraws and only create them once.


Re: Anti SpawnKill System - My First FS - TitanZ - 26.11.2015

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Improper use of player textdraws use global textdraws and only create them once.
mean? must use a global textdraw?


Re: Anti SpawnKill System - My First FS - iKarim - 26.11.2015

Stop the abusing of stock, P L E A S E..
Anyway, good one. No need to freeze players; use:
PHP код:
native Streamer_Update(playeridtype = -1);
native Streamer_UpdateEx(playeridFloat:xFloat:yFloat:zworldid = -1interiorid = -1type = -1); 



Re: Anti SpawnKill System - My First FS - Sew_Sumi - 26.11.2015

Now this, is good thinking... It just needs some tweaking.


Re: Anti SpawnKill System - My First FS - Pottus - 26.11.2015

Quote:
Originally Posted by PawnHunter
Посмотреть сообщение
Stop the abusing of stock, P L E A S E..
Anyway, good one. No need to freeze players; use:
PHP код:
native Streamer_Update(playeridtype = -1);
native Streamer_UpdateEx(playeridFloat:xFloat:yFloat:zworldid = -1interiorid = -1type = -1); 
That causes all sorts of problems.


Re: Anti SpawnKill System - My First FS - iKarim - 26.11.2015

Quote:
Originally Posted by Pottus
Посмотреть сообщение
That causes all sorts of problems.
Lolwat? Would you explain what problems?


Re: Anti SpawnKill System - My First FS - TitanZ - 26.11.2015

Quote:
Originally Posted by PawnHunter
Посмотреть сообщение
Stop the abusing of stock, P L E A S E..
Anyway, good one. No need to freeze players; use:
PHP код:
native Streamer_Update(playeridtype = -1);
native Streamer_UpdateEx(playeridFloat:xFloat:yFloat:zworldid = -1interiorid = -1type = -1); 
Remove Stock
BTW.. Updates
thanks @PawnHunter


Re: Anti SpawnKill System - My First FS - Sew_Sumi - 26.11.2015

Quote:
Originally Posted by TitanZ
Посмотреть сообщение
Remove Stock
BTW.. Updates
thanks @PawnHunter
I said it was good thinking... You should thank me for gracing you with my ugly mug in your thread...


















Re: Anti SpawnKill System - My First FS - NightHell - 26.11.2015

Nice
i cant +rep u coz my post too low,btw,nice

note:dont need to remove 20 player health.i suggest, 1 shot (on player antispawnkill) shooter will lose 1health only -1 health)
sorry for my bad english,i from malaysia :v


Re: Anti SpawnKill System - My First FS - Sew_Sumi - 26.11.2015

Quote:
Originally Posted by NightHell
Посмотреть сообщение
Nice
i cant +rep u coz my post too low,btw,nice

note:dont need to remove 20 player health.i suggest, 1 shot (on player antispawnkill) shooter will lose 1health only -1 health)
sorry for my bad english,i from malaysia :v
1 shot being 1 hp, won't do jack... If they shoot 3 times, they'll be well under 50% HP.

As for your reps, they come in after you reach so many posts. For now you can +rep, those people will be credited your +rep once you hit so many posts.


Re: Anti SpawnKill System - My First FS - TitanZ - 26.11.2015

Quote:
Originally Posted by NightHell
Посмотреть сообщение
Nice
i cant +rep u coz my post too low,btw,nice

note:dont need to remove 20 player health.i suggest, 1 shot (on player antispawnkill) shooter will lose 1health only -1 health)
sorry for my bad english,i from malaysia :v
SetPlayerHealth(issuerid, Health - 20);

you want 1 shot lose 1 health? edit -20 to -1
It will make the player lose 1 health by 1 shot
BTW malaysia ?? Hai Malaysia


Re: Anti SpawnKill System - My First FS - NightHell - 26.11.2015

Hai, Indonesia :v
See my signature then add meh :v
add my fb :v

@Sew_Sumi ,u right ...
If they shoot 3 time,they'll lose their health.
So,i suggest,u change it to -1 not -20


Re: Anti SpawnKill System - My First FS - Sew_Sumi - 26.11.2015

Quote:
Originally Posted by TitanZ
Посмотреть сообщение
SetPlayerHealth(issuerid, Health - 20);

you want 1 shot lose 1 health? edit -20 to -1
It will make the player lose 1 health by 1 shot
BTW malaysia ?? Hai Malaysia
You should make it a variable in the top of the script that can be set maybe. Although with it how it is, it's good... Making it 1 HP will basically make it so you wouldn't even have any benefit messing with their HP, but yet, that's the good factor in this.

Quote:
Originally Posted by NightHell
Посмотреть сообщение
@Sew_Sumi ,u right ...
If they shoot 3 time,they'll lose their health.
So,i suggest,u change it to -1 not -20
You do realize that 1HP, is literally nothing on the HP bar, so they'd likely not see it... By making it 20 it STOPS them or THEY'LL DIE which is what the script is for...

They STOP, or, they DIE... Simple... It's about the only thing some noobs understand when they are playing a game "Oh damn, I just lost half my health" WTF?

Just saying, the REASON this script is good, is because it deals damage to those who are simply shooting fresh-spawns.


Re: Anti SpawnKill System - My First FS - SecretBoss - 26.11.2015

Nice textdraws

About anti spawnkill very basic, all the correction I wanted to say have been already posted from other guys


Re: Anti SpawnKill System - My First FS - Pottus - 26.11.2015

Quote:
Originally Posted by PawnHunter
Посмотреть сообщение
Lolwat? Would you explain what problems?
You are still going to fall through the map it takes a few moments for the objects to actually update.


Re: Anti SpawnKill System - My First FS - Sew_Sumi - 26.11.2015

Quote:
Originally Posted by SecretBoss
Посмотреть сообщение
About anti spawnkill very basic, all the correction I wanted to say have been already posted from other guys
If you're talking of the HP issue, it's not an issue...


Re: Anti SpawnKill System - My First FS - wicke087 - 17.03.2018

Nice job!,
best for dm server. Thank You!!


- Sew_Sumi - 17.03.2018

And somewhere along the lines in my travels tonight, there was a game of league against the 'titans' rofl...




A worthy bump.

Just bare in mind what was said regarding the script.