Jump to content

Anti Drive-By


QuiK

Recommended Posts

Ce este acest filterscript?

Acest filterscript da kick playerilor care fac drive-by pentru ca pe multe servere este interzis si multi fac abuz.

aici aveti codul:

[pawn]#include <a_samp>

public OnFilterScriptInit()

{

print("\n--------------------------------------");

print(" Anti Drive-By creat de QuiK");

print("--------------------------------------\n");

return 1;

}

public OnPlayerDeath(playerid, killerid, reason)

{

    new playerState = GetPlayerState(killerid);

    if (playerState == PLAYER_STATE_DRIVER)

    {

GameTextForPlayer(playerid, "Drive-By.Data viitoare vei primi ban!", 3000, 2);

Kick(playerid);

    }

    return 1;

}[/pawn]

sper sa va placa

<a href="http://www.game-state.eu/93.119.30.66:7777/"><img src="http://www.game-state.eu/93.119.30.66:7777/560x95_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>          Nume:Fizzy

Link to comment
Share on other sites

Ce este acest filterscript?

Acest filterscript da kick playerilor care fac drive-by pentru ca pe multe servere este interzis si multi fac abuz.

aici aveti codul:

[pawn]#include <a_samp>

public OnFilterScriptInit()

{

print("\n--------------------------------------");

print(" Anti Drive-By creat de QuiK");

print("--------------------------------------\n");

return 1;

}

public OnPlayerDeath(playerid, killerid, reason)

{

    new playerState = GetPlayerState(killerid);

    if (playerState == PLAYER_STATE_DRIVER)

    {

GameTextForPlayer(playerid, "Drive-By.Data viitoare vei primi ban!", 3000, 2);

Kick(playerid);

    }

    return 1;

}[/pawn]

sper sa va placa

mmm.. folositor dar simplu

4/5

Fara reclama in semnatura!

Link to comment
Share on other sites

mmm.. folositor dar simplu

4/5

Pai asta a fost ideea mea sa fie simplu dar folositor

<a href="http://www.game-state.eu/93.119.30.66:7777/"><img src="http://www.game-state.eu/93.119.30.66:7777/560x95_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>          Nume:Fizzy

Link to comment
Share on other sites

interesant

9/10

Multumesc mult

<a href="http://www.game-state.eu/93.119.30.66:7777/"><img src="http://www.game-state.eu/93.119.30.66:7777/560x95_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>          Nume:Fizzy

Link to comment
Share on other sites

Nu era mai simplu daca faceai asa ?:

[pawn]public OnPlayerKeyStateChange ( playerid , newkeys , oldkeys )

{

    if ( GetPlayerState ( playerid ) == PLAYER_STATE_DRIVER )

    {

        if ( ( newkeys & KEY_FIRE && newkeys & KEY_LOOK_LEFT ) || ( newkeys & KEY_FIRE && newkeys & KEY_LOOK_RIGHT ) return Kick ( playerid ) ;

    }

    return ( 1 ) ;

}[/pawn]

Link to comment
Share on other sites

Nu era mai simplu daca faceai asa ?:

[pawn]public OnPlayerKeyStateChange ( playerid , newkeys , oldkeys )

{

    if ( GetPlayerState ( playerid ) == PLAYER_STATE_DRIVER )

    {

        if ( ( newkeys & KEY_FIRE && newkeys & KEY_LOOK_LEFT ) || ( newkeys & KEY_FIRE && newkeys & KEY_LOOK_RIGHT ) return Kick ( playerid ) ;

    }

    return ( 1 ) ;

}[/pawn]

Sunt incepator in scripting

<a href="http://www.game-state.eu/93.119.30.66:7777/"><img src="http://www.game-state.eu/93.119.30.66:7777/560x95_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>          Nume:Fizzy

Link to comment
Share on other sites

[glow=red,2,300]Pe cat faci la pariu ca data viitoare nu o sa iau nici un ban,nu ai nici o variabila care numeroteaza numarul de db-uri.  :))[/glow]

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Link to comment
Share on other sites

  • 3 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.