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

[FilterScript] b_Reaction System (Basic)

$
0
0


Hello Guys,
Today I'm going to present to you a Very simple b_Reaction System which i made for 10 minutes. This script only required a_samp include. I know this isn't something special but, I'm doing this for a reason to regain my previous works which got deleted by mistake from Beta Testers!

How it works ?

Good question, simply when a reaction test appear you'r are going to type randm numbers and earn some cash & money!


Download

http://www.mediafire.com/file/4v550c...tionSystem.pwn

Bugs?

No bugs found, everything has been fully tested!

PS: As i said, all my previous works are deleted i have to publish it again and I don't do it just to earn reps , I will be happy with 0! Bad/Good comments are welcome, I'm just publising very old works!

[FilterScript] iMaxy's Duel System [First Release]

$
0
0
iMaxy's Duel System

Version 1.0


Introduction:

Hello Guys! so i'm a newbie scripter in SA:MP, i tried to make something useful and it's a Duel system! :) Hope you'll like it :)


Script Commands:

/duelinvite -> to invite someone to a duel with a chosen weapon
/acceptduel -> to accept the duel with that one who invited you
/declineinvite -> to decline the duel invitation
/duel -> Only an admin has access to this, to add playerid with targetid to a duel with his chosen weapon

How to install this filterscript:

All what you need is the below:
1.Open Pastebin link and download the content;
2.then copy all script's codes and paste it in PAWNO;
3.Compile the script and you'll get the .amx in your filterscripts folder;
4.open server.cfg and write behind filterscripts line, this:
PHP Code:

filterscript Duel 

or name the file to what you want to then compile and check the .amx name and copy it and paste it correctly in server.cfg;

Files Needed:

-You'll need ZCMD include; click here
-You'll need sscanf.inc; click here

Credits:

iMaxy - Scripter of the duel system;
Zeex - Developer of ZCMD;
Maddinator - For SSCANF;

Finally Download:



8)8):Feedbacks are welcome and positive and negatives comments and point are welcome, i'm just a newbie and i want to learn so if you found something wrong in my script please tell me what is it to fix it :)

[FilterScript] [FS] Chatbot by Mattjojo

$
0
0
CHAT BOT System by Matt Jojo

Basic Chat Bot ive been working on, it can give random messages, give messages on stuff like OnPlayerConnect and also when a person talks it can talk back to them, for example when you say "Hi" The bot will say "Wassup 'YOUR NAME'" Stuff like that, very easy to edit, Updates will come.


Download
https://pastebin.com/hcB8NSDq

(If you like this then please +rep)

Have Fun,

---- Mattjojo -----

[FilterScript] [MySQL] Report system [View all reports ; Delete reports & more]

$
0
0
Report system
Version: v0.1
Last updated: N/A

Description

A normal report system but with many features

Features
  • RCON logged in admins are able to view all the reports (/reports)
  • All reports are saved in a MySQL Table
  • Uses MySQL R39-6 by BlueG
  • RCON logged in admins are able to delete reports (/delrep [report id])
  • Readablilty
  • Good performance
  • RCON logged in admins are able to delete all reports at once (/delallrep)

Credits

AjaxM - The script
SA-MP Team - SA-MP
BlueG - MySQL
Yashas / Zeex - I-ZCMD
sscanf - Y_Less & Emmet_

Bugs

Tested ; No bugs found.

Please report bugs ASAP if founded.

Table Creation

You should manually create the table with the following code:

PHP Code:

CREATE TABLE `YOUR_PORT_HERE`.`Reports`(
    `
ReportIDINT(15NOT NULL AUTO_INCREMENT ,
    `
ReporterVARCHAR(25NOT NULL ,
    `
ReportedVARCHAR(25NOT NULL ,
    `
ReportedOnVARCHAR(25NOT NULL ,
    `
ReportReasonVARCHAR(25NOT NULL ,
    
PRIMARY KEY  (`ReportID`))
    
ENGINE InnoDB

Note: You should change the 'YOUR_PORT_HERE' to your database port.

The report IDs may go up to 1000 ; If you want to reset it back to 0, delete the MySQL Table and re-create it.

Download

GITHUB

Thanks & enjoy.

[FilterScript] Portal Gun

$
0
0
Hello, I would like to present you the Portal Gun Script

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

Download:
PortalGun.inc GitHub / Abyss Morgan Website
3DTryg.inc GitHub / Abyss Morgan Website Thread
ColAndreas Plugin Thread

Instalation:
PHP Code:

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

Functions:
PHP Code:

TogglePrivatePortalGun(bool:toggle); //default: false
bool:IsTogglePrivatePortalGun();
TogglePortalGunForAll(bool:toggle); //default: true
bool:IsTogglePortalGunForAll();
TogglePortalGunForPlayer(playerid,bool:toggle); //default: false
bool:IsTogglePortalGunForPlayer(playerid);
Float:GetPortalGunSpeed(playerid);
SetPortalGunSpeed(playerid,Float:speed);
ForceClosePortalGunRing(playerid); 

Activation:
PHP Code:

WeaponCountry Rifle
Change Ring 

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

[FilterScript] Skydive System

$
0
0
Skydive System
Hey so I was looking on forum about a skydive system that set player skydiving above his location and I didn't find good one so I made this system it isn't so advanced but it is good, this is good for Freeroam/Roleplayer servers, hope you like it
Credits
Me For creating this fs
Download-Pastebin

[FilterScript] Event System

$
0
0
Event System

Hey, so iv been working on this event system from 2 days ago for my server and it was good and the admins liked it cause it is easy so I wanted to post on forum it is good for RP/FR servers
Features
Create The Event With 2 Types TDM, DM
Event Skins
Event Weapons
Event Teams Spawn
Edit Event So You Don't Create It Again
When Done You Can Stop The Event
You Can Set The Event Name And There is /events
That's All
Credits
Me For Creating This Fs
Download-Pastebin

[FilterScript] Vehicle Velocity Control [Simple but effective]

$
0
0
Hey there! As this would be my first filterscript posted, I thought about creating this in the simplest way I could think of. I have tested this filterscript and so far, no bugs have been found. If any are found, please do report it to me either through a PM or through replying in this thread.

Usage Instructions
  1. Enter a vehicle(any) as a driver
  2. Accelerate to desired speed
  3. If you have reached your speed, hold the FIRE KEY (Default: LALT) to maintain the speed
  4. Your speed will be maintained if and only if you are holding the FIRE KEY
  5. The Velocity Control will disengage if the car is unbalanced

Media and Photos
Vehicle Velocity Control Enabled when FIRE KEY is held



Vehicle Velocity Control Disabled when FIRE KEY is released



Vehicle Velocity Control Disabled when the vehicle is unbalanced/rammed



Vehicle Velocity Control Disabled when the HANDBRAKE key is held/pressed



Script Clarifications/Explanations
Though I tried my best to simplify this script, I guess there would be some who can't understand some contents of this filterscript

PHP Code:

// The key used to engage Velocity Control
#define startkey KEY_FIRE // Change to desired key (DEFAULT: LALT)
// The key used to manually disengage Velocity Control
#define endkey KEY_HANDBRAKE // Change to desired key (DEFAULT: SPACE) 

PHP Code:

//Variable to hold the player's desired maintained speed
new Float:PlayerSpeed[MAX_PLAYERS];
//Variable to hold the player's facing angle
new Float:PlayerAngle[MAX_PLAYERS]; 

PHP Code:

//If the startkey(KEY_FIRE) is held in the same time if the player is inside a vehicle and is the driver of that vehicle
if ((newkeys startkey) && !(oldkeys startkey) && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER

PHP Code:

//If the startkey is released or if the player's speed is 0, in other words, if the velocity control is disengaged by other means (handbrake or unstable vehicle)
if (!(keys startkey) || PlayerSpeed[playerid] == 0.00 ||

//If the player leaves the vehicle or if the player slows down too much
GetPlayerState(playerid) != PLAYER_STATE_DRIVER ||    (speed 0.7 PlayerSpeed[playerid]) ||

//If the vehicle ascends from ground too much
|| 

//If the vehicle changes direction
(floatabs(angle heading) > 50 && floatabs(angle heading) < 310)) 

Credits and Conclusion
There goes my first filterscript. I do have a lot going on in my mind, so I guess I'll be posting more. I really wanted to post this filterscript a month ago, but I was too lazy to create a very long process of thread creation like this one. The credits are said in the script, but for insanity's sake, I'll just add them here

CREDITS:
  • mick88 - Got the idea from mick88, and I somewhat learned from his Cruise Control FS
  • NealPeteros - Created the whole script from basic scratch
  • SAMP Community - Providing the necessary needs for this filterscript(Self-explainable)
  • PAWN - Programming Language used for this filterscript(Self-explainable)
  • PAWNO - Provided program that is responsible for PAWN, and all contents of this filterscript(Self-explainable)

Download Access

[FilterScript] Register And Login System With Clickable Textdraws(MySQL R41+)

$
0
0
Register And Login System With Clickable Textdraws

Hello SA-MP Forums, a few days ago I found a video about a registration system with clickable textdraws, I quite liked but there not was a download link, I decided to create an identical system and here I leave for you as well.





To edit the system configurations

To set the maximum number of failed login attempts
Code:

#if !defined MAX_LOGGIN_ATTEMPTS
        #define MAX_LOGGIN_ATTEMPTS            (5)
#endif


To set the minimum/max number of characters that a password must have
Code:

#if !defined MIN_LENGTH_PASSWORD
        #define MIN_LENGTH_PASSWORD            5
#endif

#if !defined MAX_LENGTH_PASSWORD
        #define MAX_LENGTH_PASSWORD            20
#endif


To set the year older and newer than we can select as year of birth
Code:

#if !defined MIN_DATE_YEAR
        #define MIN_DATE_YEAR                  (1850)
#endif


#if !defined MAX_DATE_YEAR
        #define MAX_DATE_YEAR                  (2017)
#endif


To change the color of the textdraw when we pass the mouse over the textdraw clickable
Code:

#if !defined COLOR_LOGGIN_TD_HOVERING
        #define COLOR_LOGGIN_TD_HOVERING                (0x00C100FF)
#endif


#if !defined COLOR_REGISTER_TD_HOVERING
        #define COLOR_REGISTER_TD_HOVERING      (0xFF000085)
#endif



To set up the mysql database that you will use(line 138)
Code:

handle = mysql_connect("host", "user", "password", "database");


The system automatically recognizes a leap year and correctly show the days of february depending if the year is a leap year or not

Two useful commands were added to the system "/changepassword" and "/changegender"


Downloads
Source - Github: https://github.com/JuanUgalde/Register-And-Login-System

[FilterScript] xVehicle v2 // Vehicle Ownership System // by XpDeviL

$
0
0

Hi everyone,
This is my second vehicle ownership system. First one had a lot of bugs and not so useful. So i made it again from bottom. And this one is better :)
I translated the script from Turkish that the original language. So there could be translation mistakes. Sorry about that :)

Features

* Buying a Vehicle

To buy a vehicle, just get into a sale vehicle and select ‘Buy’ on the that will be appeared. If you have enough money you can buy it.
You can buy more than one vehicle. You can define the limit at the top of the script.
To see and manage your vehicles, just use /v command.




* Parking

You can park your vehicle by typing /park. When you use that command, your vehicle will be parked without respawn or anything.

* Vehicle Menu

With '/v' command, you can see your vehicles, and the vehicles that you have their keys. After you choose the vehicle, you can manage it with these options.




* Where Is My Car?


When you lost your vehicle, you can find it with this option. It will mark your vehicle on the map.

* Put The Vehicle In Garage and Take Out

By putting your car in garage, you can make your car visually disappear, and you can take out your car whenever you want.




* Quick Park


With the Quick Parking feature, your vehicle will be automatically parked everytime when you get off the car.
But it won't park your vehicle if your vehicle upside down or black smoke coming out of your vehicle.



* Giving Your Vehicle's Key To Someone Else

You can use someone else's vehicle, if you have it's keys.
You can see the vehicles and vehicle menu that you have their keys, by typing /v and choosing the car on the list. But some features are only for the vehicle owner. Key owners can't use that features.


* Sell Vehicle To Someone Else

You can sell your vehicle to someone else or the car dealer. Just choose the Sell Vehicle option in the vehicle menu

* Viewing Vehicle Info

You can also see the vehicle information of the choosen vehicle.



* Admin Menu

You can manage all vehicles by accessing the admin panel by typing /amenu (you should RCON login first). Choose the vehicle and there you go.

**

Video

Detailed introduction is on the video. (I recorded the video with the Turkish version. But I added subtitles in English)

https://youtu.be/SWnegBaxbsc

Note

I used MySQL R41 for saving. MySQL tables will be automatically created. Just enter your MySQL credentials.

Download

Mediafire

[FilterScript] Realistic Manual Transmission System

$
0
0
Realistic Manual Transmission System

So, this is a manual transmission system which I created for my server and I thought I might as well share with others if anyone else wants a similar system.
I've tried to make the system as realistic as possible, this means that mechanics you would find within a real-life manual vehicle will be replicated to a large extent.

CONTROLS:
[2] - CLUTCH
[Y] - INCREASE GEAR
[N] - DECREASE GEAR
[R] [N] [1] [2] [3] [4] [5] - GEARS AVAILABLE

HOW TO USE:
1: Type /manual to enter manual mode.
2: Upon entering a vehicle, you should be in neutral mode.
3: Hold onto 2 + tap Y to go into first gear.
4: Hold onto 2 + W and the car will start moving.
5: After a second, release 2 and continue to use W.
6: To increase gear, release w, hold onto 2 + tap Y then release 2.
7: To decrease gear, release w, hold onto 2 + tap N then release 2.

MECHANICS:
1: If you accelerate in neutral, car will stall. (this wouldn't really happen, but it's just a way to prevent movment of the car)
2: If you do not hold clutch whilst under 3MPH, car will stall.
3: If you accelerate in a gear which is too high, car will stall.
4: Using the clutch and accelerator at the same time will decrease the car's health. (except when you are initally moving away in first gear)
5: If you don't change gears when necessary, car health will decrease.
6: Stalling decreases the car's health.

KNOWN BUGS:
1: Holding onto the clutch + accelerator whilst falling in mid-air within a vehicle will reduce the speed in which you fall. Although, the vehicle will lose significant health.

Hope anyone who needs such a system shall find use within this.

Screenshots:




Download:
https://pastebin.com/ZDgTjrW7

[FilterScript] Random Hit/Mission System

$
0
0
Random Hit/Mission System
________________________________________________

Random Hit/Mission System is a Filterscript made for any type of gamemode, may be a Freeroam, Cops 'n Robbers, Team Deathmatch, Deathmatch, etcetera etcetera. It features a random connected player to be assigned as the "hit" and the mission is to kill him. The killer gains a prize of a random bounty of or below $500,000 which is editable through finding #define BOUNTYMONEY. The random hit can be started by a RCON Administrator, also editable to your own administrative enumerator, through /startnewhit. After using this command, a 2 minute wait is given then the hit is assigned to a random player. It is a simple system and, I bet, is a user-friendly code.

Usage Instructions
  1. Login as an RCON Administrator
  2. Use /startnewhit to start the 2 minute wait
  3. After the 2 minute wait, a random player should be assigned as the random hit
  4. Kill the hit to earn your very own prize

Media and Photos
/startnewhit is called, the 2 minute wait starts

After 2 minutes, a random player is picked as the "hit"


Credits
  • NealPeteros - Created the whole script from basic scratch
  • SAMP Community - Providing the necessary needs for this filterscript(Self-explainable)
  • PAWN - Programming Language used for this filterscript(Self-explainable)
  • PAWNO - Provided program that is responsible for PAWN, and all contents of this filterscript(Self-explainable)

Download Access

[FilterScript] satelite in SA-MP | By OTACON

$
0
0
[FS] satelite in SA-MP | By OTACON






[] Downloads:
pastebin:


mega:


[] Credits:
OTACON

[FilterScript] Music System

[FilterScript] xRobbery - Safe Robbery System // by XpDeviL

$
0
0
Hi everyone,

It's a safe robbery system. You can create safes and make players rob them. You can simply rob safes by typing /rob.

Commands

/rob : You can rob safes by using this command. First you will try to crack the safe then you'll rob the safe.

/createsafe : You can easily create safes with this command. Just type it and set the safes position.

/editsafe [safe id] : Edits selected safe.

/deletesafe [safe id] : Deletes seleted safe.


Images






Video

https://youtu.be/FnYU5s2RdtU


Download

Mediafire


Requirements

Zcmd - (Topic)
y_Iterate (YSI Github)
BlueG's MySQL (Topic)

[FilterScript] New DJ System and my First Release

$
0
0
Introduction
Hello It's Areeb This is my First filterscript i hope you guys like my Filterscript!


Commands:
/setdj (0=set and 1=kick) [only for admins]
/djcmds (to see dj commands)
/playsong [url] (to play song)
/stopsong (to stop song)
/dc (to talk with other djs)


Screenshots






Download Link
http://www.solidfiles.com/v/Rqnwxq2N5aMMv
More Links Coming Soon!

Soon i will add /requestsong and /stopmusic for players!

[FilterScript] Mega Event System V3

$
0
0
Old Version (v2) : Mega Event V2

i was free two days ago and i made this changes to my old filterscript and now im home to post it for you

change list
Code:

V3:
-now you can use some cmds action in dialogs for easy access (cmds and dialog both will work)
/econfig

-you can access to usefull interiors for setting spawn point or setting pickup spawn points or ..
/eint

-you can set 4x different pickups with 4x different stylse (exist always,...)& Actions (kill,heal,armour,teleport to a point)
/econfig >< /delpick

-for pickup info you have to set a spawn point so if players inter that pickup they will get tp to that point
/esetmark <> /esetmarks

-you can set special vehicle for one team so others cant use that
/etvehicle

-added team chat >>
/etc

and many changes that i forgeted(small ones)

actully this new update will help you to make new events ! be crative make a new mod of event in custom event

please for picture or video see last post <Version 2>
some pics

First
Second
third
forth


thanks alot ! check my other FS too and also feel free to suggestion

Download

Pastebin

[FilterScript] Jasper's Woodcutting job/skill with levels and XP. Custom map

$
0
0
Hello there,
Today i am releasing my woodcutting job/skill script.

You may edit this script, but not redistribute without my permission.
If you use this script in your server, give me credits.


Features:
- Custom map
- Saving
- Levels and XP(The higher level you are, the more easy it is to cut logs)
- It is a job with a real duty point.
- You cut the tree with a chainsaw.
- Actors
- Sell the wood to a actor.
And much more(see screenshots)

Controls:
Press Y - Open the server menu to view your skill and inventory.
The other controls will be explained in the script.

There are 2 commands:
/respawntrees
/gotowoodcutting

What will i add in next version?
- Automatic tree respawning.
- Better saving(current dini)
- Much more trees

Screenshots:
https://photos.google.com/share/AF1Q...swY1RPN0VJMkxR

Code:
https://pastebin.com/cP6UHQAd

Create a folder called Woodcutting in your scriptfiles folder:
scriptfiles/Woodcutting/

[FilterScript] Weapon With Dialog

$
0
0
Hey There,:p
This is my first ever FS,
I made to see how much I can do.
This is Too much simple.
I used ZCMD for this.
A simple Command /weapons is used for opening the Dialog.
Make sure all your other scripts Have return 0; at last of OnDialogResponse
Please tell your opinion if you think its good i will start making FSs and will update this to all weapons.
Thanks
Credits:
Zeex = ZCMD
Me = This FS
Download:
AMX - MediaFire
PWN - MediaFire
PWN - Pasetbin

[FilterScript] MedKit System 0.5v

$
0
0
MedKit System 0.5v



I saw many people, server owners looking for a FilterScript in this style and I decided to do this filterscript last week

How it works?

This FS works as follows, each player can create a Medkit that upon entering it and stay 2 seconds standing on top of it (Can not enter and exit, which will be canceled) that will receive +6 life / vest if you have less Life, receive life, if you have a lot of life and with little vest, receive vest, and after 10 uses MedKit will break from so much use and will have to be replaced

Some prints:





Download:

Pastebin:
Download 0.5v (Recommended)

Credits:

IlanZ - Creator of FilterScript
Kalcor - Creator of SA-MP
Zeex - Creator of ZCMD
Viewing all 595 articles
Browse latest View live


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