[FilterScript] Anti Drive-By
#1

WHAT IS THIS?
This is a filterscript in which players kicked when drive-by because in many servers drive-by is not allowed
WHAT I NEED?
You need one include a_samp this include you already have when installed pawno
How can i download this
Don't worry you can download this. http://pastebin.com/YBQCH64R
ENJOY!
Reply
#2

This is a sh*t seriously .
1)This isn't a FS (my own view)
2)GameTextForPlayer does not appear because you used Kick .. You must use a timer for kick if you wanna the text to appear
3)Wasn't necessary to create a new variable
Код:
new playerState = GetPlayerState(killerid);
All what you done was a new line
I don't wanna be rude , but , i guess i'm right
Reply
#3

Pretty shit, wanna see my anti driveby?

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
        SetPlayerArmedWeapon(playerid, 0);
    }
    return 1;
}
And this works.
Reply
#4

Quote:
Originally Posted by LaGrande
Посмотреть сообщение
Pretty shit, wanna see my anti driveby?

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
        SetPlayerArmedWeapon(playerid, 0);
    }
    return 1;
}
And this works.
Agreed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)