[FilterScript] [FS]Simple Anti Driveby Script With Menu
#1

*Updated*
Script Version 2.0:
Dialog Based.
Forgot About any update so Today , i was bored thought of making it into dialog.
Features for this Update:-
HTML Code:
Let him go
Death Penalty
$7500 fine*  // * now customisable at top of script. see DB_FINE in script
Drop from sky
Blow up
Take 70% health
-> Rewrited from Basic Script.
-> Added a feature for warning for Vehicles like ; Hunter , Rustler , Sea sparrow , Rhino.
->This warning System is Customizable Default 5 warnings . See MAX_EXCEPTIONS in script


Script was Compiled with 0.3e Server package so might cause error to previous verions [ unsure ]
Download
CLICK HERE
================================================== =================================
Script Version 1.0:
Menu Based
Just few weeks ago.I Made simple menu for anti driveby.
I got a request to make it in filterscript from one of my friend so i thought of releasing it ON SA-Mp Forums
~~Simple Features~~
-When the killer kills player in driveseat
-The killed player get a menu containing of following menu items

___________________________
Code:
	
   
//removed jail functions
 Let him go
 Death Penalty
  $7500 fine
  Drop from sky
  Blow up
  Take 70% health
___________________________
Just Download It And enjoy [Download Link (here) ]
AGain report any Bugs , this script is not full tested , so please.
++Any Bug++
Since Its a simple script. so there is no chance of bug [Script is fully clean and no warning & bugs]
But Still If It not Works Please Report.


Updates*
*Upcoming versions Not Decided
Mods please rename topic to "[FS] Anti Driveby Script 2.0 * With Dialog Support now."
Reply
#2

awsome, I will use it for my server! Thank you
Reply
#3

cool Thanks man
Reply
#4

Very useful
Reply
#5

thanks guys
remeber please report any bug if found
And I Suggest to put all functions into gamemode.
Reply
#6

Code:
OnPlayerStateChange(playerid, newstate, oldstate) {
    if(newstate == PLAYER_STATE_DRIVER) {
        SetPlayerArmedWeapon(playerid, 0);
    }
    return 1;
}
Reply
#7

Nic work keep it up
Reply
#8

Nice work but how is it menu?
Reply
#9

:_
When player Dies It showes menu to playerid adn the responses he gave will occur on killerid
Like if player choose Drop from sky.It Will drop killer from sky who had made driveby :P
Simple And Easy
Reply
#10

Quote:
Originally Posted by whitetigerswt
View Post
Code:
OnPlayerStateChange(playerid, newstate, oldstate) {
    if(newstate == PLAYER_STATE_DRIVER) {
        SetPlayerArmedWeapon(playerid, 0);
    }
    return 1;
}
Not really that code is basic , and what if a Server wants to allow alteast DB to shoot on Cars to blowthem up , or make the player inside car get our of it etc..

================================================== =================================================

*BUMP*


Script Updated to Version 2.0 , Dialog based and new features]
See First Post for Info
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)