HELP UsedPlayerPedAnims - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: HELP UsedPlayerPedAnims (
/showthread.php?tid=200724)
HELP UsedPlayerPedAnims -
IndoScripter - 19.12.2010
Can Someone HELP? I Need My Player ingame Use Swat Style When Holding Guns?
Can someone Make it?
Re: HELP UsedPlayerPedAnims -
akis_tze - 19.12.2010
Try This:
Код:
public OnPlayerUpdate(playerid)
{
new HoldGun[MAX_PLAYERS];
new weap = GetPlayerWeapon(playerid);
if (weap > 1 && HoldGun[playerid] == 0)
{
//Set Your Swat Style here
HoldGun[playerid] = 1;
}
else
{
//Set The Your Normal Style here
HoldGun[playerid] = 0;
}
return 1;
}
Re: HELP UsedPlayerPedAnims -
Mean - 19.12.2010
There is no "Swat Style" in SA-MP, there is CJ running style and normal running style. Don't know what are you exactly asking.
Re: HELP UsedPlayerPedAnims -
boelie - 19.12.2010
i think he wants the player to have the swat animations when holding a gun
Re: HELP UsedPlayerPedAnims -
Mean - 19.12.2010
What kind of SWAT animations? I don't understand.
Re: HELP UsedPlayerPedAnims -
IndoScripter - 25.12.2010
so they hold guns like swat do
Re: HELP UsedPlayerPedAnims -
propilot - 25.12.2010
oh the one that seif had in his anim
/copgun when you can hold your gun down on the ground and walk.
I think that what he wants