Tematy otagowane jako: pogo
1. [MAPA ] [San Fierro] Baza Pogo
--------------------------------------------------------------------------------------------------
Baza Pogo #1 SAN FIERRO
AUTOR MAPY: xDanioPLx,
--------------------------------------------------------------------------------------------------
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.DZI?KI ZA TYLE I KOMENTARZY TO MNIE MOTYWUJE DO DALSZEJ PRACY.
SS Z MAPY:
-------------------------------------------------
1. SCREEN
http://i.imgur.com/7XMs4cm.jpg
-------------------------------------------------
2. SCREEN
http://i.imgur.com/KeT1Ul2.jpg
-------------------------------------------------
3. SCREEN
http://i.imgur.com/hL16hZP.jpg
-------------------------------------------------
4. SCREEN
http://i.imgur.com/OPvYVbX.jpg
-------------------------------------------------
JE?ELI MAPA SI? SPODOBA?A TO ZACH?CAM DO POBRANIA.
LINK DO POBRANIA: Ukryta wiadomość / Hidden message(aby ją zobaczyć musisz postawić użytkownikowi) Wiadomość została ukryta, aby ją przeczytać należy się zalogować.
2. [DM] Panel Pogo
Siema, zacz??em robi? panel pogotowia, ale co? nie bardzo. Nie wy?wietla mi si? lista graczy...
Kod: GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Grid = {}
GUIEditor_Scrollbar = {}
GUIEditor_Window[1] = guiCreateWindow(313,108,256,399,"Panel Pogo by .::Heniek::.",false)
GUIEditor_Grid[1] = guiCreateGridList(0.0352,0.0576,0.5781,0.9148,true,GUIEditor_Window[1])
guiGridListSetSelectionMode(GUIEditor_Grid[1],2)
GUIEditor_Scrollbar[1] = guiCreateScrollBar(0.5273,0.0602,0.082,0.9123,false,true,GUIEditor_Window[1])
GUIEditor_Button[1] = guiCreateButton(0.6445,0.0752,0.3203,0.0802,".::Ulecz::.",true,GUIEditor_Window[1])
GUIEditor_Button[2] = guiCreateButton(0.6367,0.8772,0.3281,0.0902,"Wyjdz",true,GUIEditor_Window[1])
kolumna = guiGridListAddColumn( GUIEditor_Grid[1], "Gracze", 0.99 )
guiSetVisible(GUIEditor_Window[1], false)
showCursor(false)
function show()
guiGridListClear(GUIEditor_Grid[1])
for id, playeritem in ipairs(getElementsByType("player")) do
local row = guiGridListAddRow ( GUIEditor_Grid[1] )
guiGridListSetItemText ( GUIEditor_Grid[1], row, kolumna, getPlayerName ( playeritem ), false, false )
end
guiSetVisible(GUIEditor_Window[1], true)
showCursor(true)
end
end
Widzicie gdzie jest b??d?
3. Panel Pogo i Salonu
Witam robi? na pocz?tek panel salonu .
Mam ju? funkcje do tworzenia auta :
CreateVehicle - Kod: createVehicle ( int model, float x, float y, float z, [float rx, float ry, float rz, string numberplate, bool bDirection, int variant1, int variant2] )
takePlayerMoney
Kod: takePlayerMoney ( who, 300 )
Kod: [b]givePlayerMoney [/b]
givePlayerMoney ( source, 300 )
Gui:
Kod: GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Grid = {}
GUIEditor_Window[1] = guiCreateWindow(223,142,415,570,"Panel Salon by luki123",false)
GUIEditor_Grid[1] = guiCreateGridList(13,22,191,460,false,GUIEditor_Window[1])
guiGridListSetSelectionMode(GUIEditor_Grid[1],2)
GUIEditor_Grid[2] = guiCreateGridList(211,25,195,457,false,GUIEditor_Window[1])
guiGridListSetSelectionMode(GUIEditor_Grid[2],2)
GUIEditor_Button[1] = guiCreateButton(15,501,185,42,"Daj Auto",false,GUIEditor_Window[1])
GUIEditor_Button[2] = guiCreateButton(211,502,195,39,"Wyjdz",false,GUIEditor_Window[1])
Opis: chce ?eby by?a lista tak jak ka?dy panel i button "Daj Auto" i jak si? da auto to ?eby ,gracz by? ju? w aucie
Elementy w gui.
Clinet
2gridlisty-gracz,auta
button "Daj Auto"
Serwer
Funkcja
createVehicle
givePlayerMoney
takePlayerMoney