Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // NaGaz0000r Animations System v1.0 //
- // 20 Animations - in v2.0 will be more! //
- // Do not remove the Credits! //
- // Created for WwW.Sa-Mp.Ro //
- // Regards! //
- #include <a_samp>
- #include <sscanf>
- #include <zcmd>
- #define SCM SendClientMessage
- #define SPECIAL_ACTION_PISSING 2
- #define SPECIAL_ACTION_HANDSUP 3
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" NaGaz000r Animations FilterScript System v1.0");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- // Don't use these lines if it's a filterscript
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SCM(playerid,0xFF0000FF,"==============================================");
- SCM(playerid,0xFF0000FF,"Acest server foloses-te NAnims v1.0!");
- SCM(playerid,0xFF0000FF,"Pentru a vedea animatiile folositi /nanims");
- SCM(playerid,0xFF0000FF,"==============================================");
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/mycommand", cmdtext, true, 10) == 0)
- {
- // Do something here
- return 1;
- }
- return 0;
- }
- CMD:nanims(playerid,params[])
- {
- new astring[500];
- format(astring,sizeof(astring),"{FF9900}1.nkiss\n\
- 2.{FF9900}nDeal\n\
- 3.{FF9900}nDance\n\
- 4.{FF9900}nChat\n\
- 5.{FF9900}nWave\n\
- 6.{FF9900}nSlap\n\
- 7.{FF9900}nStrip\n\
- 8.{FF9900}nStrip2\n\
- 9.{FF9900}nstrip3\n\
- 10.{FF9900}nDrunked\n\
- 11.{FF9900}nLaba\n\
- 12.{FF9900}nFall\n\
- 13.{FF9900}nBslap\n\
- 14.{FF9900}nVomit\n\
- 15.{FF9900}nPee\n\
- 16.{FF9900}nLay\n\
- 17.{FF9900}nRob\n\
- 18.{FF9900}nHandsup\n\
- 19.{FF9900}nSleep\n\
- 20.{FF9900}nEat\n\
- {FF9900}Opreste Animatia");
- ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"{FF9900}NaGaz000r Animations",astring,"Okey","Cancel");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(response)
- {
- switch(dialogid)
- {
- case 1:
- {
- switch(listitem)
- {
- case 0:
- {
- ApplyAnimation(playerid,"KISSING","Grlfrd_Kiss_02",1.800001, 1, 0, 0, 1, 600);
- }
- case 1:
- {
- ApplyAnimation(playerid,"DEALER","DEALER_DEAL",4.1, 0, 1, 1, 1, 1);
- }
- case 2:
- {
- ApplyAnimation(playerid,"DANCING","dance_loop",1.800001, 1, 0, 0, 1, 600);
- }
- case 3:
- {
- ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1, 0, 1, 1, 1, 1);
- }
- case 4:
- {
- ApplyAnimation(playerid,"ON_LOOKERS","wave_loop", 4.0, 1, 0, 0, 0, 0);
- }
- case 5:
- {
- ApplyAnimation(playerid,"PED","BIKE_elbowL", 4.1, 0, 1, 1, 1, 1);
- }
- case 6:
- {
- ApplyAnimation(playerid,"STRIP","STR_Lpop_A",1.800001, 1, 0, 0, 1, 600);
- }
- case 7:
- {
- ApplyAnimation(playerid,"STRIP","STR_Lpop_B",1.800001, 1, 0, 0, 1, 600);
- }
- case 8:
- {
- ApplyAnimation(playerid,"STRIP","STR_Lpop_C",1.800001, 1, 0, 0, 1, 600);
- }
- case 9:
- {
- ApplyAnimation(playerid,"PED","WALK_DRUNK", 4.1, 0, 1, 1, 1, 1);
- }
- case 10:
- {
- ApplyAnimation(playerid,"PAULNMAC", "wank_loop", 1.800001, 1, 0, 0, 1, 600);
- }
- case 11:
- {
- ApplyAnimation(playerid,"PED","BIKE_fallR",4.1, 0, 1, 1, 1, 1);
- }
- case 12:
- {
- ApplyAnimation(playerid,"MISC","bitchslap",1.800001, 1, 0, 0, 1, 600);
- }
- case 13:
- {
- ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
- }
- case 14:
- {
- SetPlayerSpecialAction(playerid, 2);
- }
- case 15:
- {
- ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
- }
- case 16:
- {
- ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
- }
- case 17:
- {
- SetPlayerSpecialAction(playerid, 3);
- }
- case 18:
- {
- ApplyAnimation(playerid,"CRACK", "crckdeth4", 4.0, 0, 1, 1, 1, 0, 1);
- }
- case 19:
- {
- ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 1, 0, 0, 0, 0, 1);
- }
- case 20:
- {
- ClearAnimations(playerid);
- }
- }
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment