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

[FilterScript] Report system(with admin-chat / panel logs) [MySQL version]

$
0
0
Report system
Hello !
This is my first filescript on this forum, so.. take me easy :)

Features:
- MySQL logs
- logs are used in panel(see image down)
- admin can chat with player.

Commands:
- for admins:
/x
/cr
/cx
/ar
/reports
/addx
- for players:
/x
/report

Screenshots:




Download:
- report sistem: http://www.mediafire.com/file/andgxk...658/report.inc
- panel file 1: http://www.mediafire.com/file/2232nk.../reports.p.php
- panel file 2: http://www.mediafire.com/file/j2aj1d...port_log.p.php

Warning:
- .php files are just for examples, if you want you can use my script.. just for example :)
- i'm from Romania, so.. sorry for my bad english.

[FilterScript] Duel System

$
0
0
I just made a small duel system by watching some tutorials on you-tube my friend helped a lot I am a beginner so this is my first filterscript I hope you would like it :D

Download it

Attached Files
File Type: rar SAMP Script.rar (6.2 KB)

[FilterScript] Garage System

$
0
0
Today my mind told me to create something , to be creative. So i've made a Dynamic Garage System (kinda basic at this moment , out of ideas)

Commands:
/creategarage - To create a garage at the position where you are
/enter - To enter the garage (after you buy it)
/buygarage - To buy the garage
/exitgarage - To exit the garage
/delgarage - To delete the garage

There are 3 garage sizes at this moment.
Screens:
Small one: http://imgur.com/dGE86nA
Medium one: http://imgur.com/GgyPurM
Big one: http://imgur.com/jSUBsmK
http://imgur.com/GStxyFN
http://imgur.com/lT1NdJ0
http://imgur.com/JqEJQfE

The saving and loading it's made with MySQL r41-2.
Don't know what to say more , enjoy it!
As i said, the system it's basic , any suggestions and feedback will help to improve it.

Download link: https://github.com/Banditul/Garage-System (sql file is there)

Credits:
Y_Less for sscanf2
Incognito for streamer
Yashas for I_ZCMD
BlueG and maddinat0r for MySQL
SA-MP Team for make it possibile

[FilterScript] Bar Betting system [Unique]

$
0
0
Bar Betting System


Hai guys, today i bring you my script called "Bar Betting". Sounds differen't huh? Well this is how it works.

First, You Do /barbets, and it will show you a list of Drinks.
Code:

SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SYNTAX] {FFFFFF}Usage: \"barbets <bet-name>\"");
        SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SYNTAX] {FFFFFF}Bet Names: GrapeDrank($2,500), OrangeJuice($5,000), AppleJuice($10,000)");
        SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SYNTAX] {FFFFFF}Bet Names: Coke($25,000), Pepsi($50,000), LightBeer($100,000), Beer($250,000)");
        SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SYNTAX] {FFFFFF}Bet Names: RedWine($600,000), Champagne($1,200,000), Water($2,600,000)");
        SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SYNTAX] {FFFFFF}Bet Names: Lemonade($4,100,000), Milkshake($8,700,000), Zonrox($13,000,000)");
        SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SYNTAX] {FFFFFF}Bet Names: Domex($50,000,000), PepperDrink($75,000,000), Bleach($100,000,000)");
        SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SYNTAX] {FFFFFF}Note: You will buy the drink, if you win, you get double the prize of the drink,");
        SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SYNTAX] {FFFFFF}Note: If you lose, you get nothing. EXAMPLE: You bought PEPSI(50k) and you won,");
        SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SYNTAX] {FFFFFF}Note: You get 100k.");

Second, you choose a drink to buy, via /barbets <drinkname>, for example you choose red wine, you will lose 600k cause you will buy the drink, but if you win, you get 1,200,000.

Win Message:
SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[BARBETS] {FFFFFF}You have won $(Winning Money) from a bar bet!");

Lose Message:
SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[BARBETS] {FFFFFF}You lost, better luck next time!");

High Winning Message:
format(message, sizeof(message), "{FF0000}[BROADCAST] {00FF04}%s Has Just Won $(Winning Money) from a bar bet!",name);
SendClientMessageToAll(COLOR_WHITE, string);


