Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Created by Makaveli
- #include <a_samp>
- #include <zcmd>
- #define COLOR_GREEN 0x008000FF
- public OnFilterScriptInit()
- {
- print("Pee pee!");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- main()
- {
- print("Pee pee!");
- }
- public OnPlayerSpawn(playerid)
- {
- SetPVarInt(playerid, "pissing", 0);
- PreloadAnimLib(playerid, "PAULNMAC");
- SendClientMessage(playerid, COLOR_GREEN, "Type /piss");
- return 1;
- }
- CMD:piss(playerid, params[])
- {
- if(GetPVarInt(playerid, "pissing") == 0)
- {
- ApplyAnimation(playerid,"PAULNMAC","Piss_loop",3.0,1,1,0,0,0);
- SetPlayerAttachedObject(playerid,0,18676,1,-1.900000,0.300000,0.000000,148.199584,90.099914,-55.199981,1.000000,-9.899993,1.000000);
- SetPVarInt(playerid, "pissing", 1);
- }
- else
- {
- RemovePlayerAttachedObject(playerid,0);
- ClearAnimations(playerid);
- SetPVarInt(playerid, "pissing", 0);
- }
- return 1;
- }
- stock PreloadAnimLib(playerid, animlib[])
- {
- ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement