09.07.2012, 20:46
When I call 911 its not sending information to the PD.
Instead its giving it to me

Instead its giving it to me
Код:
// 911
if(Calling[playerid] && Call911[playerid])
{
if(Call911[playerid] == 1)
{
format(D911[playerid], 12, "%s", text);
Call911[playerid] = 2;
SendClientMessage(playerid, COLOR_YELLOW, "[Cellphone]: Where are u ?");
}
else if(Call911[playerid] == 2)
{
Call911[playerid] = 0;
Calling[playerid] = 0;
SendClientMessage(playerid, COLOR_YELLOW, "[Cellphone]: Okay , Keep calm , our unit will come son");
SendClientMessage(Caller[playerid], COLOR_ORANGE, " They hung up.");
format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}We received your call from phone %d (( /track %d ))", PlayerInfo[playerid][pCellphone], playerid);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "{2641FE}Emergency: {FFFFFF}%s", D911[playerid]);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "{2641FE}Location: {FFFFFF}%s", text);
SendClientMessage(playerid, COLOR_WHITE, string);
format(D911[playerid], 128, "");
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_STOPUSECELLPHONE);
}
}


