SA-MP Forums Archive
/bs help - 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: /bs help (/showthread.php?tid=435251)



/bs help - biggiephil234 - 06.05.2013

Hey guys, I'm one again having trouble with commands, I'm trying to make the player do an animation(bitchslap) which i've codded but it isn't work. In game it is not saying it's an Invalid Command, Pawno recompiles with 0 errors, Here is the code
Код:
if (strcmp(cmdtext, "/bs", true) == 0)
	{
	    //Makes player do the "bitchslap" animation
	    ApplyAnimation(playerid,"PED","bitchslap",4,0,0,0, 1,0,1);
	    return 1;
 	}



Re: /bs help - Neil. - 06.05.2013

pawn Код:
ApplyAnimation(playerid,"MISC","bitchslap",4.0,0,0,0,0,0);



Re: /bs help - biggiephil234 - 06.05.2013

Quote:
Originally Posted by Neil.
Посмотреть сообщение
pawn Код:
ApplyAnimation(playerid,"MISC","bitchslap",4.0,0,0,0,0,0);
Worked, Thanks rep :3