Jump to content

Strike27208

Members
  • Posts

    85
  • Joined

  • Last visited

Everything posted by Strike27208

  1. Pai stii cum faci ? Folosesti Google Translate unde nu stii ce inseamna , de exemplu : getPedArmour -- get - obtine -- Ped - jucator, SKIN -- Armour = armura EX 2 : function mesajMoarte (thePlayer) ------function - motorul scriptului / thePlayer -- este pentru local adica doar tie iti arata if isPedDead (thePlayer) then ----- if - daca / isPedDead (thePlayer ) - esteJucatorMort ( Jucatorul ) / then - atunci outputChatBox ( "You're dead... prepare to spawn.", thePlayer ) ---outputChatBox - nu prea are rost traducerea aici . da mesaj pe chat end --- acesta este de la " IF " mereu functia " if " are nevoie de inca un end . end -- sfarsitul functiei. este foarte simpu sunt cuvinte din engleza legate intre ele . Si cand o sa fie chemata functia 'mesajMoarte' ? Inca ceva, recomand sa nu folosesti nume in romana pt. functii... face scripturile urate. Eu am dat un exemplu , acolo poate sa puna ce vrea el , DeadMessage ..etc. Eu nu folosesc romana absolut de loc in scripturi dar ca sa inteleaga el .
  2. Sincer sa fiu nu este in totalitate facut de mine asta si eu am cautat dar am gasti decat signID -1 Nu stiu de la ce vine 1 ala .
  3. Pai stii cum faci ? Folosesti Google Translate unde nu stii ce inseamna , de exemplu : getPedArmour -- get - obtine -- Ped - jucator, SKIN -- Armour = armura EX 2 : function mesajMoarte (thePlayer) ------function - motorul scriptului / thePlayer -- este pentru local adica doar tie iti arata if isPedDead (thePlayer) then ----- if - daca / isPedDead (thePlayer ) - esteJucatorMort ( Jucatorul ) / then - atunci outputChatBox ( "You're dead... prepare to spawn.", thePlayer ) ---outputChatBox - nu prea are rost traducerea aici . da mesaj pe chat end -- sfarsitul functiei. este foarte simpu sunt cuvinte din engleza legate intre ele .
  4. Mai creezi un script la fel local shader signTex = { } signLastTick = getTickCount ( ) signId = 1 addEventHandler( "onClientResourceStart", resourceRoot, function() shader, tec = dxCreateShader ( "texreplace.fx" ) if not shader then outputChatBox( "Could not create shader. Please use debugscript 3" ) else engineApplyShaderToWorldTexture ( shader, "prolaps02" ) if not loadsignTextures ( ) then outputChatBox ( "Loading sign textures failed") destroyElement ( shader ) return end dxSetShaderValue ( shader, "gTexture", signTex[1] ) addEventHandler ( "onClientHUDRender", getRootElement (), renderScreen ) end end ) function loadsignTextures ( ) -- Gotta load 'em all! for i = 0, 24 do local tex = dxCreateTexture ( "location"..i..".png" ) if not tex then unloadsignTextures ( ) return false end table.insert ( signTex, tex ) end return true end function unloadsignTextures ( ) for index, tex in ipairs ( signTex ) do destroyElement ( tex ) end end function renderScreen ( ) if getTickCount ( ) - signLastTick < 200 then return end signId = signId + 1 if signId > #signTex then signId = signId - #signTex end dxSetShaderValue ( shader, "gTexture", signTex [ signId ] ) signLastTick = getTickCount ( ) end Urmatoru ID : 7911
  5. Sper sa fi meritat timpul pierdut Video : Acest script este facut din mai multe poze. In folderul "IMG" ai sa gasesti 24 de poze ele sunt facute ca un filmulet. Daca stii Photoshop este foarte bine. ID-ul obiectului este : 7910 Il cauti in mta map editor. si il pui unde vrei tu. Link pentru download : http://www.mediafire.com/download/6b8yt8cstg4ce32/arrowsigns.rar
  6. Salut numele meu este Local as vrea sa va arat cateva poze de pe Romania Evolution Play facut de mine si SteeL/Phoenix si sa arat unora ce inseamna munca adevarata nu doar community. Va rog sa va lasati pareara mai jos --Serverul contine : -- Harti importate de pe platforma sa:mp --Harti noi cum ar fi : Sakina ,Transfa.garasan ...etc. --Scrip-uri originale + edited --Un sistem de login cat de cat stabil --Un save system pentru bani / team --Un system pentru masina : engine / light / lock / handbrake / cruise control Ultima iconita neagra este de la cruise control dar stateam pe loc. --Un system de informatii --Notificari pentru : join / quit / TimeOut / login / Car hud --Scoreboard Astea sunt undeva la 15% din script-urile de pe server.
  7. Poftim : ----CLIENT----- function mod() ---Elegant local ElechangeTXD = engineLoadTXD ("vehicles/elegant.txd") local ElechangeDFF = engineLoadDFF ("vehicles/elegant.dff") engineImportTXD ( ElechangeTXD, 507 ) engineReplaceModel (ElechangeDFF, 507) ---Infernus local InfchangeTXD = engineLoadTXD ("vehicles/infernust.txd") local InfchangeDFF = engineLoadDFF ("vehicles/infernus.dff") engineImportTXD ( InfchangeTXD, 411 ) engineReplaceModel (InfchangeDFF, 411) end addCommandHandler ( "loadMods", mod ) function unloadMod () ---Elengat local exists = fileExists ( "vehicles/elegant.txd" ) if exists then engineRestoreModel ( 507 ) end ---Infernus local exists = fileExists ( "vehicles/infernus.txd" ) if exists then engineRestoreModel ( 411 ) end end addCommandHandler ( "unloadMods", unloadMod ) Treaba asta merge simplificata dar acum chiar nu stiu cum..am sa incerc sa o fac mai simpla pana atunci foloseste asta. Dar iti zic ,acest script este foarte periculos din cauza ca multi ar putea lua crash daca toate masinile sunt incarcate deodata. Acest script este bunt pentru 1 - 5 masini.
  8. Sincer ...nu inteleg ce vrei sa zici
  9. Update pentru cei cu gura mare. Si aici un proiect abandonat acum 2 saptamani un freeroam facut 100% din DX dar este facuta decat interfata si cateva butoane : KILL / SKINS
  10. Ala nu merge editat este compilat da oricum ms pentru comentarii... Chiar conteaza limba ? Mie imi place sa le fac in engleza. Si nu prea vad limba engleza in acest script..Nitro..? si Health.. ? Si cine a zis ca fac script-uri pentru server romanesti ?
  11. Salut astazi am creeat un hud pentru masina care te informeaza despre : --Viteza masinii --Cat de avariata este masina --Numele masinii --Si cat la % ai nitro Acest hud va primi update-uri pe parcurs. Sper sa va placa : --Scuzati claritatea imaginii 500x400... La 20 de cereri il postez.
  12. You're more than welcome mate. Neither do I, XML is just too laggy, use a Lua table: Skins = { Special = { {1,"Truth", "truth,male,white,hippie"}, {2,"Maccer","maccer,male,white,:O"}, {265,"Tenpenny","officer,tenpenny,male,black,cop"}, }, Beach = { {139,"Yellow Bikini", "swimsuit,black,girl,woman,beach"}, {154,"Beach Blonde", "guy,male,white,shorts,swim"}, }, } Now you can loop it I will try this bro. Thanks
  13. Thanks very much man. I love you!!! But now how i can make this to load the xml with group like this : type="skin"> "Special"> "1" name="Truth" keywords="truth,male,white,hippie"/> "2" name="Maccer" keywords="maccer,male,white,wanker"/> "265" name="Tenpenny" keywords="officer,tenpenny,male,black,cop"/> "Beach"> "139" name="Yellow Bikini" keywords="swimsuit,black,girl,woman,beach"/> "154" name="Beach Blonde" keywords="guy,male,white,shorts,swim"/> If someone can help me i appreciate very much. I don't now how to use xml..
  14. ID-ul obiectului este : 7910 Il cauti in mta map editor. si il pui unde vrei tu.
  15. Hi. i make a new freeroam F1 and i need some help. I try to make a list of the all skins but not work . I find this code but he take only ID of the XML i try to add Name but he give me error. Argument 5 got string "And name of the skin" Please help me.. This is the code what i find : ---My code Gui.staticimage[1] = guiCreateStaticImage( 1040*sW, 220*sH, 300, 400, "window.png", false ) Gui.gridlist[1] = guiCreateGridList(4, 35, 291, 340, false, Gui.staticimage[1]) ---column = guiGridListAddColumn (Gui.gridlist[1]) name = guiGridListAddColumn(Gui.gridlist[1], "Name", 0.6) column = guiGridListAddColumn(Gui.gridlist[1], "ID", 0.4) ---The finde code local xml = getResourceConfig ( "xml/skins.xml" ) for _, v in ipairs ( xmlNodeGetChildren ( xml ) ) do local row = guiGridListAddRow ( Gui.gridlist[1] ) local model = xmlNodeGetAttribute ( v, "id") local model = xmlNodeGetAttribute ( v, "name") guiGridListSetItemText ( Gui.gridlist[1], row, column, name, tostring ( model ), false, false ) end And i have a question. How i can make this to load the skins.xml of the freeroam resource. I use this in xml: "1" name="Truth"/> "2" name="Maccer" keywords="maccer,male,white,:O"/> "265" name="Tenpenny" keywords="officer,tenpenny,male,black,cop"/> "266" name="Pulaski" keywords="officer,pulaski,male,white,cop"/> "267" name="Hern" keywords="officer,hern,male,latin"/> "268" name="Dwayne" keywords="dwayne,male,white,mechanic"/> Thanks very much man. I love you!!! But now how i can make this to load the xml with group like this : type="skin"> "Special"> "1" name="Truth" keywords="truth,male,white,hippie"/> "2" name="Maccer" keywords="maccer,male,white,wanker"/> "265" name="Tenpenny" keywords="officer,tenpenny,male,black,cop"/> "Beach"> "139" name="Yellow Bikini" keywords="swimsuit,black,girl,woman,beach"/> "154" name="Beach Blonde" keywords="guy,male,white,shorts,swim"/> If someone can help me i appreciate very much. I don't now how to use xml..
  16. Nu am sarit nimanui in cap. Doar ca el m-a deranjat cand a zis ca nu este facut de mine...Multi nu ma cunosc atat de bine si le este usor sa comenteze. Dar nu este vorba de mine. Eu doar am vrut sa vad ce parere are lumea despre ce am facut.
  17. function mod() local changeTXD = engineLoadTXD ("vehicles/elegant.txd") local changeDFF = engineLoadDFF ("vehicles/elegant.dff") engineImportTXD ( changeTXD, 507 ) engineReplaceModel (changeDFF, 507) end addCommandHandler ( "loadElegant", mod ) function unloadMod () local exists = fileExists ( "vehicles/elegant.txd" ) if exists then engineRestoreModel ( 507 ) end end addCommandHandler ( "unloadElegant", unloadMod ) Sa-mi zici daca merge ca nu este testat.
  18. Poftim : http://www.girlshare.ro/34116946.6
×
×
  • Create New...