Position Jail - 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: Position Jail (
/showthread.php?tid=546118)
Position Jail -
Cjay123 - 13.11.2014
Anyone can make me a auto jail if the players has shoot a position or object
Re: Position Jail -
Banana_Ghost - 13.11.2014
Use this callback below to detect if a player has shot a weapon (It only works with lag compensation on).
If you need any more help, feel free to contact me.
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
return 1;
}