SA-MP Forums Archive
Whats wrong with this animation code? - 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: Whats wrong with this animation code? (/showthread.php?tid=564559)



Whats wrong with this animation code? - Nabster - 22.02.2015

it doesn't work

Код:
ApplyAnimation(i,"GRAFFITI","graffiti_Chkout",4.1,1,1,1,1,1,1);



Re: Whats wrong with this animation code? - Nabster - 22.02.2015

Код:
{
    	if(PInfo[i][God] == 1 || PInfo[i][pAdminDuty] == 1)
		return 1;
        GameTextForPlayer(i, "~r~ANTRHAXED!",2000,3);
        SetPlayerDrunkLevel(i,2000);
        ApplyAnimation(i,"GRAFFITI","graffiti_Chkout",4.1,1,1,1,1,1,5);
        ApplyAnimation(i,"GRAFFITI","graffiti_Chkout",4.1,1,1,1,1,1,5);
everything else works but not the animation