Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dzek (varez)

  1. dzek (varez)

    Problem

    function boomPlayer(playerSource, command, arg1, [b]theVehicle[/b]) local playerElement = findPlayerByName(arg1) if playerElement then local name = getPlayerName(playerElement) local [b]theVehicle[/b] = getPedOccupiedVehicle (playerSource) local sourceName = getPlayerName(playerElement) blowVehicle ( theVehicle ) outputChatBox (getPlayerName(playerElement).." Has been destroyed by "..getPlayerName(playerSource).."!", getRootElement(), 255, 255, 0, true) end end just remove that argument on line 14 in your script
  2. https://community.multitheftauto.com/?p=resources ... ls&id=1070
  3. dzek (varez)

    Problem

    hmm, you have theVehicle argument in your boomPlayer and trying to overwrite it on line 18 - i dont know what happens in that situation. also for outputChatBox just use: outputChatBox (getPlayerName(playerElement).."Has been destroyed by "..getPlayerName(playerSource).."!", getRootElement(), 0, 0, 5, true) no need for that ""..
  4. http://www.google.com/search?hl=pl&safe ... =&gs_rfai= (click small link "copy" near every result) and function wiki page: http://webcache.googleusercontent.com/s ... ient=opera
  5. i voted "5" and it's now 4.3 and visible on best 10. probably somebody set query like that: SELECT * FROM resources WHERE [b]votes>10[/b] ORDER BY avg DESC LIMIT 10 but it should be SELECT * FROM resources WHERE [b]votes>=10[/b] ORDER BY avg DESC LIMIT 10 community have some more bugs.. probably somebody is still working on it.. (i think).. ps. the query is generally incorrect, as votes are (should be) saved in separate table, so the real query is much more different. just wanted to point out the "bug"
  6. can you upload somewhere mta_sdk.php - i dont have it, and i think i should download it from wiki, but its down now..
  7. it is both client and server side..
  8. I will contact all ppl willing to map when i will need it (currently i have to finish other things before i can start to map). Same thing for beta tester - i will create online server (password protected) and i will contact all ppl willing to beta-test with IP and password.
  9. but the code above looks like server side (outputChatBox arguments and onPlayerJoin event which is server side) even though he tries to run it as client side ;p
  10. i was not sure if there is function like that
  11. dzek (varez)

    Teleport

    this is done by scripting. you have to learn lua language to make it. unfortunately our wiki is down, but you can download offline versions and follow tutorials: viewtopic.php?f=13&t=29363
  12. CLICK ME local players = getElementsByType("player") local playerCount = #players
  13. also you have created startGUI function but you never fire it.
  14. this is general advice i think (and not complete) - you still need to understand lua to make this like you want
  15. dmc - what exactly are you talking about?
  16. timic, open wikipedia (not mta wiki, the global wikipedia) and search for localhost.. in few words - we can't open your local site. good thing - turn off skype before starting xampp, or restart it after closing skype. also to open phpMyAdmin you have to run webserver with php, not only mysql
  17. stolen one. yeah i remember
  18. good thing MX_Master have already done offline copy of it
  19. What is the point of spamming 3 topic with this? Dude, understand that most ppl are no longer playing MTA:VC or MTA for GTA3 - so only few ppl have these files and can reupload. They're just not looking here. Be patient.
  20. when player joins his account is guest account because he is not logged in.. it will always work like that.. better save some xml on client side if player is registered
  21. this looks more like request than ask for help... we are not fulfilling requests but helping people when they are stuck with scripting. how can i help you? search wiki for "show hud component" to disable original texts use onClientPlayerEnterVehicle event you will have to use onClientRender event to show text you will need global variable to store alpha and dxDrawText to show text. spend some time on wiki and good luck
×
×
  • Create New...