Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT
- #define SPECIAL_ACTION_PISSING 68
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #include <a_samp>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Animation CMD's by Hiukuss Loaded");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Animation CMD's by Hiukuss Unloaded");
- print("----------------------------------\n");
- }
- #endif
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(!strcmp(cmdtext, "/handsup"))
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
- return 1;
- }
- if(!strcmp(cmdtext, "/dance1"))
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
- return 1;
- }
- if(!strcmp(cmdtext, "/dance2"))
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
- return 1;
- }
- if(!strcmp(cmdtext, "/dance3"))
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
- return 1;
- }
- if(!strcmp(cmdtext, "/dance4"))
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE4);
- return 1;
- }
- if(!strcmp(cmdtext, "/smokecig"))
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SMOKE_CIGGY);
- SendClientMessage(playerid, COLOR_RED, "Press LMB to smoke it!");
- return 1;
- }
- if(!strcmp(cmdtext, "/piss"))
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_PISSING);
- SendClientMessage(playerid, COLOR_YELLOW, "Ewww, gross!");
- return 1;
- }
- if(!strcmp(cmdtext, "/drinkbeer"))
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
- SendClientMessage(playerid, COLOR_RED, "Press LMB to drink it!");
- return 1;
- }
- if(!strcmp(cmdtext, "/drinkwine"))
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_WINE);
- SendClientMessage(playerid, COLOR_RED, "Press LMB to drink it!");
- return 1;
- }
- if(!strcmp(cmdtext, "/drinksoda"))
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_SPRUNK );
- SendClientMessage(playerid, COLOR_RED, "Press LMB to drink it!");
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment