SA-MP Forums Archive
I want a anti-db filterscript - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I want a anti-db filterscript (/showthread.php?tid=498687)



I want a anti-db filterscript - TheLastShadow - 04.03.2014

I want a anti-db filterscript that takes the player's weapons when enter in car, and take him back when he exit from car. Please help me.


Re : I want a anti-db filterscript - Matnix - 04.03.2014

Easy, give him a weapons (id:0) when he enter in a vehicle.


Re: I want a anti-db filterscript - TheLastShadow - 07.03.2014

Ok, but how do i make this.. and apear a message I take your gun.(when enter in car) and i give back you gun (when exit from the car).


Re: I want a anti-db filterscript - Chrillzen - 07.03.2014

When the player is a driver or passanger? And what weapons?


Re: I want a anti-db filterscript - TheLastShadow - 08.03.2014

Resolved
pawn Код:
if(newstate==PLAYER_STATE_DRIVER)
{
    SetPlayerArmedWeapon(playerid, 0);
    SendClientMessage(playerid, -1, "I take weapons.");
}