Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GUIEditor = {
- button = {},
- window = {}
- }
- addEventHandler("onClientResourceStart", resourceRoot,
- function()
- window[1] = guiCreateWindow(838, 223, 414, 361, "Przebieralnia PSP", false)
- guiWindowSetSizable(window[1], false)
- guiSetProperty(window[1], "CaptionColour", "FF677DEC")
- button[1] = guiCreateButton(18, 43, 141, 56, "Koszarowy", false, window[1])
- button[2] = guiCreateButton(18, 109, 141, 56, "Bojowy", false, window[1])
- button[3] = guiCreateButton(18, 175, 141, 56, "Bojowy AODO", false, window[1])
- button[4] = guiCreateButton(194, 109, 141, 56, "Ratownik Medyczny", false, window[1])
- button[5] = guiCreateButton(194, 43, 141, 56, "Lekarz", false, window[1])
- button[6] = guiCreateButton(194, 175, 141, 56, "Zwykly", false, window[1])
- end
- )
- marker =createMarker(-2995.099609375, 478.7001953125, 3.9000000953674,"cylinder",1)
- function skin1 ()
- setElementModel(localPlayer, 276)
- outputChatBox("* Strój Bojowy "..getElementModel(localPlayer)..".")
- end
- addEventHandler ("onClientGUIClick", button[1], skin1)
- function skin2 ()
- setElementModel(localPlayer, 277)
- outputChatBox("* Strój Bojowy "..getElementModel(localPlayer)..".")
- end
- addEventHandler ("onClientGUIClick", button[2], skin2)
- function skin3 ()
- setElementModel(localPlayer, 278)
- outputChatBox("* Strój Bojowy AODO "..getElementModel(localPlayer)..".")
- end
- addEventHandler ("onClientGUIClick", button[3], skin3)
- function skin4 ()
- setElementModel(localPlayer, 274)
- outputChatBox("* Strój Ratownika "..getElementModel(localPlayer)..".")
- end
- addEventHandler ("", button[4], skin4)
- function skin5 ()
- setElementModel(localPlayer, 275)
- outputChatBox("* Lekarz Pogotowia "..getElementModel(localPlayer)..".")
- end
- addEventHandler ("onClientGUIClick", button[5], skin5)
- function skin6 ()
- setElementModel(localPlayer, 170)
- outputChatBox("* Zwykly "..getElementModel(localPlayer)..".")
- end
- addEventHandler ("onClientGUIClick", button[6], skin6)
Advertisement
Add Comment
Please, Sign In to add comment