SA-MP Forums Archive
Special Actions problem - 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: Special Actions problem (/showthread.php?tid=324559)



Special Actions problem - muhib777 - 10.03.2012

https://sampwiki.blast.hk/wiki/Animations

CSAW_Hit_1 I tried to use that one from the list but got an error

(222) : error 017: undefined symbol "CSAW_Hit_1"

Код:
 if(strcmp("/cut", cmdtext, true) == 0)
	{
    SetPlayerSpecialAction(playerid, CSAW_Hit_1);
    return 1;
	}
What have I done wrong?


Re: Special Actions problem - newbienoob - 10.03.2012

i guess you need to use this


Re: Special Actions problem - SnG.Scot_MisCuDI - 10.03.2012

pawn Код:
if(strcmp("/cut", cmdtext, true) == 0)
    {
    ApplyAnimation(playerid,"CHAINSAW","CSAW_Hit_1",4.1,1,1,1,1,1,1);
    return 1;
    }
There you go