-
Posts
1,708 -
Joined
-
Last visited
Everything posted by iFoReX
-
function CriarJanela() wantedJanela = guiCreateWindow(80,80,250,250,"",false) --labels labelJanela = guiCreateLabel(20,20,250,60,"Janela de Alteração de Wanted Stats",false,wantedJanela) labelNome = guiCreateLabel(10,55,250,60,"Nome do Jogador :",false,wantedJanela) labelWanted = guiCreateLabel(30,90,250,60,"Wanted Level :",false,wantedJanela) --edit editWanted1 = guiCreateEdit(120,50,120,25,"",false,wantedJanela) editWanted2 = guiCreateEdit(160,85,80,25,"",false,wantedJanela) buttonAlterar = guiCreateButton(0,210,120,30,"Alterar o Stats",false,wantedJanela) --Radio buttonRadio1 = guiCreateRadioButton(170,110,50,50,"Adicionar",false,wantedJanela) buttonRadio2 = guiCreateRadioButton(170,140,50,50,"Remover",false,wantedJanela) buttonFechar = guiCreateButton(130,210,120,30,"Fechar",false,wantedJanela) end addEventHandler("onClientGUIClick", buttonFechar, Fechar) addEventHandler("onClientResourceStart", getRootElement, CriaJanela) guiSetVisible ( wantedJanela, false) guiWindowSetSizable(wantedJanela,false) function Fechar() guiSetVisible ( wantedJanela, true ) showCursor ( true ) end function Visible () guiSetVisible ( wantedJanela, true ) showCursor(true) end addCommandHandler ( "wantedstats", Visible )
-
maybe is for ur resolution
-
Okey. Xampp http://img59.imageshack.us/img59/5149/catszib.jpg Navegator
-
I dont have Skype. and I restarted my pc very much times
-
I cant turn on the Apache just the MySQL and FileZilla
-
when I go to localhost appear it : Well! Google Chrome could not connect to localhost page. Did you mean: localhost.-net Additional tips: Go to localho.-st Go to localhost.-cl Try reloading: localhost
-
and where I can get it information ' DATABASENAME, HOST, PORT, USERNAME and passowrd' ?
-
this functions are how SQL Tables ?, yeh Im connected to XAMPP
-
I started the XAMPP the MySQL is started now I just start my server ?
-
lol hack ? dont, It image is a old image
-
Dx Radio Stations a Dx Rectangule with radios and stations features : 1. have 4 radios 2. streaming 24/7 3. 0 download 4. you can open it with /radio or lctrl+r Enjoy Imgs Download https://community.multitheftauto.com/index.php?p=resources&s=details&id=4892 some bugg comment. Script made by ElMota 2012
-
WoW thank you very much work 100%
-
Ok I done it : --------------------------- ---RadioByElMota----------- Radio = {} RadioB = {} Estacion = {} EstacionB = {} -------------------------- ---ButtonsR---------------- RadioB[1] = guiCreateButton(780.0,272.0,200.0,30.0,"Radios Bachata",false) guiSetVisible(RadioB[1],false) guiSetAlpha(RadioB[1],0) RadioB[2] = guiCreateButton(780.0,197.0,200.0,30.0,"RadiosElectro",false) guiSetVisible(RadioB[2],false) guiSetAlpha(RadioB[2],0) RadioB[3] = guiCreateButton(780.0,127.0,200.0,30.0,"RadiosIngles",false) guiSetVisible(RadioB[3],false) guiSetAlpha(RadioB[3],0) RadioB[4] = guiCreateButton(780.0,62.0,200.0,30.0,"Rap",false) guiSetVisible(RadioB[4],false) guiSetAlpha(RadioB[4],0) CancelButton = guiCreateButton(765.0,420.0,200.0,30.0,"Cancelar",false) guiSetVisible(CancelButton,false) guiSetAlpha(CancelButton,0) stopMusicB = guiCreateButton(765.0,474.0,200.0,30.0,"stopTheMusic",false) guiSetVisible(stopMusicB,false) guiSetAlpha(stopMusicB,0) --------------------------- ------ButtonsE------------- EstacionB[1] = guiCreateButton(785.0,317.0,200.0,30.0,"Bachata",false) guiSetVisible(EstacionB[1],false) guiSetAlpha(EstacionB[1],0) -------------------------- function dxRadio() Radio[1] = dxDrawText("Radios Bachata",780.0,272.0,909.0,311.0,tocolor(255,255,255,255),1.5,"default-bold","left","top",false,false,true) Radio[2] = dxDrawText("Radios Electronicas",780.0,197.0,909.0,236.0,tocolor(255,255,255,255),1.5,"default-bold","left","top",false,false,true) Radio[3] = dxDrawText("Radios En Ingles",780.0,127.0,909.0,166.0,tocolor(255,255,255,255),1.5,"default-bold","left","top",false,false,true) Radio[4] = dxDrawText("Radios Rap",780.0,62.0,954.0,101.0,tocolor(255,255,255,255),1.5,"sans","left","top",false,false,true) dxDrawText("Radio DX By ElMota",779.0,18.0,1014.0,53.0,tocolor(255,255,255,255),1.0,"pricedown","left","top",false,false,false) dxDrawRectangle(762.0,0.0,261.0,767.0,tocolor(0,0,0,80),false) stopMusicT = dxDrawText("Detener Musica",765.0,474.0,869.0,501.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) CancelText = dxDrawText("Cancelar",765.0,420.0,869.0,447.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,true) showCursor(true) end addEventHandler("onClientGUIClick", root, function() if source == RadioB[1] then addEventHandler("onClientRender", root, RBachata) guiSetVisible(EstacionB[1],true) elseif source == RadioB[2] then addEventHandler("onClientRender", root, RElectro) elseif source == RadioB[3] then addEventHandler("onClientRender", root, RIngles) elseif source == RadioB[4] then addEventHandler("onClientRender", root, RRap) elseif source == CancelButton then removeEventHandler("onClientRender", root, dxRadio) removeEventHandler("onClientRender", root, RBachata) removeEventHandler("onClientRender", root, RElectro) removeEventHandler("onClientRender", root, RIngles) removeEventHandler("onClientRender", root, RRap) showCursor(false) elseif source == EstacionB[1] then local sound = playSound("http://yp.shoutcast.com/sbin/tunein-station.pls?id=200145") elseif source == stopMusicB then if isElement(sound) then destroyElement(sound) end end end ) --------------------- ---TheStations------- function RBachata() Estacion[1] = dxDrawText("Estacion Bachata 1",785.0,317.0,910.0,353.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) end function RElectro() Estacion[2] = dxDrawText("Estacion Electronica 1",785.0,234.0,910.0,270.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) end function RIngles() Estacion[3] = dxDrawText("Estacion En Ingles 1",785.0,166.0,910.0,202.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) end function RRap() Estacion[4] = dxDrawText("Estacion Rap 1",782.0,101.0,970.0,143.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) end function dxOpen() addEventHandler("onClientRender",root, dxRadio) guiSetVisible(RadioB[1],true) guiSetVisible(RadioB[2],true) guiSetVisible(RadioB[3],true) guiSetVisible(RadioB[4],true) guiSetVisible(CancelButton,true) guiSetVisible(stopMusicB,true) end addCommandHandler("radio", dxOpen) but the music doesnt stop :c
-
local skin = getElementModel( source ) if skin == NUMBEROFSKIN then I think
-
now when I press the button create the ped and save, the ped doesnt create :c
-
when I restart the resource doesnt save Jaysd
-
now when I press a Radio appear 2 text :c :c --------------------------- ---RadioByElMota----------- Radio = {} Estacion = {} function dxRadio() Radio[1] = dxDrawText("Radios Bachata",780.0,272.0,909.0,311.0,tocolor(255,255,255,255),1.5,"default-bold","left","top",false,false,false) Radio[2] = dxDrawText("Radios Electronicas",780.0,197.0,909.0,236.0,tocolor(255,255,255,255),1.5,"default-bold","left","top",false,false,false) Estacion[3] = dxDrawText("Estacion En Ingles 1",785.0,166.0,910.0,202.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) Radio[3] = dxDrawText("Radios En Ingles",780.0,127.0,909.0,166.0,tocolor(255,255,255,255),1.5,"default-bold","left","top",false,false,false) Estacion[4] = dxDrawText("Estacion Rap 1",782.0,101.0,970.0,143.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) Radio[4] = dxDrawText("Radios Rap",780.0,62.0,954.0,101.0,tocolor(255,255,255,255),1.5,"sans","left","top",false,false,false) dxDrawText("Radio DX By ElMota",779.0,18.0,1014.0,53.0,tocolor(255,255,255,255),1.0,"pricedown","left","top",false,false,false) dxDrawRectangle(762.0,0.0,261.0,767.0,tocolor(0,0,0,80),false) showCursor(true) end addEventHandler("onClientClick", root, function( absoluteX, absoluteY, worldX, worldY, worldZ ) if Radio[1] then addEventHandler("onClientRender", root, RBachata) removeEventHandler("onClientRender", root, RElectro) end end ) addEventHandler("onClientClick", Radio[2], function( absoluteX, absoluteY, worldX, worldY, worldZ ) addEventHandler("onClientRender", root, RElectro) removeEventHandler("onClientRender", root, RBachata) end, false) function RBachata() Estacion[1] = dxDrawText("Estacion Bachata 1",785.0,317.0,910.0,353.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) end function RElectro() Estacion[2] = dxDrawText("Estacion Electronica 1",785.0,234.0,910.0,270.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) end function dxOpen() addEventHandler("onClientRender",root, dxRadio) if addEventHandler("onClientRender",root, dxRadio) then removeEventHandler("onClientRender",root, dxRadio) end end addCommandHandler("radio", dxOpen) ?
-
ok, but a similar function?
-
how I can use onClientGUIClick for dxText ? --------------------------- ---RadioByElMota----------- addEventHandler("onClientRender",root, function() dxDrawText("Estacion Bachata 1",785.0,317.0,910.0,353.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) dxDrawText("Radios Bachata",780.0,272.0,909.0,311.0,tocolor(255,255,255,255),1.5,"default-bold","left","top",false,false,false) dxDrawText("Estacion Electronica 1",785.0,234.0,910.0,270.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) dxDrawText("Radios Electronicas",780.0,197.0,909.0,236.0,tocolor(255,255,255,255),1.5,"default-bold","left","top",false,false,false) dxDrawText("Estacion En Ingles 1",785.0,166.0,910.0,202.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) dxDrawText("Radios En Ingles",780.0,127.0,909.0,166.0,tocolor(255,255,255,255),1.5,"default-bold","left","top",false,false,false) dxDrawText("Estacion Rap 1",782.0,101.0,970.0,143.0,tocolor(255,255,255,255),0.5,"bankgothic","left","top",false,false,false) dxDrawText("Radios Rap",780.0,62.0,954.0,101.0,tocolor(255,255,255,255),1.5,"sans","left","top",false,false,false) dxDrawText("Radio DX By ElMota",779.0,18.0,1014.0,53.0,tocolor(255,255,255,255),1.0,"pricedown","left","top",false,false,false) dxDrawRectangle(762.0,0.0,261.0,767.0,tocolor(0,0,0,80),false) end ) thank in advanced