Disable drive by, but passenger can shoot? - 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: Disable drive by, but passenger can shoot? (
/showthread.php?tid=427532)
Disable drive by, but passenger can shoot? -
elitesae - 02.04.2013
I disabled drive by, but i wanna let the passenger shoot please help
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_PASSENGER || newstate == PLAYER_STATE_DRIVER) SetPlayerArmedWeapon(playerid, 0);
return 1;
}
Re: Disable drive by, but passenger can shoot? -
JaKe Elite - 02.04.2013
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER) SetPlayerArmedWeapon(playerid, 0);
return 1;
}
Re: Disable drive by, but passenger can shoot? -
elitesae - 02.04.2013
gotta love ya
Re: Disable drive by, but passenger can shoot? -
supergirlpenetrator - 28.07.2013
Quote:
Originally Posted by _Jake_
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER) SetPlayerArmedWeapon(playerid, 0); return 1; }
|
your such a f* high roller lol.
thanks <3
Re: Disable drive by, but passenger can shoot? -
MellowHammer - 28.07.2013
You both really need to learn scripting. Honest.