22.09.2012, 03:26
Hey there! I like this ravens RP command and I want it converted to ZCMD please. Any help is appreciated. Thanks!
pawn Код:
if(strcmp(cmd, "/mir", true) == 0) // By CuervO_NegrO
{
if(IsPlayerConnected(playerid))
{
if(IsACop(playerid) || IsAFreecop(playerid))
{
if(PlayerInfo[playerid][pDuty] == 1)
{
format(string, sizeof(string),"%s reads out the Miranda Rights:",sendername);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
ProxDetector(30.0, playerid, "You have the right to remain silent, anything you say or do can and will be held against you in a court of law", COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
ProxDetector(30.0, playerid, "You have the right to an attorney, If you cannot afford an attorney, one will be provided for you", COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
ProxDetector(30.0, playerid, "You have the right to a Phone Call, but only ONE. Do you understand these rights I have just read to you?", COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
}
}
}
return 1;
}