if(phonenumb == 911)
{
SendClientMessage(playerid, COLOR_WHITE, "HINT: You now use T to talk on your cellphone, type /hangup to hang up");
SendClientMessage(playerid, COLOR_DBLUE, "Police HQ: Please describe the incident.");
SendClientMessage(playerid, COLOR_WHITE, "Where are you? Are you hurt? Whats happening?");
Mobile[playerid] = 911;
return 1;
}
if(Mobile[playerid] == 911)
{
if(!strlen(tmp))
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Dispatch: Sorry I don't understand?");
return 0;
}
new turner[MAX_PLAYER_NAME];
new wanted[128];
GetPlayerName(playerid, turner, sizeof(turner));
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Dispatch: We have alerted all units in the area.");
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Thank you for reporting this incident");
format(wanted, sizeof(wanted), "Dispatch: All Units IA: Caller: %s",turner);
SendTeamBeepMessage(1, TEAM_CYAN_COLOR, wanted);
SendTeamBeepMessage(2, TEAM_CYAN_COLOR, wanted);
format(wanted, sizeof(wanted), "Dispatch: Incident: %s",text);
SendTeamMessage(1, TEAM_CYAN_COLOR, wanted);
SendTeamMessage(2, TEAM_CYAN_COLOR, wanted);
new Float:trace_x, Float:trace_y, Float:trace_z;
GetPlayerPos(playerid, trace_x, trace_y, trace_z);
emdtrace = 1; emdtrace_x = trace_x; emdtrace_y = trace_y; emdtrace_z = trace_z;
SendClientMessage(playerid, COLOR_GRAD2, " They Hung Up...");
Mobile[playerid] = 255;
return 0;
}
|
Originally Posted by krisis32
wow... the one you got ther is good too.. could you send me the code?
|

