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: psp
1. [MODEL] Drabina dla PSP
Witam. Nic dodać nic ująć, korzystajcie do woli! Zezwala się na edycje
Model znaleziony na dysku przygotowywany przez mojego kumpla który zezwolił na publikacje ponieważ nie znajdziemy jego zastosowania a wiem że są osoby którym może się przydać.

Wykonanie: wiesiakos

SS: https://imgur.com/a/vLDX7sM

Ukryta wiadomość / Hidden message(aby ją zobaczyć musisz postawić użytkownikowi)
Wiadomość została ukryta, aby ją przeczytać należy się zalogować.
2. [MODEL] Wóz gaśniczy dla PSP
Witam. Nic dodać nic ująć, korzystajcie do woli! Zezwala się na edycje
Model znaleziony na dysku przygotowywany przez mojego kumpla który zezwolił na publikacje ponieważ nie znajdziemy jego zastosowania a wiem że są osoby którym może się przydać. Model posiada dwie wersje z dwoma oznaczeniami dla PSP oraz szkoły strażackiej, jeden z nich jest w wersji leśnika ze specjalną klatką.

Wykonanie: wiesiakos

SS: https://imgur.com/a/QxFpDwT

Ukryta wiadomość / Hidden message(aby ją zobaczyć musisz postawić użytkownikowi)
Wiadomość została ukryta, aby ją przeczytać należy się zalogować.
3. Schowek PSP
Mam taki problem mam gui a w nim przyciski jak klikam jakiś to nie chce mi dać broni

addEventHandler ( "onClientGUIClick", button2 , function(button )
if button == "left" then
giveWeapon(localPlayer, 9, 999, true)
end
end)

wyżej kod oczywiście jest większy ale to jest na jeden przycisk
4. Dzwonki dla PSP
Witam zapisałem skrypt na alarmowanie na serwerze dla PSP. Jednak problem jest taki że po wciśnięciu zbindowanego klawisza nic się nie dzieje. W debugu też nie pokazuje żadnych błędów. Za pomoc klasycznie :piwo: i respekt

Po stronie clienta
Kod:


addEvent("playSyrena_c", true)
addEventHandler("playSyrena_c", getRootElement(), function()
local syrena = playSound3D("pik.wav", -1846.80, 124.15, 16.12, true)
setSoundMaxDistance(syrena, 50)
setTimer(stopSound, 2*6000, 2, syrena)
end)

Po stornie serwera
Kod:


kategoria_animacji = "CRIB"
animacja = "CRIB_Use_Switch"
function isPlayerInFaction(plr)
local sid=getElementData(plr,'player:sid')
if not sid then return end

local result=exports['pystories-db']:dbGet('SELECT 1 FROM pystories_factions WHERE code=? AND sid=? LIMIT 1;', "SAFD", sid)
if result[1] then
return true
else
return false
end
end

marker = createMarker(-1840.81, 111.80, 15.12-0.9, "cylinder", 1, 255, 0, 0, 50)


function alarm (plr)
if isElementWithinMarker(plr, marker) and getElementData(hitElement,"player:duty") == "SAFD" then
triggerClientEvent("playSyrena_c", getRootElement())
end
end
addEventHandler("onPlayerJoin",root,function()
bindKey(source,"h","down",alarm)
end)
[/quote]
5. [MODEL] SLOp dla KG PSP (lp)
SPECJALISTYCZNY LEKKI OPERACYJNY DLA KOMENDY G??WNEJ PA?STWOWEJ STRA?Y PO?ARNEJ W WERSJI LOW POLY.

Wystawiam dla was model kt?ry wykona?em 5 lat temu dla serwera kt?ry nie wystartowa?. FBI Rancher jest wykonany pod wariant wi?c aby uzyska? belk? oraz oznaczenia stra?ackie nale?y wybra? inny wariant pojazdu.

SS: https://imgur.com/a/pVY6pg1

Ukryta wiadomość / Hidden message(aby ją zobaczyć musisz postawić użytkownikowi)
Wiadomość została ukryta, aby ją przeczytać należy się zalogować.
6. [MODEL] Baru, Koszar PSP, urzędu
Witam, w dniu dzisiejszym udost?pniam modele Pana szeregowego, kt?ry pr?buje kogo? oszuka?, ale niestety nie udaje mu si? to, ?ycz? ka?demu mi?ej gry na tych modelach. Dodam jeszcze, ?e modele by?y robione na m?j serwer (Polish Rescue Stories).


