[FilterScript] [FS]Killstreak with Saving System
#1

KILL STREAK WITH SAVING SYSTEM
Reqruitment:

-Dini.inc.inc
-dubd.inc
-dutils.inc


This Filterscript can save the score And killstreak!
Quote:

But if player Death,Killstreak has auto reset

Filterscript work :
Quote:

If Player get 2+ kills,Player can get a Killstreak bonus
If Player Death,,the killstreak auto reset

How to instal:
Quote:
1).Extract the filterscript Kills Into your Filterscript folder.
2).Copy All include from pawno/include To your pawno/include folder.
3).Copy the "killstreak" from scriptfile folder into your scriptfile.
4).At to your server.cfg
"Filterscript kills"
5).Save your server.cfg
6).Run your samp-server.exe
7).And got kills.......

Quote:

Bugs: I Can't Fine Some bugs > Please tell me,if you find bug!


If you have some help please reply in this Post


Credits:
-Me For scripting this script
-Thank for dini.inc
-Thanks for all include
-And more....

Download Link :

Solidfiles [Package] : Click Here
Pastebin:Click Here

Quote:

This is My first Filterscript

**Sorry for my Bad English
**And You can visit My Server Under
Reply
#2

it's simple
good work
Reply
#3

Quote:
Originally Posted by Younes44
View Post
it's simple
good work
Thanks
Reply
#4

pastebin link?
Reply
#5

Quote:
Originally Posted by xTURBOx
View Post
pastebin link?
This pastebin Link
Reply
#6

Okay, I have a few questions.
- Why did you use that horrible pragma?
- Why are you saving a variable that's only valid for as long as the player is ingame? Think about it, does it make sense for me to gain a killstreak of 200, leave, join the game a few days later and still having that killstreak?
- Okay, so you've decided you want to save these stats. Then why did you choose Dini? It has been proven over and over that Dini is horribly slow.
- I think of released scripts as a source for people who want to learn. For this to hold up, the code has to be documented. However, your code contains hardly any comments. I sincerely doubt you even made this yourself. Rather, I think that you just copied code from other scripts and mashed it together.
Reply
#7

1. DO NOT use dini. Its slow, its old, use Yini instead.
2. Why did you define all KS & Cash? You could just simply create something as. switch(ks) case 1: GivePlayerMoney etc. etc
3. Why are you using 256 strings when you dont need them?
PHP Code:
format(strsizeof(str), "[KILLSTREAK] ~g~%s has performed a ~y~double kill!"KillerName); 
this code will not use 256 characters in any case. Please optimize that.
4. Why are you defining global vvariable string2?
Reply
#8

Quote:
Originally Posted by TwinkiDaBoss
View Post
1. DO NOT use dini. Its slow, its old, use Yini instead.
2. Why did you define all KS & Cash? You could just simply create something as. switch(ks) case 1: GivePlayerMoney etc. etc
3. Why are you using 256 strings when you dont need them?
PHP Code:
format(strsizeof(str), "[KILLSTREAK] ~g~%s has performed a ~y~double kill!"KillerName); 
this code will not use 256 characters in any case. Please optimize that.
4. Why are you defining global vvariable string2?
Wrong, he could use SQLite. INIs is used to intialize data.

P.S: I don't like your profile Location. SetPlayerPos(myid, x:heaven, y:heaven, z:heaven);, your profile is like
BIG in the post and annoying, please remove it
Reply
#9

Quote:
Originally Posted by Karan007
View Post
Wrong, he could use SQLite. INIs is used to intialize data.

P.S: I don't like your profile Location. SetPlayerPos(myid, x:heaven, y:heaven, z:heaven);, your profile is like
BIG in the post and annoying, please remove it
Thanks for your criticism , hehehe
Reply
#10

Sorry, if you thought i criticized you but i was just pointing out some suggestions.

O.T: Nice one by the way
Reply
#11

Quote:
Originally Posted by Karan007
View Post
Sorry, if you thought i criticized you but i was just pointing out some suggestions.


O.T: Nice one by the way
Thanks
Reply
#12

Seems Nice
Reply
#13

Quote:
Originally Posted by Scripter18
View Post
Seems Nice
Thanks
Reply
#14

Similar to one i saw b4, but anyways, goodjob.
Reply
#15

Quote:
Originally Posted by xXRevolverXx
View Post
Similar to one i saw b4, but anyways, goodjob.
Thanks man
Reply
#16

Quote:

-Dini.inc.inc
-dubd.inc
-dutils.inc

Why Dini ?
Its the slowest way to save to file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)