cmd
hone(playerid){
new hour, minute,
day, month, year;
gettime(hour, minute);
getdate(year, month, day);
if(GetPVarInt(playerid, "Phone_open") == 0){
SendPacket_1(playerid, s_CefInterface, t_CefShow, "Phone");
STRING_GLOBAL[0] = EOS;
format(STRING_GLOBAL, sizeof STRING_GLOBAL, "interface('Phone').showPhone('[\"%d:%02d\",\"%d %s\",100,1]')",hour,minute, day,GetMonthName(month));
SendPacket_1(playerid, s_CefInterface, t_CefUpdate, STRING_GLOBAL);
SendPacket_1(playerid, s_CefInterface, t_CefUpdate, "interface('Phone').addContact('[[\"Áîëüíèöà\",3,-1,1],[\"Ïîëèöèÿ\",2,-1,1],[\"ÔÑÈÍ\",101,-1,1],[\"Òàêñè\",535,-1,1],[\"Ìåõàíèêè\",90,-1,1],[\"Âðåìÿ\",60,-1,1],[\"Áàëàíñ\",111,-1,1]]')");
SendPacket_1(playerid, s_CefInterface, t_CefUpdate, "client.setCursorStatus(true)");
SetTimerEx("UpdatePhoneTimer", 1000, true, "i", playerid);
SetPVarInt(playerid, "Phone_open", 1);
SCM(playerid, 0xFAAC58FF, "{FFA500}×òîáû ñêðûòü {FFA500}/{FFA500} ïîêàçàòü êóðñîð, èñïîëüçóéòå ALT; ÷òîáû ñêðûòü òåëåôîí, íàæìèòå ñòðåëî÷êó âíèç");
}else{
SetPVarInt(playerid, "Phone_open", 0);
callcmd
honehide(playerid);
KillTimer(timecarsh[playerid]);
}
}