Autor: szeregowy


ss:


Ukryta wiadomość / Hidden message(aby ją zobaczyć musisz postawić użytkownikowi)
Wiadomość została ukryta, aby ją przeczytać należy się zalogować.
7. Model parawanu dla PSP
Witam,
Poszukuje modelu parawanu dla PSP.
8. Nie działa schowek PSP
Cze??, mam problem ze schowkiem PSP gdy zabior? ga?nice to dostaje j?, ale gdy chce zabra? skokoschorn lub drabin? pokazuje si? tylko na chacie Kalinka zabra? drabin? ze schowka, ale nic w r?ce nie mam ani nie pokazuje si?, ?e zabra?em drabin?.
9. bramy PSP
Witam. Przychodz? z takim problemem. Ot?? mam skrypt na bramy no i on wygl?da tak:

[lua]function isPlayerInFaction(plr)
local uid=getElementData(plr,'player:uid')
if not uid then return end

local result=exports['tiyl-db']:dbGet('SELECT 1 FROM tiyl_sluzby WHERE code=? AND uid=? LIMIT 1;', "SAFD", uid)
if result[1] then
return true
else
return false
end
end


bm = createMarker(2862.73,2126.76,10.82-0.9, "cylinder", 1, 255, 255, 255, 30) -- gdzie ma byc marker w ktorym bedzie sie scrollowac

d = createObject (11313, 2860.7998046875,2127.2998046875,11.80000019073,0,0,-90 ) -- podajesz koordy obiektu
local kategoria_animacji = "CRIB"
local animacja = "CRIB_Use_Switch"

function od ( thePlayer)
if isElementWithinMarker(thePlayer, bm) then
if isPlayerInFaction(el) then
moveObject ( d,5000 ,2860.7998046875,2127.2998046875,11.800000190735+3 ) -- Koordy otwartych drzwi
setTimer(setPedAnimation, 1066.66, 1, thePlayer)
setPedAnimation(thePlayer,kategoria_animacji,animacja,true,false,false)
end
end
end

