Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all 595 articles
Browse latest View live

[FilterScript] Online Work Office

$
0
0
hello guys im sorry for this but idk did i post it in right place or no ! anyway

What is this ?

Actully this is an idea and unfinished work some guys requested that from me and suddnly he told he will shotdown the server anyway i wanted to trash it but i thinked about it and thought that might be usefull for someone so i post the unfinished code feel free to edit & finish it and release it by your own :)

Why did i post this useless code ?


well its not useless its an perfect idea but all went wrong so i wont work on it anymore

features that might you need to have :

login & register in website
4x different web pages
dealing items with other web users
depending on players licence (3x different auto working & earning in online marketing)
players can offer offline players a item selling
there is a Request Password for who those forget password (with 6x different Question that asked from first of registering)
showing online players at web
players propty ownership (xD)
Picture :


Pastebin :
PCW

Please read this before any comment

1- i wanted to make a map for this FS too but you know everything boom (pm me if you wanted a map)
2- dont comment me omg its shit why did you even release it ! its not a release i just share cod for who intrested in this idea and wanted to finish it
3- i wanted to add dynamic PC adding for houses or ... (pm me if you want this too)
4- i hope you understand why did i post this :)
5- about the pic its just whole things :S (it will defined in script to show wich and not show which)
have fun guys cya (sry for my bad eng)

[FilterScript] New aimbot detector [PHASE: data collection]

$
0
0
Hi there!

As discussed in this thread, I'd like to provide a filterscript that records valuable shooting battle data.

This data will be used to train a Machine Learning script that is able to classify/distinguish aimbotters from fair shooters. If this proves to be successful, I'll write up a filterscript that will record other valuable data for detecting cheaters as well. I really hope this will be something valuable made by the community, for the community.

In the .zip package you will find:
fairplay.amx - compiled version of the script.
fairplay.pwn - source code.
fair_play.db - empty database file. Put in "scriptfiles/" if the filterscript doesn't create it automatically.

So how it works: On every kill, the filterscript writes some battle parameters (of the killer) to an SQLite database. The database file is located in: "scriptfiles/fair_play.db". The parameters are:
- Hit-miss-ratio.
- Number of hits and missed shots.
- If they're a cheater or not (only in DEDICATED mode).
- Used weapon ID.
- Bodypart variance (amount of times they hit another body part).
- Average hit distance.
- Player speed.
- Average target speed.
- Time taken to kill someone (in seconds).
- HP/Armor taken.

You can run the script in DEDICATED and normal mode. It is on normal mode by default.
In normal mode, the filterscript will record raw, unprocessed data. The (unsupervised) learning algorithm will then hopefully make some sense out of it and classify a few types of output labels (cheaters/non-cheaters/grey area). If run in dedicated mode, you will have to specify:

Commands:
/leader - makes you the leader of the data recording session.
/cheater - aimbotters in the session must use this to mark themselves as cheaters.
/fairplay - fair players in the session must use this to mark themselves as fair players.
/start - start the session.
/stop - stop the session.

Then, a (supervised) learning algorithm can (more easily) classify aimbotters and fair players by knowing what the output label is.

Something like:


Feel free to suggest parameters that could improve aimbot detection, I'll put them in the next version. You can post / PM me your database file when you have sufficient data (I'd already be happy with 2k rows).

I'm looking forward to your data!

Attached Files
File Type: zip fairplay.zip (40.1 KB)

[FilterScript] Anti-Proxy/VPN

$
0
0



Made this script with some help from the sa-mp wiki, had some trouble keeping some people out so I just said yolo and put this together, Hope it helps!


Here are some pics in game!






NO KNOWN BUGS



~~~DOWNLOAD~~~

[FilterScript] [FS]Skin System And Default Skin With Installation Guide By Miyu

$
0
0
Hello, I'm Back From A Long Time I'm Not Posting, And I Still Remember People That Support My Filterscript, His Username Is raajparker, and now i'm back with another filterscript i made in 1 night about 1 hours configuring y_ini
--------------------------------------------------------------------
Installation Guide:
http://www.youtube.com/watch?v=2gQtS_gPA2o

