Jump to content

denny199

Members
  • Posts

    877
  • Joined

  • Last visited

Everything posted by denny199

  1. denny199

    MTASA Problems.

    Hey there, I don't know if I'm In a good section but yeah Problem: Sometimes when I'm playing I'm getting a white air, then I'm getting a crash. Can't sometimes load dxdraw images. I have the lasted mta and a clean gta. [ tested 3 times ] Sometimes weird cars. like this: or http://denz.comuf.com/apps/uniq/weirdstuff.jpg Here's my dxdiag: http://www.mediafire.com/view/?667jtc469zg3w2x Regards, Danny
  2. I used to be an adventurer like you but then I took an arrow to my knee
  3. A:Umad Bro! Q:What do you think of this: "I used to be an adventurer like you. Then I took an arrow in the knee" ?
  4. Start runcode typ /crun setDevelopmentMode ( true ) Then /showcol. and you will see al the cols.
  5. <3 Hardcore & Hardstyle <3 Favorite artists:
  6. http://www.kerksite-beu.nl/lambertus/ac ... keleku.gif
  7. [that one is hard because we don't know what kind of humor you have] I want a pic of a guy in a banana costum
  8. I want a picture of a gabber [ hardcore men (music)]
  9. Thank you, I'm understanding this xml scripting now
  10. well, then I don't know a another way for the saving system then
  11. Hai there, I'm working on a new script with xml, but now I've got some problems, the saving is working fine, but the exporting isn't so good. How could I get the text after NAAM_ so only this: NAAM_Danny or NAAM_Danny3 or NAAM_path and so on. So only after the underscore, underscore = _ . Here's my xml. <radio> <NAAM_Danny naamradio="Danny" posx="232.17012023926" posy="-1205.9498291016" posz="75.3125" distance="5"></NAAM_Danny> <NAAM_Danny3 naamradio="Danny3" posx="238.56645202637" posy="-1206.4357910156" posz="75.3125" distance="6"></NAAM_Danny3> <NAAM_path naamradio="path" posx="239.8809967041" posy="-1195.0231933594" posz="75.34440612793" distance="44"></NAAM_path> </radio> I've no idea how to start. Regards, Danny
  12. -1292.54419, 2500.40674, 86.91954
  13. Thanks, It really helped me out
  14. Hey there, I was working on a zombie arena in my server but now I've got a problem, I'm looping for creating the zombies. But now I want to chek if all the zombies are dead, so a new round can start . But I can't figure out how I can store them in a table or so on and to chek if they are all dead. Here's my code: local bot = { } function startnextwave(wave) if ( wave == 2 ) then for i = 1, tonumber(wave*2) do bot[ i ] = exports [ "zombies" ]: createZombie(0, 0, 0, 0,140,0,0 ) outputChatBox ( "chatbox outputs are the zombies." ) end end end addEvent("onZombieWasted", true) addEventHandler("onZombieWasted", root, function() if (source == roundone) then zombies = zombies - 1 wave = 1 chekwave(wave,zombies) end if (source == bot) then outputChatBox ( "zombiekill" ) end end) function chekwave(wave,zombies) if (zombies == 0) then wave = wave + 1 setTimer ( startnextwave,5000, 1,wave ) end end the seconds question is: how should I save values in a xml like this: and how to load it? Because I never worked with xml's and I can't figure the wiki out <path>posx="23" posy="355" posz="32432" name="lol" <path/> <path>posx="3423" posy="3355" posz="3232" name="Test" <path/> <path>posx="2433" posy="3545" posz="32" name="Me gusta" <path/> Regards danny.
  15. BTW, I don't see the element myGate, So i guess that you've got a object scripted in the serverside file. --server function openMyGate () moveObject ( myGate, 500, -781.20001220703, 2624.8000488281, 104.09999847412, 0, 0, 0 ) triggerClientEvent ( "playsound", getRootElement()) end addCommandHandler("opengate",openMyGate) --client function sound() sound = playSound3D ("opengate.mp3", -781.20001220703, 2624.8000488281, 104.09999847412, false) setSoundMaxDistance ( sound, 10 ) end addEvent( "playsound", true ) addEventHandler( "playsound", getRootElement(),sound ) meta: <script src="server.lua" type="server" /> <script src="client.lua" type="client" /> <file src="opengate.mp3" type="client" />
×
×
  • Create New...