SA-MP Forums Archive
[FilterScript] UsedPlayerAnims - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] UsedPlayerAnims (/showthread.php?tid=208044)



UsedPlayerAnims - IndoScripter - 07.01.2011

Код:
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;
}
//set your swat style here

What should i do at //set your swat style here

I am trying to make my players using swat style holding guns, not like CJ.

so how do i change it?


Re: UsedPlayerAnims - Geso - 07.01.2011

Wrong section, try again in the Scripting Discussion forum.