Still Looking Through The Video Now, Ah Its Attachment, Here You Go!

paypal.me/ispbravadoif you want to donate :U(only if you want to, i don't force)
Please Comment/Reply if you download this :) i'm not forcing it, but i only want people to show that they was here :U

Attached Files
File Type: rar [FS]Skin System@Miyu.rar (22.4 KB)

[Include] Making commands In-Game ( BASIC REVIEW )

$
0
0
Hello guys, Good day.

I have been working on a new project in which we can make commands In-Game itself. There are many people who don't know to script or try to learn but fail to do so. So, i am making this include.

Features of this basic version:
You can create 10 commands.
You can edit their Health, Armour.
You can set the weapons and ammo ( MAX SLOTS 5 )

Everything can be edited.

How to use this include and filterscript?
First of all. Download the include file from the below given link.
Move it to your pawno's include folder.

Now, download the filterscript from the below given link.
Move it to your filterscript folder.
Add the filterscript name to the server.cfg and you are done.

How to make new commands?
You just need to add this 3 lines in the filterscript. Let me go step by step.

Code:

CMD:cmdname(playerid,params[])
{
        main_cmdnumber = 1;
        ingamecmd_Response(playerid);
        return 1;
}

Let me explain all the lines step wise.

Code:

CMD:cmdname(playerid,params[])
This is made using ZCMD command processor. You must enter your command name in place of "cmdname".

Code:

main_cmdnumber = 1;
Ingame when you type /editcommand, To edit this command you need to Select Command 1.

Code:

ingamecmd_Response(playerid);
This is where the include works. Everything is already been set. So you don't need to worry.

NOTE: Add this command in "ingame" filterscript.

Example coding:
Code:

CMD:halfhealth(playerid,params[]) //MY COMMAND NAME IS /health
{
    main_cmdnumber = 1; //COMMAND NUMBER is 1
    ingamecmd_Response(playerid); // INCLUDE FUNCTION. ( DONT CHANGE )
        return 1;
}

Now after doing this compile your filterscript. And go ingame.
After going ingame.

Follow this steps:
1) RCON LOGIN
2) After successful RCON Login, type command /editcommand.
3) Now choose "COMMAND 1"
4) Now choose "Health"
5) Enter amount, since we are setting health for "/halfhealth" write amount 50.
6) Press Enter.

Now type : /halfhealth
Your health will be set to 50.

This is how you can make any kind of command. Right now the include is limited to:
Health
Armour
Weapon

Later in future when i upload the advance version you will be able to do the following or more:
Health
Armour
Weapon
Message
Vehicle
Checkpoint
Pickup
Position
Interior
Virtual World
and alot more.
Phases

What are Phases?
After you created a checkpoint, What must happen when you enter the checkpoint is Phase 1.
This include will allow you do create as many phases you want. So, that you can make any kind of difficult command easily.

Download links:
ingamecmd.inc
Ingame.pwn
Ingame.amx

Please suggest me any kind of addition.
If any bugs or any queries just post down or PM me directly.

And let me know if i must make the advance version of this include or not.

Why may you use this to make commands?

Well, many of the players have difficulty in scripting. This command will help them to make any command with just 3 lines of codes. And they can edit it ingame by just 1 command ( /editcommand ). Making the work alot easier.


Thank you.

[FilterScript] Dynamic Stingers System

$
0
0
Hello, I would like to present you the Stingers Script (Cops and Robbers)

Video:
https://www.youtube.com/watch?v=nslVT5RC3J0


Download:
Stingers.inc GitHub / Abyss Morgan Website
3DTryg.inc GitHub / Abyss Morgan Website Thread

Instalation:
PHP Code:

#include <SAM/3DTryg>
#include <Stingers> 

Functions:
PHP Code:

CreateDynamicStinger(type,Float:x,Float:y,Float:z,Float:rx,Float:ty,Float:rz,worldid=-1,interiorid=-1,playerid=-1,Float:streamdistance=100.0,teamid=ANY_TEAM,byplayerid=INVALID_PLAYER_ID);
DestroyDynamicStinger(mobid);

