20.02.2009, 05:04
Код:
if(Mobile[playerid] == 913) { if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_ALLDEPT, "EMERGENCY: Sorry i dont understand?"); return 0; } if ((strcmp("no", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("no"))) { new turner[MAX_PLAYER_NAME]; new wanted[128]; GetPlayerName(playerid, turner, sizeof(turner)); SendClientMessage(playerid, COLOR_DBLUE, "Police HQ: We have alerted all units in the area."); SendClientMessage(playerid, COLOR_DBLUE, "Thank you for reporting this crime"); format(wanted, sizeof(wanted), "HQ: All Units APB: Reporter: %s",turner); SendCopMessage(COLOR_DBLUE, wanted); format(wanted, sizeof(wanted), "HQ: Crime: %s, Suspect: Unknown",PlayerCrime[playerid][pAccusing]); SendCopMessage(COLOR_DBLUE, wanted); SendClientMessage(playerid, COLOR_GRAD2, " They Hung Up..."); Mobile[playerid] = 255; return 0; }