Help in roleplay commands (Will get +rep)
#2

ZCMD:
Quote:

CMD:me(playerid, params[])
{
if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /me [action]");
new string[128];
format(string, sizeof(string), "* %s %s", GetPlayerNameEx(playerid), params);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
return 1;
}

Quote:

CMD:do(playerid, params[])
{

if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /do [action]");
else if(strlen(params) >= 100) return SendClientMessage(playerid, COLOR_GREY, "The specified message must not be longer than 99 characters in length.");
new string[128];
format(string, sizeof(string), "* %s (( %s ))", params, GetPlayerNameEx(playerid));
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
return 1;
}

Quote:

CMD:b(playerid, params[])
{
if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /b [local ooc chat]");
new string[128];
format(string, sizeof(string), "%s says: (( %s ))", GetPlayerNameEx(playerid), params);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_F ADE4,COLOR_FADE5);
return 1;
}

Enjoy!
Reply


Messages In This Thread
Help in roleplay commands (Will get +rep) - by xxRichixx - 19.11.2013, 15:59
Re: Help in roleplay commands (Will get +rep) - by BarFix - 19.11.2013, 16:03
Re: Help in roleplay commands (Will get +rep) - by Krakuski - 19.11.2013, 16:56
Re: Help in roleplay commands (Will get +rep) - by xxRichixx - 20.11.2013, 06:07
Re: Help in roleplay commands (Will get +rep) - by xxRichixx - 20.11.2013, 06:16

Forum Jump:


Users browsing this thread: 2 Guest(s)