function zd ( thePlayer)
if isElementWithinMarker(thePlayer, bm) then
if isPlayerInFaction(el) then
moveObject ( d, 5000 ,2860.7998046875,2127.2998046875,11.80000019073 ) -- koordy zamknietych drzwi
setTimer(setPedAnimation, 1066.66, 1, thePlayer)
setPedAnimation(thePlayer,kategoria_animacji,anim...
10. Syrena PSP,OSP
Problem polega na tym, ze jak wgrywam dwie te same syreny dwa te same skrypty ze np marker w 1 skrypcie jest w LV a w drugim skrypcie jest BB to wyswietlaja sie dwa panele, ze i z tego skryptu i z tego
Blad w DB3: Dziwne, przedchwila pokazywalo w DB3 blad, tera nie wykrywa bledu choc jest, ale pamietam co pisalo ze AddEventHandler showGUI cos tam, tutaj daje kodzik: [lua]-- Pierwotny w?‚a?›ciciel i twĂłrca kodu: AmaMa
-- Zakaz uĹĽywania / edycji kodu bez wcze?›niejszej zgody ze strony w?‚a?›ciciela
-- Zakaz wykorzystywania ca?‚ego lub fragmentĂłw kodu
-- W przypadku z?‚amania powyzszych zasad sprawa zostanie skierowana do s?…du pod zaĹĽutem: Naruszenia maj?…tkowych praw autorskich
-- Pierwotnie pe?‚ne prawo do uĹĽywania tego kodu posiada tylko AmaMa
mojeW,mojeH = 1360,768
sW,sH = guiGetScreenSize()
width, height = (sW/mojeW), (sH/mojeH)

local wm1={
button={},
}

function gui()
exports["buttons"]:createCustomWindow("Panel alarmowania", 442*width, 138*height, 493*width, 443*height, tocolor(255, 255, 255, 255), false)
exports["buttons"]:createCustomText2("Pami?™taj, ĹĽe naduĹĽywanie syreny b?™dzie karane!", 675*width,455*height,693*width,55*height, tocolor(255, 0, 0, 255), 71, "default", "center", "center", false, false, false, false, false)
end


wm1.button[1]=guiCreateButton(0.42, 0.39, 0.18, 0.08, "Syrena OSP&...
11. Bramy PSP
Witam. Mam model http://gtao.pl/%3Cfont-co...ro-vt110622.htm i nie wiem jak zrobic zeby otwieraly sie bramy.
Je?li b?d? potrzebne kody to prosz? pisa?.
12. Jak napisać skrypt schowek psp
Witam jak napisa? skrypt na schowek dla psp kt?ry ma np norzyce deske i lini? z tylu kt?ra ci?gnie w?? i ?eby nie dawa?a ca?emu serwerowi tego i ?eby by?o do?? czytelne
Oraz pe?en skrypt czyli server i client
13. Podmianki PSP EMS
Witam poszukuje osoby kt?ra potrafi odkodowac podmianki emsa a dok?adnie do PSP. Chodzi mi wszystkie skiny do postaci i pojazdy
14. Nie działający schowek PSP !
Witam chcia?em odda? do schowka aodo gdy doda?em schowek przesta? dzia?a?

c.lua
[lua]local screenSize = Vector2(guiGetScreenSize())
local ticks = {alphaTick = getTickCount(), animTick = getTickCount(), vehicle = nil}

local function isMouseInPosition(x, y, width, height)
if not isCursorShowing() then return false end

local cursor = {getCursorPosition()}
local cx, cy = (cursor[1]*screenSize.x), (cursor[2]*screenSize.y)
if (cx >= x and cx <= x + width) and (cy >= y and cy <= y + height) then return true else return false end
end

function isEventHandlerAdded(sEventName, pElementAttachedTo, func)
if type(sEventName) == 'string' and isElement(pElementAttachedTo) and type(func) == 'function' then
local aAttachedFunctions = getEventHandlers(sEventName, pElementAttachedTo)
if type(aAttachedFunctions) == 'table' and #aAttachedFunctions > 0 then for i, v in ipairs(aAttachedFunctions) do if v == func then return true end end end
end return false
end

local function scaleElement(sx, sy)
return (screenSize.x - sx)/2, (screenSize.y - sy)/2
end

local icon_x, icon_y = scaleElement(128, 128)
local function drawGUI()
local up = interpolateBetween(100, 0, 0, 0, 0, 0, (getTickCount()-ticks.animTick)/2000, "OutBack")

if anim == "fadein" then
progress = (getTickCount()-ticks.alphaTick)/1000
alpha = interpolateBetween(alpha, 0, 0, 255, 0, 0, progress, "Linear...
15. Schowek PSP
Witam gdy dodaje do schowka aby mozna by?o wyci?ga? skina nie dzia?a :/

Kod c.lua

[lua]local screenSize = Vector2(guiGetScreenSize())
local ticks = {alphaTick = getTickCount(), animTick = getTickCount(), vehicle = nil}

local function isMouseInPosition(x, y, width, height)
if not isCursorShowing() then return false end

local cursor = {getCursorPosition()}
local cx, cy = (cursor[1]*screenSize.x), (cursor[2]*screenSize.y)
if (cx >= x and cx <= x + width) and (cy >= y and cy <= y + height) then return true else return false end
end

function isEventHandlerAdded(sEventName, pElementAttachedTo, func)
if type(sEventName) == 'string' and isElement(pElementAttachedTo) and type(func) == 'function' then
local aAttachedFunctions = getEventHandlers(sEventName, pElementAttachedTo)
if type(aAttachedFunctions) == 'table' and #aAttachedFunctions > 0 then for i, v in ipairs(aAttachedFunctions) do if v == func then return true end end end
end return false
end

local function scaleElement(sx, sy)
return (screenSize.x - sx)/2, (screenSize.y - sy)/2
end

local icon_x, icon_y = scaleElement(128, 128)
local function drawGUI()
local up = interpolateBetween(100, 0, 0, 0, 0, 0, (getTickCount()-ticks.animTick)/2000, "OutBack")

if anim == "fadein" then
progress = (getTickCount()-ticks.alphaTick)/1000
alpha = interpolateBetween(alpha, 0, 0, 255, 0, 0, progress, "Linear")
if alpha == 255...
16. Syrena PSP
Witam mam syrene PSP ale niewiem jak mam zrobi? ?eby tylko frakcja PSP mog?a j? odpala?

marker createMarker(-2124.37,-6.27,45.20-0.9"cylinder"1000170)
addEventHandler("onMarkerHit"marker, function(he)
    if 
getElementType(he) == "player" then
    triggerClientEvent
(he"showGUI"he)
    
end
end
)

addEvent("playSyrena_s"true)
addEventHandler("playSyrena_s"getRootElement(), function()
triggerClientEvent("playSyrena_c"getRootElement())
    for 
k,v in ipairs(getElementsByType("player")) do
        if 
isObjectInACLGroup("user."..getAccountName(getPlayerAccount(v)), aclGetGroup("Straz Pozarna")) then
        outputChatBox
(" ",v)
        
outputChatBox(" ",v)
        
outputChatBox("* #FF0000Niedaleko Ciebie rozlega si? d?wi?k #14FF00SYRENY #FF0000alarmowej stra?y #006E03PO?ARNEJ, #FF0000jeste? stra?akiem Jedz do #6500FFREMIZY!*",v255255255true)
        
outputChatBox(" ",v)
        
outputChatBox(" ",v)
        
end
    end
end
)
17. Schowek dla PSP
Witam ! Mam taki oto skrypt ale mam w nim dwa b??dy. Jeden to panel wy?wietlaj?cy si? ka?demu graczowi a dwa to nie usuwaj?ce si? wszystkie barierki i pacho?ki. Kto? co?? Daje :piwo: i R*
CLIENT
[lua]
-- [ Autor skryptu venzikk ]
-- [ Edytowany przez Maszek i adizygzak]
GUIEditor = {
button = {},
window = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(47, 199, 198, 139, "Schowek", false)
guiWindowSetSizable(GUIEditor.window[1], false)

GUIEditor.button[1] = guiCreateButton(9, 28, 83, 30, "Pacho?ek", false, GUIEditor.window[1])
GUIEditor.button[2] = guiCreateButton(102, 28, 83, 30, "Barierka", false, GUIEditor.window[1])


GUIEditor.button[3] = guiCreateButton(9, 72, 83, 30, "Rat.techniczne", false, GUIEditor.window[1])
GUIEditor.button[4] = guiCreateButton(102, 72, 83, 30, "AODO", false, GUIEditor.window[1])
GUIEditor.button[5] = guiCreateButton(9, 106, 181, 30, "Schowaj wszystko", false, GUIEditor.window[1])
end

)
addEventHandler("onClientResourceStart",resourceRoot,
function()
guiSetVisible(GUIEditor.window[1],false)
end
)




bindKey("l","down",function()
local veh = getPedOccupiedVehicle(localPlayer)
if (getElementModel(veh) == 407) then
local x,y,z = getElementPosition(localPlayer)
local marker...
18. Szukam RP PSP
Witam. Je?eli zna kto? rp PSP to niech pomo?e.
19. Frakcja PSP
Witam mam pytanie. Gdzie musz? wpisa? sw?j nick by by? liderem frakcji. Mam dwa pliki z tego skryptu

Oto pierwszy

--createBlip (-2290.16064, -172.45178, 35.36875)

markerpolicja1 = createMarker (-2290.16064, -172.45178, 35.36875, 'cylinder', 1.4, 255,000,000, 150)
--setElementInterior(markerpolicja1, 3)
Policja = createTeam ( "Pa?stwowa Stra? Po?arna", 255,000,000 )

function policja ( thePlayer )
local accName = getAccountName ( getPlayerAccount ( thePlayer ) )
local konto = getPlayerAccount( thePlayer ) -- get his account name
if getAccountData(konto, "psp") then
--local gracz = getPlayerFromName ( thePlayer )
setElementData( thePlayer, "duty:PSP", accName)
outputChatBox ( "* Zacze?e? prac? w PSP!", thePlayer, r, g, b, true )
outputChatBox ( "* Aby zako?czy? s?u?b? wyjd? z pojazdu, a nastepnie wpisz: /zakonczpsp", thePlayer, r, g, b, true )
setPlayerTeam ( thePlayer, Policja )
setPlayerSkin ( thePlayer, 279)
giveWeapon ( thePlayer, 42, 9999)
setPedArmor ( thePlayer, 100 )
setPlayerNametagColor ( thePlayer, 255,000,000 )
else
outputChatBox ( "* Nie nale?ysz do frakcji PSP!", thePlayer, r, g, b, true )

end
end

--addCommandHandler("loginpolicja", policja)

function policja2 ( thePlayer )
if getElementData( thePlayer, "duty:PSP" , accName) then
removeElementData( thePlayer,"duty:PSP", accName)
outputChatBox ...
20. Zbiornik PSP
Witam czy mo?e kto? i pom?c przy zrobieniu Zbiornika PSP? Chodzi mi o to, ?e pojazdy firetruck mia?yby zbiornik na wod?, % wody w zbiorniku zmniejsza? by si? jak my b?dziemy lali wod? za pomoca armatki na wozie. % Wody wy?wietla?by si? po wpisaniu komendy np. /stanwody. ?eby nape?ni? zbiornik to trzeba b?dzie jecha? np. pod wod? i wjecha? do markera. Za pomoc stawiam R* i prosto z lod?wki :piwo:
21. PSP
Witam powie mi ktos jak przenosic frakcje psp ?
22. [MAPA] Koszary PSP - San Fierro
Witam dzisiaj chcia?bym wam przedstawi? do?? nowe koszary, kt?re od niedawna nie s? ju? u?ywane przez serwer 4Life. Autorzy rzecz jasna tacy sami Answer. oraz SOSNA_2377.

Koszary znajduj? si? na jednej z bardziej ruchliwych ulic, a mianowicie Doherty.

Poni?ej par? screen?w no i oczywi?cie download.













Ukryta wiadomość / Hidden message(aby ją zobaczyć musisz postawić użytkownikowi)
Wiadomość została ukryta, aby ją przeczytać należy się zalogować.
23. syrena psp
Witam chcia?bym Przerobi? Owy skrypt Aby By?a Syrena Dla PSP pod Mysqol a nie ACL i
chc? ?eby mia?a jaki? d?wi?k
x,y = guiGetScreenSize()
button = guiCreateButton(627/1440*x, 510/900*y, 209/1440*x, 123/900*y, "Uruchom Syrene", false)
guiSetProperty(button, "NormalTextColour", "FFAAAAAA")
guiSetVisible(button, false)

function drawSyrena()
dxDrawRectangle(600/1440*x, 278/900*y, 261/1440*x, 372/900*y, tocolor(0, 0, 33, 184), false)
dxDrawRectangle(590/1440*x, 265/900*y, 289/1440*x, 16/900*y, tocolor(187, 0, 0, 255), false)
dxDrawText("Syrena Strazy Po?arnej", 616/1440*x, 346/900*y, 851/1440*x, 445/900*y, tocolor(255, 255, 255, 255), 3.00, "default", "center", "center", false, false, false, false, false)
end

addEvent("showGUI", true)
addEventHandler("showGUI", getRootElement(), function()
guiSetVisible(button, true)
addEventHandler("onClientRender", getRootElement(), drawSyrena)
showCursor(true)
end)

addEventHandler("onClientGUIClick", button, function()
triggerServerEvent("playSyrena_s", getLocalPlayer())
guiSetVisible(button, false)
removeEventHandler("onClientRender", getRootElement(), drawSyrena)
showCursor(false)
end, false)

addEvent("playSyrena_c", true)
addEventHandler("playSyrena_c", getRootElement(), function()
local syrena = playSound3D("AsA.ogg", -2123.45,-12.66,46.50, true)
se...
24. co źle pożary PSP
nie dzia?aj? mi po?ary dla PSP
PSPpozary_c.lua
https://wklej.to/yqvhS
PSPpozary_s
https://wklej.to/l5ZnW
25. Syrena PSP
Witam mam taki problem i? po za??czeniu syreny w PSP s?yszy j? tylko osoba za??czaj?ca j?:
Kod:

function syrenaOSP ()
if source == alarm2 then
local syrena = playSound3D("syrena2.mp3", -2113.81934, -24.76694, 42.65699, false)
setSoundVolume(syrena,300)
setSoundMaxDistance(syrena, 350)
outputChatBox ("Uruchomi?e? alarm w PSP.")
end
end
addEventHandler("onClientGUIClick", root, syrenaOSP)
26. Szukam skina PSP
Wiec jak w temacie szukam takiego skina:
http://imgur.com/M7BiVod
27. Syrena PSP
Zrobi?em funkcje do gui ale jak w??cz? t? syren? to s?yszy j? tylko ten co j? uruchomi? prosi? bym o szczeg??ow? pomoc b?d? przerobienie .

function syrenaPSP () 
if 
source == alarm then
local syrena 
playSound3D("syrena.mp3", -2384.3974609375, -94.3945312542.644439697266false
setSoundVolume(syrena,300)
setSoundMaxDistance(syrena350)
outputChatBox ("Uruchomi?e? syren? alarmow? PSP.")
end 
end
addEventHandler
("onClientGUIClick"rootsyrenaPSP)
28. Odblokowanie funkcji bicia się dla PSP
Witam. Chc? aby w frakcji PSP by?o odblokowane bicie si? poniewa? przy zamianie skina dostajesz ga?nic?. Problem jest w tym, ?e nie da si? gasi? ga?nic?.
Na dole daje kod PSP, za pomoc wynagradzam piwkiem ;)


pickup 
createPickup ( -20246528312750
setElementInterior (pickup0)

addEventHandler "onPickupHit"pickup, function(element)
    if 
isObjectInACLGroup ("user."..getAccountName getPlayerAccount element ) ), aclGetGroup "PSP" ) ) then
        
if getAccountData getPlayerAccount element ), "stary:skin" then
            id 
tonumber getAccountData getPlayerAccount element ), "stary:skin" ) )
            
