02.12.2009, 18:49
Quote:
Originally Posted by KfirRP
How can i make /animlist, and /crack, /handsup, /fall and other anims? can somebody give me LINK to a topic with codes? and where to put the anims in my script. Thanks!
|
Here's some examples from my TClan server script :
pawn Код:
if(strcmp(cmdtext, "/animlist", true)==0 || strcmp(cmdtext, "/anims", true) == 0)
{
SendClientMessage(playerid,COLOR_PURPLE, ".........:::: Animations Help ::::........");
SendClientMessage(playerid,COLOR_WHITE, "/handsup /drunk /gangwalk /wave /sit /sleep");
SendClientMessage(playerid,COLOR_WHITE, "/pedal /smoke /gsign /celebrate /fucku /bomb");
SendClientMessage(playerid,COLOR_WHITE, "/laugh /rap /rap1-5 /robman /angry /riot1-5");
SendClientMessage(playerid,COLOR_PURPLE, ".........:::: Animations Help ::::........");
return 1;
}
You can also make anims, make a similar command to the one below and just change the anim style (you can find animation styles at SAMP WIKI Anims section )
Here's one example from one of my scripts as well :
pawn Код:
if(strcmp(cmdtext, "/handsup", true) == 0) {
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
return 1;
}