DOWNLOAD LINK:
https://pastebin.com/TEWS4FHM

[FilterScript] I need a filterscript for adminsystem

$
0
0
Hey I Need a filterscript for admin system

Which has no register system but all player data must be saved without password. Because i already have one register system. This also must include vipsystem.

If you can't give me register system as mentioned above.

Please set the register system to show login dialogue before spawning.

Because before this i was using LuxAdmin System. Whcih worked well but login dialogue was shown after spawn. Due to this. Some notorius players logs into my account and bans my friends.

[FilterScript] -----------

[FilterScript] Vehicle Parachute

$
0
0
Vehicle Parachute
So, I was fetching around the forms and I only found on vehicle parachute system which was a lot complicated so I have made my own and I liked to share it with you hope you like it
PHP Code:

#include <a_samp>
#include <streamer>
#include <zcmd>
new vpara[MAX_PLAYERS];
new 
para[MAX_VEHICLES];
public 
OnPlayerSpawn(playerid)
{
      
vpara[playerid]=0;//use this onplayerconnect too to avoid bugs
}
public 
OnPlayerExitVehicle(playeridvehicleid)
{
    if(
GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
        
vpara[playerid]=0;
        
DestroyDynamicObject(para[vehicleid]);
    }
    return 
1;
}
public 
OnPlayerUpdate(playerid)
{
                if(
vpara[playerid]==1)
        {
            if(
IsPlayerInAnyVehicle(playerid))
            {
                if(
GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
                {
                    static 
vidFloat:xFloat:yFloat:z;
                    
vid GetPlayerVehicleID(playerid);
                    
GetVehicleVelocity(vid,x,y,z);
                    
SetVehicleVelocity(vid,x,y,-0.2);
                }
            }
        }
                return 
1;
}
CMD:vpara(playeridparams[])
{
    if(!
IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1"EREOR: You Must Be In Vehicle To Use That Command.");
    new 
vid GetPlayerVehicleID(playerid);
    if(
GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
        if(
vpara[playerid]==0)
        {
            
para[vid] = CreateDynamicObject(18849,0.0,0.0,-6000.0,0.0,0.0,0.0,GetPlayerVirtualWorld(playerid),GetPlayerInterior(playerid));
            
SendClientMessage(playerid, -1"~Parachute Attached.");
            switch(
random(5))
            {
                case 
0: {

                    
SetDynamicObjectMaterial(para[vid],0,18841,"MickyTextures","Smileyface2",0x00000000);

                    
SetDynamicObjectMaterial(para[vid],2,10412,"hotel1","carpet_red_256",0x00FFFFFF);

                }
                case 
1: {

                    
SetDynamicObjectMaterial(para[vid],0,18841,"MickyTextures","red032",0x00000000);

                    
SetDynamicObjectMaterial(para[vid],2,10412,"hotel1","carpet_red_256",0x00FFFFFF);

                }
                case 
2: {

                    
SetDynamicObjectMaterial(para[vid],0,18841,"MickyTextures","ws_gayflag1",0x00000000);

                    
SetDynamicObjectMaterial(para[vid],2,10412,"hotel1","carpet_red_256",0x00FFFFFF);

                }
                case 
3: {

                    
SetDynamicObjectMaterial(para[vid],0,18841,"MickyTextures","waterclear256",0x00000000);

                    
SetDynamicObjectMaterial(para[vid],2,10412,"hotel1","carpet_red_256",0x00FFFFFF);

                }
                case 
4: {

                    
SetDynamicObjectMaterial(para[vid],2,10412,"hotel1","carpet_red_256",0x00FFFFFF);

                }
            }
            new 
Float:x,Float:y,Float:z;
            
GetVehicleModelInfo(GetVehicleModel(vid),VEHICLE_MODEL_INFO_SIZE,x,y,z);
            
/= 2.0;
            
AttachDynamicObjectToVehicle(para[vid],vid,0.0,0.0,z+6.0,0.0,0.0,90.0);
            
vpara[playerid] = 1;
            return 
1;
        }
        if(
vpara[playerid]==1)
        {
            
SendClientMessage(playerid, -1"~Parachute Removed.");
            
DestroyDynamicObject(para[vid]);
            
vpara[playerid]=0;
            return 
1;
        }
    }
    return 
1;


Credits
Me[Creating This]
Hope You Like It!
Edited I forgot to add something

[FilterScript] Advanced Spectate System

$
0
0




The main point of a spectation system for administration to be able to view players that can be a potential harm to their server, though, it can also be used by players.
It all depends on how your server is set up to function. The main idea I had in mind while developing this was simply "convenience" for the person whom had interest
in spectating a player. Though this might only fit a specific audience's needs from a spectation system as it stands, but it's easily editable.



Code:

=> Version 1.0 Released - June 13th, 2017 <=
* Smart checks in place to protect issues happening upon initially spectating.
* Grabs the following data to later replace when done spectating, listed in order as placed in code:
--Player Weapon Data ( each slot's weapon and ammunition )
--Player Health
--Player Amour
--Interior and World
--Vehicle Information, if pertains (vehicle ID, seat ID, vehicle position )
--Player Position, if on foot
--Name of whom Spectating
* Smart checks upon exiting spectator's mode and spawning - regarding health, armor, weapon, and vehicle data
* If whom you are spectating dies, it waits for the player to respawn, then initializes spectation
* If whom you are spectating disconnects, spectation ends
* If whom you are spectating goes from on-foot -> vehicle or vice-versa, spectation standards are adjusted accordingly
* If a player's interior changes, spectation standards adjust accordingly
( Note: Sometimes SA-MP doesn't fully adjust it's spectation mode. Interior & World IDs will match, but not update on screen.
Resulting in a blank spectation. Simply respectating fixes this issue. )
* If a player enters a checkpoint, it will adjust spectation standards accordingly
* You may use your mouse to switch through online players to spectate ( LMB = +1 || RMB = -1 )

- Baseline Functionality Posted Below -



You must have the following includes for this filterscript to work:

ZCMD
SSCANF
FOREACH



* Smart checks in place to protect issues happening upon initially spectating. [93-109]
* Grabs the following data to later replace when done spectating, listed in order as placed in code:
  • Player Weapon Data ( each slot's weapon and ammunition )
  • Player Health
  • Player Amour
  • Interior and World
  • Vehicle Information, if pertains (vehicle ID, seat ID, vehicle position )
  • Player Position, if on foot
  • Name of whom Spectating
* Smart checks upon exiting spectator's mode and spawning - regarding health, armor, weapon, and vehicle data
* If whom you are spectating dies, it waits for the player to respawn, then initializes spectation
* If whom you are spectating disconnects, spectation ends
* If whom you are spectating goes from on-foot -> vehicle or vice-versa, spectation standards are adjusted accordingly
* If a player's interior changes, spectation standards adjust accordingly
( Note: Sometimes SA-MP doesn't fully adjust it's spectation mode. Interior & World IDs will match, but not update on screen.
Resulting in a blank spectation. Simply respectating fixes this issue. )
* If a player enters a checkpoint, it will adjust spectation standards accordingly
* You may use your mouse to switch through online players to spectate ( LMB = +1 || RMB = -1 )


There are specific things I had placed into this for the purpose of being able to test the script, but can also come in hand for some. They are listed with their purposes below:

* If you have MAX_PLAYERS already defined, you may remove the definitions up near the top.
-- Some don't have this correctly defined, or want to guarentee their MAX_PLAYERS within the filterscript.
* Change p_adminlevel to your admin level variable if you want it to be restricted to administration.
-- If you plan to restrict this to adminstration, replace 'p_adminlevel' to your administration variable for players.
* Change admin_duty to your admin on duty variable if you have one.
-- If you have a godmode command for administration, replace 'admin_duty' to whatever your variable is that checks if it's enabled or disabled.







If you have interest in obtaining the code for this filterscript, you may download it here.




Tee - Base Idea for Spectation System Structure (Outdated & Unorganized)
Zeex - ZCMD
Y_Less - SSCANF
Y_Less - FOREACH
SA-MP Team



[FilterScript] tLogs (Logging system)

$
0
0
Introduction

I was trying to do something new for myself and ended up with this simple idea. It did not take me over than 20 min.

Keep an eye on your players.

There may be a lot of logging filterscripts out there but I ensure you this is the simplest and worst one.

NOTE: I did not include OnRconLoggingAttempt logs as it should be your's anticheat job, not this filterscript's.

Example

Chat.log
Quote:

~~~~~~~ [ DATE : June 13 2017 ] ~~~~~~~
[16:37:17] Toroi(0): testing
[16:37:19] Toroi(0): ma naem e
[16:37:21] Toroi(0): jeff
[16:37:26] Toroi(0) issued command: /vehpos 1 .
[16:37:28] Toroi(0) issued command: /vehpos 2 .
[16:37:32] Toroi(0) issued command: /vehpos 3 .
Actions.log
Quote:

~~~~~~~ [ DATE : June 13 2017 ] ~~~~~~~
[16:29:27] Toroi(0) changed from state none to state spectating .
[16:29:28] Toroi(0) changed from state spectating to state spawned .
[16:29:28] Toroi(0) changed from state spawned to state on foot .
[16:29:30] Toroi(0) changed from state on foot to state dead or on class selection .
[16:29:34] Toroi(0) changed from state dead or on class selection to state spawned .
[16:29:34] Toroi(0) changed from state spawned to state on foot .
Combat.log
Quote:

~~~~~~~ [ DATE : June 13 2017 ] ~~~~~~~
[16:39:35] Toroi(0) died. Reason: 255 .
[16:39:35] Toroi(0) destroyed vehicle id (23) .
Connection.log
Quote:

~~~~~~~ [ DATE : June 13 2017 ] ~~~~~~~
[16:27:34] Toroi(0) logged in. IP: xxx.xxx.xxx.xxxx .
[16:28:26] Toroi(0) logged out. Reason: Quit .
Features

Quote:

  1. Overall
    • A file per Log (Combat.log, Actions.log..) to keep it clean
    • Separated by dates, if day changes, there will be a date separator for better log checking
    • HH:MM:SS timestamp on every log
  2. Combat Logs
    • Logs the damage issued from player to other players, the bodypart and the weapon used
    • Logs the damage issued from player to vehicles and the weapon used
    • Logs the damage taken by player and the reason
    • Logs deaths
  3. Actions Logs
    • Logs player change of state (drivig to on foot, spectating to driving)
    • Logs player's interior change
    • Logs player entering/exiting mod shop
    • Logs player's clicks on map and the coordinates
    • Logs players clicks on players through the scoreboard
  4. Chat Logs
    • Logs all messages
    • Logs all commands issued
  5. Connection Logs
    • Logs connections
    • Logs disconnections and the reason (kick, timeout, exit)


Known Issues/Bugs

Quote:

- I'm alive

How to use

Quote:

- Open the tLogs.pwn file and compile it in your filterscript folder.
- Add the following to the filterscript line in your server.cfg file
Code:

tLogs
- Start your server.

How to configure

Quote:

- Uncomment the line #define FILEPATH "/folder/" to use a custom folder inside the scriptfiles folder.
Download

https://github.com/Toroidesu/tLogs

[FilterScript] Shooting range targets system

$
0
0
This script was worked on long time ago and is sort of messy, with if statements in places that are not required and that could have simply been worked on using loops. On the other hand, script is fully functional, targets are server-side as well since the script will destroy the object as the players shoots on it, thus making it visible for everyone.

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

The script slightly differs from the one shown in the video. The target will do an infinite loop until fully destroyed once you start it, saving you to manually /movetarget.

Commands:

/createtarget - Spawns all the targets at the shooting range;
/movetarget - Moves a specific target at a specific speed (choosen by the player moving it);
/destroytarget - Destroys a target, be it moving or stopped;
/ready - Gets you to the shooting range and gives you couple of weapons.

Download: Pastebin

[FilterScript] DRIFT POINTS FILTERSCRIPT

$
0
0
DRIFT FILTERSCRIPT!!!!!
This is a filterscript which i made few days ago.

COMMANDS:
/drifton - to start earning money while drifting
/driftoff - to end earning money while drifting



If you want more releases let me know
I CANNOT SCRIPT GOOD!!! IM JUST AT BEGINNING

DOWNLOAD:
https://www.mediafire.com/?1qjaihzxlmj10w0

[FilterScript] [TextDraw]Speedometer

$
0
0
The textdraw of the speedometer (not a system).


Code:

new Text:SpeedGlobalTD[4];

SpeedGlobalTD[0] = TextDrawCreate(592.333251, 394.763061, "");
TextDrawLetterSize(SpeedGlobalTD[0], 0.000000, 0.000000);
TextDrawTextSize(SpeedGlobalTD[0], 48.000000, 52.000000);
TextDrawAlignment(SpeedGlobalTD[0], 1);
TextDrawColor(SpeedGlobalTD[0], 255);
TextDrawSetShadow(SpeedGlobalTD[0], 0);
TextDrawSetOutline(SpeedGlobalTD[0], 0);
TextDrawBackgroundColor(SpeedGlobalTD[0], 0);
TextDrawFont(SpeedGlobalTD[0], 5);
TextDrawSetProportional(SpeedGlobalTD[0], 0);
TextDrawSetShadow(SpeedGlobalTD[0], 0);
TextDrawSetPreviewModel(SpeedGlobalTD[0], 1895);
TextDrawSetPreviewRot(SpeedGlobalTD[0], 0.000000, 0.000000, 0.000000, 1.000000);

SpeedGlobalTD[1] = TextDrawCreate(512.999755, 367.800170, "");
TextDrawLetterSize(SpeedGlobalTD[1], 0.000000, 0.000000);
TextDrawTextSize(SpeedGlobalTD[1], 101.000000, 100.000000);
TextDrawAlignment(SpeedGlobalTD[1], 1);
TextDrawColor(SpeedGlobalTD[1], 255);
TextDrawSetShadow(SpeedGlobalTD[1], 0);
TextDrawSetOutline(SpeedGlobalTD[1], 0);
TextDrawBackgroundColor(SpeedGlobalTD[1], 0);
TextDrawFont(SpeedGlobalTD[1], 5);
TextDrawSetProportional(SpeedGlobalTD[1], 0);
TextDrawSetShadow(SpeedGlobalTD[1], 0);
TextDrawSetPreviewModel(SpeedGlobalTD[1], 3533);
TextDrawSetPreviewRot(SpeedGlobalTD[1], 0.000000, 90.000000, 90.000000, 1.000000);

SpeedGlobalTD[2] = TextDrawCreate(557.666625, 388.540802, "");
TextDrawLetterSize(SpeedGlobalTD[2], 0.000000, 0.000000);
TextDrawTextSize(SpeedGlobalTD[2], 52.000000, 80.000000);
TextDrawAlignment(SpeedGlobalTD[2], 1);
TextDrawColor(SpeedGlobalTD[2], 255);
TextDrawSetShadow(SpeedGlobalTD[2], 0);
TextDrawSetOutline(SpeedGlobalTD[2], 0);
TextDrawBackgroundColor(SpeedGlobalTD[2], 0);
TextDrawFont(SpeedGlobalTD[2], 5);
TextDrawSetProportional(SpeedGlobalTD[2], 0);
TextDrawSetShadow(SpeedGlobalTD[2], 0);
TextDrawSetSelectable(SpeedGlobalTD[2], true);
TextDrawSetPreviewModel(SpeedGlobalTD[2], 3533);
TextDrawSetPreviewRot(SpeedGlobalTD[2], 0.000000, 90.000000, 90.000000, 1.000000);

SpeedGlobalTD[3] = TextDrawCreate(627.366516, 414.736724, "kmh");
TextDrawLetterSize(SpeedGlobalTD[3], 0.189000, 0.811852);
TextDrawAlignment(SpeedGlobalTD[3], 2);
TextDrawColor(SpeedGlobalTD[3], -1);
TextDrawSetShadow(SpeedGlobalTD[3], 0);
TextDrawSetOutline(SpeedGlobalTD[3], 0);
TextDrawBackgroundColor(SpeedGlobalTD[3], 255);
TextDrawFont(SpeedGlobalTD[3], 2);
TextDrawSetProportional(SpeedGlobalTD[3], 0);
TextDrawSetShadow(SpeedGlobalTD[3], 0);




new PlayerText:SpeedPlayerTD[MAX_PLAYERS][4];

SpeedPlayerTD[playerid][0] = CreatePlayerTextDraw(playerid, 617.233154, 402.721801, "000");
PlayerTextDrawLetterSize(playerid, SpeedPlayerTD[playerid][0], 0.400000, 1.600000);
PlayerTextDrawAlignment(playerid, SpeedPlayerTD[playerid][0], 2);
PlayerTextDrawColor(playerid, SpeedPlayerTD[playerid][0], -1);
PlayerTextDrawSetShadow(playerid, SpeedPlayerTD[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, SpeedPlayerTD[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, SpeedPlayerTD[playerid][0], 255);
PlayerTextDrawFont(playerid, SpeedPlayerTD[playerid][0], 2);
PlayerTextDrawSetProportional(playerid, SpeedPlayerTD[playerid][0], 0);
PlayerTextDrawSetShadow(playerid, SpeedPlayerTD[playerid][0], 0);

SpeedPlayerTD[playerid][1] = CreatePlayerTextDraw(playerid, 589.700439, 404.615112, "");
PlayerTextDrawLetterSize(playerid, SpeedPlayerTD[playerid][1], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, SpeedPlayerTD[playerid][1], 40.000000, 44.000000);
PlayerTextDrawAlignment(playerid, SpeedPlayerTD[playerid][1], 1);
PlayerTextDrawColor(playerid, SpeedPlayerTD[playerid][1], -1);
PlayerTextDrawSetShadow(playerid, SpeedPlayerTD[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, SpeedPlayerTD[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, SpeedPlayerTD[playerid][1], 0);
PlayerTextDrawFont(playerid, SpeedPlayerTD[playerid][1], 5);
PlayerTextDrawSetProportional(playerid, SpeedPlayerTD[playerid][1], 0);
PlayerTextDrawSetShadow(playerid, SpeedPlayerTD[playerid][1], 0);
PlayerTextDrawSetPreviewModel(playerid, SpeedPlayerTD[playerid][1], 411);
PlayerTextDrawSetPreviewRot(playerid, SpeedPlayerTD[playerid][1], -20.000000, 0.000000, 30.000000, 1.000000);
PlayerTextDrawSetPreviewVehCol(playerid, SpeedPlayerTD[playerid][1], 1, 1);

SpeedPlayerTD[playerid][2] = CreatePlayerTextDraw(playerid, 580.363647, 428.725646, "000000_km");
PlayerTextDrawLetterSize(playerid, SpeedPlayerTD[playerid][2], 0.189000, 0.811852);
PlayerTextDrawAlignment(playerid, SpeedPlayerTD[playerid][2], 2);
PlayerTextDrawColor(playerid, SpeedPlayerTD[playerid][2], -1);
PlayerTextDrawSetShadow(playerid, SpeedPlayerTD[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, SpeedPlayerTD[playerid][2], 0);
PlayerTextDrawBackgroundColor(playerid, SpeedPlayerTD[playerid][2], 255);
PlayerTextDrawFont(playerid, SpeedPlayerTD[playerid][2], 2);
PlayerTextDrawSetProportional(playerid, SpeedPlayerTD[playerid][2], 1);
PlayerTextDrawSetShadow(playerid, SpeedPlayerTD[playerid][2], 0);
PlayerTextDrawSetSelectable(playerid, SpeedPlayerTD[playerid][2], true);

SpeedPlayerTD[playerid][3] = CreatePlayerTextDraw(playerid, 556.033447, 413.507080, "infernus");
PlayerTextDrawLetterSize(playerid, SpeedPlayerTD[playerid][3], 0.313999, 1.475555);
PlayerTextDrawAlignment(playerid, SpeedPlayerTD[playerid][3], 2);
PlayerTextDrawColor(playerid, SpeedPlayerTD[playerid][3], -1);
PlayerTextDrawSetShadow(playerid, SpeedPlayerTD[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, SpeedPlayerTD[playerid][3], 0);
PlayerTextDrawBackgroundColor(playerid, SpeedPlayerTD[playerid][3], 255);
PlayerTextDrawFont(playerid, SpeedPlayerTD[playerid][3], 2);
PlayerTextDrawSetProportional(playerid, SpeedPlayerTD[playerid][3], 1);
PlayerTextDrawSetShadow(playerid, SpeedPlayerTD[playerid][3], 0);

[FilterScript] Weapon License System

$
0
0
Saint's Weapon License System

I was bored and wanted an innovative way to block people from shooting and killing others but also allow certain people.
I know weapon licenses are a thing on roleplay servers, and I believed this would be useful for many others as well.
So, I decided to make it into a filter script and allow everyone to use it! This is what I came up with:

Preview: https://www.youtube.com/watch?v=32DEC4-fn8Y

Credits: Y_Less for SSCANF & Zeex for ZCMD.

Pastebin: https://pastebin.com/vx0GJjzK

[Map] Streaming of mapping

$
0
0
I just change my script and after i change it i got problem with my mapping but when i updated my streamer files the dd icons,business,houses,mappings are gone. Can someone help me with that? Thanks! ;)

[FilterScript] Skin textdraw in connection


[FilterScript] Speed Capture Editor

$
0
0
Hi everyone i created a speed capture editor, now you can make speed capture zones in game!

Requirements:
a_samp
izcmd
sscanf2
streamer
speedcap
y_ini




Usage:
/cspeedcap [id] [radius] [speed] [fine] = create speedcap zone
/speedcapinfo [id] = display info of a speedcap zone
/speedcaphelp = display speedcap editor commands list
/locatespeedcap [id] = sets player checkpoint where a speedcap zone located
/endlocate = disable player checkpoint of a speedcap zone location
/rspeedcap [id] = remove speedcap zone
/rallspeedcap= remove all speedcap zones





Video: http://www.youtube.com/watch?v=WR1Z0ItHlbg





Create a folder name SpeedCaps in scriptfiles folder, make sure to load streamer and sscanf plugins and add the SpeedCapEditor in server.cfg

Pastebin: https://pastebin.com/XNNyCh4b (non flash version)

Pastebin: https://pastebin.com/3aigc4td (flash version)



For full package:


Mediafire: https://www.mediafire.com/?buiy63o3hjai03i (non flash version)

Mediafire: https://www.mediafire.com/?5dcln12cfkndnmu (flash version)





Credits:
SA-MP TEAM: for a_samp
WhatName: for speedcap and SpeedCapEditor
Incognito: for streamer
Yashas and Zeex: for izcmd
Y_Less: for y_ini and sscanf

[FilterScript] Coins system [MySQL + Threaded queries + Textdraw]

$
0
0
Coins system
Introduction
Hey all, i was making my gamemode and boom, decided to make a coin system, so i begin working, its something simple, it take me 20 minutes to make it and test.
It's my first filterscript, so don't be very bad on me ;)
Features
-Coins textdraw
-/agivecoins command for admin to give someone coins
-/givecoins for player to give coins to his friend
-MySQL saving system
Download
Filterscript : Pastebin
MySQL File : Pastebin
Credits
Special thanks to :
Y-Less - SSCANF
Zeex - ZCMD
Ipleomax - Text Draw Editor
BlueG - MySQL Plugin
SA-MP Team - All :)
Me - Making this filterscript
Bugs
None yet, if you find one please report it here ! :)
Remember : I use MySQL R39-4 Plugin

[FilterScript] Helicopter Gunner

$
0
0
Hello, this is my first topic here and I hope you guys will like it.

I made this thing a year ago for my TDM server. It is not even called "filterscript".


NOTE: You need to add #include <streamer> thing at top, if do not have.
NOTE 2: If you want to see the objects when server runs, you need to add respawn code under OnGameModeInit()

Pastebin: https://pastebin.com/GNa1MAh2

[FilterScript] Saving and Loading Vehicles

$
0
0
Saving and Loading vehicles with one command:

This is a very basic script I whipped up to make saving and loading vehicles a little easier. Saving them was already simple, but now you don't have to do anything after saving the vehicle. It will always be there unless you go into the file and remove it.

Images:








NOTE: This doesn't save the vehicles colour, as I couldn't find a working include for that. So this will mostly get updated when I find a working method.

Download:
PasteBin

[FilterScript] Money safe system (rob/save)

Viewing all 595 articles
Browse latest View live


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