setElementModel elementid 
            
setAccountData getPlayerAccount element ), "stary:skin"false )
            
takeWeapon(element42)
        else
            
skin tonumber getElementModel element ) )
            
setAccountData getPlayerAccount element ), "stary:skin"skin )
            
setElementModel element276  )
            
giveWeapon element4210000 )
            
setPedArmorelement100 )
end
    end
    end
)--Skiny stra?ackie
    
29. Pojazdy PSP
Witam, chcia?em edytowa? skrypt z pojazd?w sapd do pojazd?w psp i jak da?em skrypt na serwer to wyskoczy? error
[code][2016-03-19 12:53] SCRIPT ERROR: pojazdypsp/pojazdy_sapd.lua:2: '}' expected near ']'

[2016-03-19 12:53] ERROR: Loading script failed: pojazdypsp/pojazdy_sapd.lua:2: '}' expected near ']'[/code]


Jak wygl?da skrypt:
[code]policeVehicles = { [407]=true,[544]=true }
policeSkins = { [277]=true,[278]=true,[279]=true,[276]=true, [274]=true, [275]=true] }

function enterVehicle ( player, seat, jacked )
if seat == 0 then
if ( policeVehicles[getElementModel(source)] ) and ( not policeSkins[getElementModel(player)] ) then
cancelEvent()
outputChatBox ( "Nie pracujesz w Panstwowej Strazy Pozarnej lub nie masz ubranego munduru.", player )
end
end
end
addEventHandler ( "onVehicleStartEnter", getRootElement(), enterVehicle )

