| Tematy otagowane jako: pojazdów? |
| 1. Usuwanie zniszczonych pojazdów? |
| Jak usun?? z mapy zniszczone pojazdy? |
| 2. Jak Podłączyć pod system pojazdów? |
Witam, jestem [size=24][color=green]Zielony[/color][/size] w tym wi?c prosz? pomoc.
Mianowicie chodzi o po??czenie Gie?dy PanaPrezesa i Systemu Pojazd?w(salon itp)
Kod Systemu Pojazd?w:
Client :
[code]local screenX, screenY = guiGetScreenSize()
local width, height = 200, 200
local x = (screenX/2) - (width/2)
local y = (screenY/2) - (height/2)
local lp = getLocalPlayer()
theWindow = guiCreateWindow(x,y,width,height,"Car Features",false)
guiWindowSetSizable(theWindow,false)
guiSetVisible (theWindow, false)
spawnBut = guiCreateButton(0.0604,0.120,0.4,0.2,"Spawn",true,theWindow)
engenieBut = guiCreateButton(0.0604,0.420,0.4,0.2,"Engenie",true,theWindow)
lockBut = guiCreateButton(0.490,0.420,0.4,0.2,"Lock",true,theWindow)
lightsBut = guiCreateButton(0.0604,0.720,0.4,0.2,"Lights",true,theWindow)
destroyBut = guiCreateButton(0.490,0.120,0.4,0.2,"Destroy",true,theWindow)
function resourceStart ()
bindKey ("F3", "down", menuShow)
end
addEventHandler ("onClientResourceStart", getResourceRootElement ( getThisResource () ), resourceStart)
function menuShow ()
visableornot = guiGetVisible (theWindow)
if (visableornot == true) then
guiSetVisible (theWindow, false)
showCursor (false)
end
if (visableornot == false) then
guiSetVisible (theWindow, true)
showCursor (true)
end
end
addEvent ("carSpawn", true)
addEvent ("carDestroy&q... |
| 3. Różne warianty dla pojazdów? |
| Witam, chcia?bym si? dowiedzie? jak ustawi? wariant na pojazdy, kt?re go nie maj?, czyli np. infernus z dachem i wersja bez niego, jakich funkcji u?y? i czy shader b?dzie do tego potrzebny? |
|