Normal cmds not working all of a sudden (getting 2 old for this)
#2

Use ZCMD.

pawn Код:
#include <ZCMD>


CMD:pee(playerid, params[])
{
    SetPlayerSpecialAction(playerid, 68);
    return 1;
}

CMD:smoke(playerid, params[])
{
    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY);
    SendClientMessage(playerid, 0xFFFF00AA, "To smoke, use the left mouse buttom.");
    return 1;
}

CMD:handsup(playerid, params[])
{
    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
    SendClientMessage(playerid, 0xFFFF00AA, "Presh enter to stop the annim");
    return 1;
}

CMD:drink(playerid, params[]_
{
    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER);
    SendClientMessage(playerid, 0xFFFF00AA, "To Drink, use the left mouse buttom");
    return 1;
}

CMD:dance(playerid, params[])
{
    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
    return 1;
}

CMD:anims(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFFF, ".::Anims List::.");
    SendClientMessage(playerid, 0xFFFFFFFF, "/pee, /smoke, /handsup, /drink, /dance");
    return 1;
}

CMD:rules(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFFF, ".::Rules::.");
    SendClientMessage(playerid, 0xFFFFFFFF, "#1.Keep Profane Language to a Minimum.");
    SendClientMessage(playerid, 0xFFFFFFFF, "#2.No Spamming or Adverts.");
    SendClientMessage(playerid, 0xFFFFFFFF, "#3.No intentional spawnkilling.");
    SendClientMessage(playerid, 0xFFFFFFFF, "#4.Do not bother people who do not want to be bothered.");
    SendClientMessage(playerid, 0xFFFFFFFF, "#5.Please report anything you see via /report [id] (reason) or use the forums.");
    SendClientMessage(playerid, 0xFFFFFFFF, "#6.Please check /help  & /help2 before approaching an admin for help.");
    SendClientMessage(playerid, 0xFFFFFFFF, "#7.Don't ask anyone for admin or money, PERIOD!!");
    SendClientMessage(playerid, 0xFFFFFFFF, "#8.Do not hack, cheat, or use third party mods that affect multiplayer gameplay.");
    SendClientMessage(playerid, 0xFFFFFFFF, "#9.Please respect all admins and PCRP Members and what they ask of you.");
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)