bool:IsDynamicStingerActive(mobid);
GetDynamicStingerObjectID(mobid);
GetDynamicStingerTeam(mobid);
SetDynamicStingerTeam(mobid,teamid);
GetDynamicStingerPlayerID(mobid);
SetDynamicStingerPlayerID(mobid,byplayerid); 

Definitions:
PHP Code:

STINGER_TYPE_SMALL //Object: 2899
STINGER_TYPE_BIG   //Object: 2892 

Notice:
Filterscript not exist because filterscripts have limits.
This has been replaced by include, having automatic installation, efficient GameMode/FilterScript.


Non-Registered Users:
Bug Report

[FilterScript] Alguem ajuda?

$
0
0
Sera alguem pode me ajuda me passando um fs de combat log, ou seja quando o player toma tiro, ele fica em combate se ele desloga em combate ele morre.

[FilterScript] Erro fs


[FilterScript] Damage System

$
0
0
This is my first filterscript I made, I got the idea from LS-RP damage system and then I trying to code that system, hope you enjoy this one.

I just found a bug if the dialog characters reached 1000+ it'll be cut, if you found some you can reply on this thread. And also please, do not re-release and claim this as yours.

Pict:


Credits: LS-RP for the idea and Hreesang

Sorry for the bad english

Attached Files
File Type: rar Damage System.rar (27.9 KB)

[FilterScript] Hostname Changer by TheAGENT [My First FS]

$
0
0
Hey Guys
this is my first FilterScript HostName Changer

--------------------------------

FilterScript:
PHP Code:

////===========================================///
////==     Hostname Changer by TheAGENT     ==///
////=========================================///
/*
   Exemple :
     case 0: SendRconCommand("hostname \t » HostName Changer By TheAGENT  «");
     case 1: SendRconCommand("hostname \t » HostName Changer By TheAGENT  «");
     case 3: SendRconCommand("hostname \t » HostName Changer By TheAGENT  «");
     case 4: SendRconCommand("hostname \t » HostName Changer By TheAGENT  «");
*/

----------------------------------------------------------------
#include <a_samp>


forward hostname();

public 
OnFilterScriptInit()
{
SetTimer("hostname",2000,1);
return 
1;
}


public 
hostname()
{
   new var = 
random(4); // You must to add 1 exemple if you make 4 hostname (cases) you set random(5) [(4+1)] 
   
switch (var)
   {
     case 
0SendRconCommand("hostname \t » HostName Changer By TheAGENT  « ");
     case 
1SendRconCommand("hostname \t » HostName Changer By TheAGENT  « ");
     case 
2SendRconCommand("hostname \t » HostName Changer By TheAGENT  « ");
     case 
3SendRconCommand("hostname \t » HostName Changer By TheAGENT  « ");
   }


[FilterScript] Bullet Tracing - Advanced!

$
0
0
Author: SVR
Type: Filterscript
Description: This system is advanced, which wages the player last shots in-order to detect a player wether he is aimboting or not. With this system it's easy to catch them nolifer-fools using the aims.
Version: 1.0
Download: https://github.com/SVR1337/BulletTrace

[FilterScript] Big Bollard System [ MySQL + mSelection]

$
0
0
Video


Introduce
There is nothing much to say about it because the video will explain everything , hope you just enjoy it :D.


Commands
  • bollard create - allows you to create an bollard
  • bollard edit - allows you to edit the positio of the bollard
  • bollard delete - allows you to delete nearest bollard

Downloads
pastebin
File upload (full pack)

Hope you enjoy this also if you like it dont forget to rep me.

[Tool/Web/Other] Simple Tramp system

$
0
0
Hello friends!
I have a very simple system of homeless, well we start here is a video of the installation and how serious just tell them that almost no English and the video is in Spanish

https://www.youtube.com/watch?v=D_pRmQVfHkY

Quote:

//Define the colors of the texts in their define
#define COLOR_FADE1 0xE6E6E6E6
#define COLOR_FADE2 0xC8C8C8C8
#define COLOR_FADE3 0xAAAAAAAA
#define COLOR_FADE4 0x8C8C8C8C
#define COLOR_FADE5 0x6E6E6E6E
Quote:

Bagabundo in public OnFilterScriptInit () I will put it in a map FS as it is the GM of Oz
public OnFilterScriptInit()
{
CreateActor(137, 2554.115234, -1508.916870, 24.039062, 93.023132);
return 1;
}
Quote:

Textlabel/Donar in search with CTRL + F
public OnGameModeInit()
{
CreateDynamic3DTextLabel("{0066FF}¿Quieres donar al vagabundo?\n {FFFFFF}Para donar utiliza{0066FF} /donar",0x0079C9FF,2553.4146,-1508.8578,24.0391,15.0,INVALID_PLAYER_ID,INVALID_V EHICLE_ID, 1, -1,-1,-1, 100.0);
return 1;
}
Quote:

//Comando aqui se dirigen a Ctrl+F y buscan CMD: o simplemente lo pegan en la parte de abajo
CMD:donar(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid,5.0,2553.4146,-1508.8578,24.0391)) //punto donde estara "/save"
{
new string[128];
format(string, sizeof(string),"Tramp says: Thank you man!.",NombreJugador(playerid)); //What the tramp will say and that everyone can see
ProxDetector(20.0, playerid, string, COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,CO LOR_FADE5); //Color in which will be the letters of what the Tramp says
if(PlayerInfo[playerid][jDinero] < 10) return SendClientMessage(playerid,-1,""You don't have enough money ($10)"); Tells you if he fits you to give the Tramp
QuitarDinero(playerid, 10); //It takes away that money
SCM(playerid, -1, "Le diste al vagabundo {00F000}10$"); //You get a message ((just put the command))
}
return 1;
}
To use this system occupy streamer and Zcmd

This contribution is already in Spanish, Russian and English, thanks

[FilterScript] Saint's Base Death Script

[FilterScript] DeathMatch Event [Friendly, Funny, Controllable]

$
0
0
Death Match Event System


Introduction
Hello there, so i'm releasing today my first new system, it's a DM Event, i recommend you to use it in your server!
it's great for RolePlay,Freeroam,TDM,CnR, And whatever because it has a very nice content as i am enjoying scripting it and playing it haha :p

Features
  • This DM Event is much Controllable because it has a gold command and it's /fire, so an admin could kick players from the Event if they abused or if they was using hack or whatever.
  • Random Event Spawns.
  • Event Timer to start.
  • A Little DM Map.
  • Added /dmcmds to see DM Events available commands.

How to Install it???
Just download the .pwn file below in the Downloads Category and Copy all the content or download it, then paste the codes which it's in it into Pawno.exe and compile it then use the .amx copy to Load the filterscript.
and then go to your server.cfg and then open it and go the filterscripts line and write behind it Event the close the server.cfg and save allthings and start your server and enjoy playing the event system!

Pictures
http://imgur.com/2Pm33GS
http://imgur.com/0XLLGgQ
http://imgur.com/54tX7b3
http://imgur.com/bLSbvQ1

Requirements
You'll need to run the script correctly these .inc files:

ZCMD - http://forum.sa-mp.com/showthread.php?t=91354
SSCANF - http://forum.sa-mp.com/showthread.php?t=602923
FOREACH - http://forum.sa-mp.com/showthread.php?t=570868

Downloads
| Pastebin | [Version 1.0]
| Pastebin | [Version 1.1]

• Suggestions are welcome!
• If you find any bugs or something i'm ready to hear them! and to improve my script! ;)
• Thanks for reading my thread :)

[FilterScript] EVENT SYSTEM 0.5V

$
0
0
I hope you like it and do not find a simple code for my first filterscript!

:D

Code:

/ecriar - Create event in your position

/etrancar  - Lock the event
/einiciar - Make a counter of (0 - 60) seconds to your choice for start event!
/ecolete - Give Armour for everyone at the event
/evida  - Give Health for everyone at the event
/earmas  - Give weapons for everyone at the event
/edestruir  - Destroy Event
/irplayer  - Go to player
/armasadm - Guns for yourself
/irevento  - Go to event.
/sairevento - Leave from event.

IMG:http://imgur.com/a/JNB0O
- Sorry for the small amount of prints, my GTA was in trouble


DOWNLOAD:
http://pastebin.com/Z5sDcJzc

CREDITS:
MECK - FOR MAKE FILTERSCRIPT

Please don't remove credits <3
send for your friends my post :)
you like? give me REP+

[FilterScript] Event System V1.0 (Easily operatable)

$
0
0

From the time since my account was hacked by someone, he deleted all of my work. I'll be re-posting it.

Coming on the topic.
This event system allows you to control everything with just a single dialog, and it contains a textdraw for event information too. You can add event weapons, vehicle, player's health and armour. I'll keep updating it with more features.




http://i.imgur.com/Ga9JKk0.jpg
http://i.imgur.com/pkDFChH.jpg



SA:MP (For everything)
ZCMD (Zeex)
Sunehildeep (For creating it)



https://pastebin.com/UrJKZr55


Feedbacks are appreciated :)

[FilterScript] Weed system (Grow, plant, give, drop, different type of seeds, different type of weeds, customizable)

$
0
0
Dynamic Faction System
_________________________________________________

I started working on this weed system two days ago since I felt that I had left Pawno behind,I thought I had to make something just so I would not forget this as a language. A lot of ideas crossed my mind however, weed system seemed like one which has not been published that many times in the past and that always holds a spot for improvements and new ideas. This drug system is not that advanced and there are certainly way better options than this out there (rootcause's drug system for example). I did not progress this system into personal use like smoking, selling, statistics etcetera however, it is limited to the script variables. There is also no saving system and whoever who has the the basic knowledge of MySQL/INI will be able to properly insert saving system into this script.

Credits:
- Y_Less, even if not part of these forums anymore, his foreach, y_timer and y_iterate have been used in this script and therefore, it wouldn't be the same without them (not to mention the amount of coding lines those includes have saved me)

However, lets jump straight onto the screenshots of this project:


















Commands

/buyseeds - Allows you to buy seeds of your choice
/myseeds - shows you the seeds you got on you
/mydrugs - shows you the drugs you got on you, also lets you manage them
/pickpackup - picks up the dropped package (if near any)
/collectweed - collects the weed plant you are next to
/plantseed - plants a seed of a specific type (slots can be taken from /myseeds)

Adding new type of seed

Line 51; 52, there's this variable:

PHP Code:

new SeedInformation[][seedpacks] =
{
    {
0"Albanian"500360},
    {
1"Jamaican"500130}
}; 

To add a new one, you just add a new line which goes like:
{id, "name", price, grams_per_seed, time_in_seconds}
- You can only add a maximum of five drugs/seeds and ID's MUST be increasing regularly (0 -> 1 -> 2 -> 3 -> 4)

Download: Pastebin

[Include] House System

$
0
0

INFORMATIONS:
About: House System, 601 code lines - (MySQL, foreach, sscanf2, Streamer, ZCMD)
Version: 1.0
Last Update: 24/05/2017

AVAIBLE COMMANDS:
- /buyhouse, use for by house;
- /house, use for all cmds list;
- /henter, use for enter in house;
- /hexit, use for exit from house;
- /house door, use for close/open your house;
- /house withdraw, use for withdraw some money from your house;
- /house balance, use for deposit some money to you house;
- /house balance, use for see your house's money;
- /ahouse create, use for create house;
- /ahouse delete, use for delete house;
- /ahouse save, use for save house;
- /ahouse near, use for see near house's ID;
- /ahouse createdat, use for see when the house was created;
- /ahouse sell, use for sell house;
- /ahouse stats, use for see all house's informations;

LAST UPDATE:
- 24/05/2017, House System 1.0 version, was released;

SCREENSHOTS:



DOWNLOADS:
1.0 - (https://pastebin.com/WxevUzhB)

[FilterScript] W-Random Messages

$
0
0
Introduction
I'm Bored So I Make This Filterscript
It take me 5 mins to make this filterscript. so it's simple.
Features
- Random Messages Every 60 Seconds
- Colors !
- You Can Change It To Whatever You Want !
Download
Pastebin
Dropbox
Viewing all 595 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>