Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Pues es facil o_o, function ClientStarted() txd = engineLoadTXD("400.txd") engineImportTXD(txd, 400) dff = engineLoadDFF("400.dff", 400) engineReplaceModel(dff, 400) txd = engineLoadTXD("506.txd") engineImportTXD(txd, 506) dff = engineLoadDFF("506.dff", 506) engineReplaceModel(dff, 506) end addCommandHandler("recargar",ClientStarted) addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), ClientStarted )
  2. You could just disable this anti cheat at mtaserver.conf, if i'm not wrong.
  3. I think this is part from some community script.
  4. This script is not made by him, if i'm right it's made by someone called Vick.
  5. lol, you really got him wrong.. i don't get how you can understand something like this when he actually wants to move a object o_O
  6. Castillo

    Math Money

    lol? you attach the event to a non existing function name o_o
  7. Castillo

    Math Money

    this will give to a random player o_o
  8. Castillo

    Math Money

    volk-rus, he could actually do: math.random(100,500) and will do a random between 100 and 500
  9. , type /debugscript 3 IN GAME!
  10. Castillo

    Math Money

    This doesn't makes any sense.. it's just a mess.
  11. No to what? there are new skins like claude and so on
  12. I'm not sure if i understand what Uranus said
  13. I was wondering the same thing eAi actually.
  14. They will be in 1.1 if i'm right, at least there we're new ones.
  15. Castillo

    Borrow:P

    What a useless post... if you don't know how to fix it i recommend not to post.
  16. Castillo

    Radar

    Check how it's done and you will get how to add more.
  17. That's what i expected aibo
  18. I should try something???? the code works with no errors at my private server, how that comes? P.S: You copied my word "You should at least try something first."
  19. uhm, the marker wasn't being created, how do i know? i simply added a small check and results not being created, anyway i've fixed the marker and here is the code: local myMarker = createMarker ( -2284.4592285156, 1909.6333007813, 7.9688625335693, "cylinder", 1, 255, 0, 140, getRootElement()) if myMarker then outputChatBox("Marker created!") else outputChatBox("Marker couldn't be created!") end function openForMe(hitElement, matchingDimension) if getElementType ( hitElement ) == "player" then local wanted = getPlayerWantedLevel ( hitElement ) if wanted == 0 then outputChatBox("Are you sure you want to leave Alcatraz?", hitElement, 0, 255, 0) outputChatBox("Say: /leave if u want to leave", hitElement, 255, 200, 0) addCommandHandler("leave", teleportMassive) end end end addEventHandler("onMarkerHit", myMarker, openForMe) function teleportMassive(player, matchingDimension) setElementPosition(player, -2279.3093261719, 1909.4665527344, 8.9688625335693) setElementRotation(player, 270.36642456055) removeCommandHandler("leave") end
  20. Here: https://github.com/courtezboi/mta-paradise
  21. Have you edited the script?
  22. Please don't double-triple post, use the "EDIT" button, thanks.
  23. look carefully: addEventHandler("onClientGUIClick", GUIEditor_Button[1], playerPressButon) "BUTON" and must be: "BUTTON"
  24. uhm, where is the event handler for the button?
  25. try this o_o, ---- Clientsided function cgui() local sWidth, sHeight = guiGetScreenSize() local Width,Height = 629,451 local X = (sWidth/2) - (Width/2) local Y = (sHeight/2) - (Height/2) GUIEditor_Button = {} GUIEditor_Edit = {} GUIEditor_Grid = {} showCursor(true,true) PM_Main_Window = guiCreateWindow(X,Y,Width,Height,"PM System by Pr0RaC3R v0.1 Alpha",false) guiWindowSetSizable(PM_Main_Window,false) GUIEditor_Grid[1] = guiCreateGridList(9,20,611,206,false,PM_Main_Window) GUIEditor_Edit[1] = guiCreateEdit(9,226,611,141,"",false,PM_Main_Window) guiEditSetMaxLength(GUIEditor_Edit[1],100) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) GUIEditor_Button[1] = guiCreateButton(181,379,240,56,"Send message",false,PM_Main_Window) local column = guiGridListAddColumn(GUIEditor_Grid[1],"Player Name",0.2) if (column) then for id,player in ipairs (getElementsByType("player")) do local row = guiGridListAddRow(GUIEditor_Grid[1]) guiGridListSetItemText(GUIEditor_Grid[1],row,column,getPlayerName(player),false,false) end end end function playerPressButton (button,state,AbsoluteX,AbsoluteY) if (source == GUIEditor_Button[1]) then local text = guiGetText (GUIEditor_Edit[1]) outputChatBox(tostring(text)) end end addCommandHandler("pm",cgui)
×
×
  • Create New...