Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. omfg! you are doing random code as i said, this makes no sense o_o, you want to setPlayerName in a vehicle??
  2. I must say that your script makes no sense for me.
  3. Castillo

    /race

    You have to script this, nobody will do it for you. https://wiki.multitheftauto.com/wiki/Scripting_Introduction https://wiki.multitheftauto.com/wiki/Introduction_to_Scripting_the_GUI
  4. volk-rus, he asked when killing a PLAYER not a ZOMBIE.
  5. Castillo

    Scripter.

    Yes, pay. Most scripters already has their own community/server and don't need to script for free for anyone else
  6. Esto no es un foro para peticiones, tenes que aprender como hacerlo, aca te dejo una guia para aprender. https://wiki.multitheftauto.com/wiki/ES/Introducci%C3%B3n_a_la_Programaci%C3%B3n https://wiki.multitheftauto.com/index.php?title=ES/Pagina_Principal Suerte.
  7. Castillo

    Help

    Functions: https://wiki.multitheftauto.com/wiki/CreateMarker https://wiki.multitheftauto.com/wiki/SetElementInterior Event handlers: https://wiki.multitheftauto.com/wiki/OnMarkerHit
  8. I don't understand o_O, what do you want to do?
  9. addEventHandler("onClientResourceStart", g_ResRoot,getResourceRootElement(getThisResource()), function() fadeCamera(true) setTimer(getPlayers, 1000, 1) bindKey('f1', 'down', toggleFRWindow) createWindow(wndMain) hideAllWindows() txd = engineLoadTXD ("infernus.txd") engineImportTXD (txd, 411) dff = engineLoadDFF ("infernus.dff") engineReplaceModel (dff, 411) guiCheckBoxSetSelected(getControl(wndMain, 'jetpack'), doesPedHaveJetPack(g_Me)) guiCheckBoxSetSelected(getControl(wndMain, 'falloff'), canPedBeKnockedOffBike(g_Me)) setJetpackMaxHeight ( 9001 ) triggerServerEvent('onLoadedAtClient', g_ResRoot, g_Me) end )
  10. this makes no sense function death() if isTimer(robbank) then killTimer(robbank) end outputChatBox ("Robber has been killed.", getRootElement(), 0, 255, 0, false) end addEventHandler ( "onPlayerWasted", getRootElement(), death )
  11. You put random code and expect us to fix it? no way! you better think twice.
  12. "Access denied" means you need to add it to ACL.xml group Admin to give him powers to use function addAccount
  13. Castillo

    Scripter.

    There aren't any FREE scripter, but you could offer some $$$ and get more chances
  14. meta.xml is wrong, fixed one: <meta> <info author="MDC" name="MDC" description="my first script" /> <script src="MDC.lua" type="server" /> </meta>
  15. Maybe would be cool, but you can make your own nametags also with DX drawing functions and so on.
  16. You know how to read right? then you can see "Data files" in that link i gave you http://code.google.com/p/mtasa-blue/downloads/list
  17. install the data files.. lol
  18. MTA paradise is a Unfinished Real Life Roleplay game mode.
  19. You can get a nightly build here: https://nightly.multitheftauto.com/
  20. O_o, you are using many player arguments and i have no idea which is right one.. addEvent("robstart", true) bankrob = {} function rob () if isTimer(robbank) then outputChatBox ("Somebody is allready robbing the bank", source, 255, 0, 0, false) else outputChatBox ("***All Police To The Bank Somebody is Robbing The Bank*** ", getRootElement(), 255, 0, 0, false) setPlayerWantedLevel ( source, 4 ) robbank = setTimer( robb, 10000, 1, source ) end end addEventHandler ( "robstart", getRootElement(), rob ) function robb (thePlayer) givePlayerMoney ( thePlayer, math.random(50000, 100000) ) setPlayerWantedLevel ( thePlayer, 6 ) end
  21. post your code, that must be the problem.
  22. https://wiki.multitheftauto.com/wiki/GuiRadioButtonGetSelected
  23. Castillo

    Help!

    you get errors i'm sure, blip = createBlip ( 1553.13, -1677.62, 16.19, 30, 2, 255, 0, 0, 255, 0, 99999.0, getRootElement() ) try that.
  24. policeVehicle = createVehicle ( 426, 2418.4436035156, 85.328956604004, 26.292650222778, 0, 0, 90 ) setElementData(policeVehicle,"vehicle","police") policeSkins = { [286]=true,[288]=true } medicVehicle = createVehicle ( 426, 2401.4436035156, 76.328956604004, 25.292650222778, 0, 0, 90 ) setElementData(medicVehicle,"vehicle","medic") medicSkins = { [275]=true,[277]=true } function enterVehicle ( player, seat, jacked ) if (getElementData(source, "vehicle" ) == "police") and ( not policeSkins[getElementModel( player )] ) then outputChatBox ( "You're not a cop!", player ) cancelEvent() end if (getElementData(source, "vehicle" ) == "medic") and ( not medicSkins[getElementModel( player )] ) then outputChatBox ( "You're not a medic!", player ) cancelEvent() end end addEventHandler ( "onVehicleStartEnter", getRootElement(), enterVehicle )
  25. Yeah, i guess so Zango.
×
×
  • Create New...