function straz()
local firetruck = createVehicle(407, -2022.1309814453, 92.626091003418, 28.0527977317505 0, 0, 90)
removeVehicleSirens(veh)
addVehicleSirens(veh, 6, 2, false, true, true, false)
setVehicleSirens(veh, 1, 0.6, 3.1, 1.3, 255, 0, 0, 198.9, 198.9)
setVehicleSirens(veh, 2, -0.7, 3.1, 1.3, 0, 0, 255, 200, 200)
setVehicleSirens(veh, 3, 0.6, -3.2, 1.5, 0, 0, 255, 200, 200)
setVehicleSirens(veh, 4, -0.7, -3.2, 1.5, 255, 0, 0, 200, 200)
setVehicleSirens(veh, 5, 1.5, 0.8, -0.3, 0, 0, 255, 200, 200)
setVehicleSirens(veh, 6, -1.4, 0.8, -0.3, 0, 0, 255, 200, 200)
local velocity = 500.00 -- (Predk...
30. syrena PSP
Witam,
postanowi?em zaj?? si? Frakcj? PSP.
Musz? zrobi? syren? kt?ra b?dzie uruchamiana z GUI, button'em oraz na ACL PSP.

Dam moje GUI:
[lua]
GUIEditor = {
button = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
wlacz = guiCreateButton(565, 609, 207, 92, "W??cz syrene", false)
guiSetFont(GUIEditor.button[1], "default-bold-small")
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA")
end
)

addEventHandler("onClientRender", root,
function()
dxDrawLine(471 - 1, 342 - 1, 471 - 1, 400, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(858, 342 - 1, 471 - 1, 342 - 1, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(471 - 1, 400, 858, 400, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(858, 400, 858, 342 - 1, tocolor(0, 0, 0, 255), 1, false)
dxDrawRectangle(471, 342, 387, 58, tocolor(255, 255, 255, 255), false)
dxDrawText(" Syrena PSP", 481, 340, 848, 400, tocolor(249, 0, 0, 255), 2.00, "pricedown", "left", "top", false, false, false, false, false)
dxDrawLine(497 - 1, 400 - 1, 497 - 1, 711, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(838, 400 - 1, 497 - 1, 400 - 1, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(497 - 1, 711, 838, 711, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(838, 711, 838, 400 - 1, tocol...
31. [MAPA] Mapa Baza PSP Lv
Siema jestem nowy i zrobi?em map? kt?r? robi?em z godzin?. Ta baza znajduje si? ko?o autostrady lv i ko?o ko?cio?a lv. ?? :arrow: :piwo:
Link= http://www.mediafire.com/...Baza+PSP+LV.rar
Screen= http://imgur.com/ekJemb5
Screen ?rodek = http://imgur.com/TwJKiLR
32. PSP
Prosz? po poprawienie kodu , poniewa? nie pokazuj? mi si? koszulki i pojazdy.


A o to kod:


[code]local hunter = {
{407, -230.38,1214.27,19.98,0.3,0.0,179.0},
{407, -237.72,1214.41,19.98,0.3,360.0,179.1},
{544, -245.21,1212.70,19.98,0.4,0.0,180.8},
{490, -252.33,1212.65,19.87,0.4,0.0,180.5},
}



for i,v in ipairs(hunter) do
local pojazd = createVehicle(v[1], v[2], v[3], v[4], v[5], v[6], v[7])
setElementData(pojazd, "pojazd_paliwo", 100)
setElementFrozen(pojazd, true)
setElementData(pojazd,"pojazd_opis","PSP #0"..i.."")
setVehicleHandling(pojazd, "maxVelocity", 450)
setVehicleHandling(pojazd, "engineAcceleration", 20 )
setVehicleHandling(pojazd, "ABS", true )
end

addEventHandler("onVehicleEnter", resourceRoot, function(plr, seat)
if seat == 0 then
setElementFrozen(source, false)
setVehicleHandling(source, "maxVelocity", 450)
setVehicleHandling(source, "engineAcceleration", 20 )
setVehicleHandling(source, "ABS", true )
end
end)

function respawnVehicles()
for i,v in ipairs(getElementsByType("vehicle", resourceRoot)) do
if not getVehicleOccupant(v) then
respawnVehicle(v)
setElementFrozen(v, true)
setVehicleEngineState ( v, false )
setElementData(v, "pojazd_opis&...
33. [MAPA] [San Fierro] Baza PSP
[center][b][color=orange]--------------------------------------------------------------------------------------------------[/color]
Baza PSP #1 SAN FIERRO
AUTOR MAPY: xDanioPLx,
sebatorun
[color=orange]--------------------------------------------------------------------------------------------------
[/color]
[color=red]MAPA ZOSTA?A WYKONANA W SAN FIERRO.
KA?DY MA PRAWO DO U?YTKU MAPY W W?ASNYCH CELACH, ALE NIE ZEZWALAM NA
ZMIENIANIE NAZWY AUTORA, PODSZYWANIE SI? POD AUTORA MAPY I JEJ EDYCJI.
PRAWA AUTORSKIE OBOWI?ZUJ? KA?DEGO.
[/color]
SS Z MAPY:
[color=orange]-------------------------------------------------[/color]
1. SCREEN
http://i.imgur.com/DVEu9dl.jpg
[color=orange]-------------------------------------------------[/color]
2. SCREEN
http://i.imgur.com/HZGTKpm.jpg
[color=orange]-------------------------------------------------[/color]
3. SCREEN
http://i.imgur.com/77me4U6.jpg
[color=orange]-------------------------------------------------[/color]
4. SCREEN
http://i.imgur.com/LTPsDN6.jpg
[color=orange]-------------------------------------------------[/color]
5. SCREEN
http://i.imgur.com/8yfARmK.jpg
[color=orange]-------------------------------------------------[/color]
6. SCREEN
http://i.imgur.com/O30ojMS.jpg
[color=orange]-------------------------------------------------[/color]
7. SCREEN
http://i.imgur.com/cgHw591.jpg
[color=orange]-------------------------------------------------[/color]
8. SCREEN
http://i.imgur.com/SsxGhlT.jpg
[...