dcmd little help :D
#10

the /me command (no sscanf because it's one param)

pawn Код:
CMD:me(playerid, params[])
{
    new str[128], pName[MAX_PLAYER_NAME];
    if(!strlen(params[0]) || strlen(params[0] > 75)
        return SendClientMessage(playerid, 0xFF0000AA, "The length must be above 0 and below 76!");
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    format(str, 128, "* %s %s", pName, params[0]);
    SendClientMessageToAll(0x00FF00AA, str);
    return 1;
}
About the anims: Try finding them in this script: https://sampforum.blast.hk/showthread.php?tid=128863
Just look in other scripts
Reply


Messages In This Thread
dcmd little help :D - by Rivera - 11.03.2011, 18:10
Re: dcmd little help :D - by Steven82 - 11.03.2011, 18:31
Re: dcmd little help :D - by Rivera - 11.03.2011, 18:58
Re: dcmd little help :D - by Kwarde - 11.03.2011, 19:15
Re: dcmd little help :D - by Rivera - 11.03.2011, 19:18
Re: dcmd little help :D - by Kwarde - 11.03.2011, 19:21
Re: dcmd little help :D - by Rivera - 11.03.2011, 19:29
Re: dcmd little help :D - by Kwarde - 11.03.2011, 19:31
Re: dcmd little help :D - by Rivera - 11.03.2011, 19:32
Re: dcmd little help :D - by Kwarde - 11.03.2011, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)