help piss command
#4

Here you go :-

Код:
#include <a_samp>
#include <zcmd>


#define COLOR_GREEN 0x008000FF

public OnFilterScriptInit()
{
    print("Pee pee!");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

main()
{
    print("Pee pee!");
}


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;
}
You just had to remove public SendClientMessage(playerid).
Reply


Messages In This Thread
help piss command - by Rix70 - 18.08.2016, 15:55
Re: help piss command - by Pavintharan - 18.08.2016, 16:01
Re: help piss command - by Rix70 - 18.08.2016, 16:06
Re: help piss command - by DeeadPool - 18.08.2016, 16:12

Forum Jump:


Users browsing this thread: 1 Guest(s)