Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: wysylalo
1. co zrobic, by wysylalo pm do druhow osp po uruchomieniu syre
Czesc, mam taki problem, nie wiem co zrobic, by wysylalo pm do druhow osp po uruchomieniu syreny alarmowej, w sensie uruchamia dyspozytor i przychodzi /pm do druhow o tym powiadomienie.

KOD:
[spoiler][lua]marker = createMarker (-2332.94, -149.42, 40.90-1, "cylinder", 1, 0, 100, 255)

mojeW,mojeH = 640, 480
sW,sH = guiGetScreenSize()
width, height = (sW/mojeW), (sH/mojeH)

GUIEditor = {
button = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
monitor = guiCreateStaticImage(112*width, 68*height, 426*width, 339*height, "images/monitor.png", false)
guiSetVisible(monitor, false)
zamknij = guiCreateButton(283*width, 278*height, 119*width, 29*height, "Zamknij system", false, monitor)
alarm2 = guiCreateButton(254*width, 141*height, 119*width, 29*height, "Alarm PSP", false, monitor)
-- monitoring = guiCreateLabel(21*width, 25*height, 203*width, 33*height, "PSP:", false, monitor)
guiSetFont(monitoring, "sa-header")
guiLabelSetColor(monitoring, 0, 0, 0)
guiLabelSetHorizontalAlign(monitoring, "left", true)
--[[ kamera2 = guiCreateButton(24*width, 102*height, 119*width, 29*height, "Gara? 2", false, monitor)
kamera3 = guiCreateButton(24*width, 141*height, 119*width, 29*height, "Gara? 3", false, monitor)
kamera4 = guiCreateButton(24*width, 180*height, 119*wid...