Jump to content

Anony#

Members
  • Posts

    110
  • Joined

  • Last visited

Everything posted by Anony#

  1. a melhor maneira de fazer isso é através da criação de um script php I do not know if I understand right what you say
  2. I was having the same problem. local objects = {{}, {"object",id="object(vgn_corpbuild3)(1)",doublesided="false",model="6873",interior="0",dimension="0",posX="2015.6341552734",posY="-4775.201171875",posZ="24.309450149536",rotX="270",rotY="180",rotZ="180"}} understand the logic logic. local object = createObject() if objects[2] == "true" then setElementDoubleSided(object,true) end do not use in all objects setElementDoubleSided(object,true) use only what is true doublesided="true" if objects[2] == "true" then
  3. Anony#

    Server Load

    https://wiki.multitheftauto.com/wiki/Re ... ncebrowser check for possible leaks. you use quality hosting or a local server?
  4. Anony#

    Server Load

    you need to create your own download manager .. (so you can create a tree to be downloaded from the way you like) obs. have other ways to do this however I believe that a download manager is the best one.
  5. these scripts were released. has no problem with being sold.
  6. if not have admin rights can not create accounts.
  7. you want to create a column with the names?
  8. learn moon scripting. Here is a good tutorial http://www.lua.org/doc/wjogos04.pdf
  9. Anony#

    SQLlite

    I think you need to use dbFree
  10. try this. g_me = getLocalPlayer() function bolt() vehicles = getPedOccupiedVehicle (localPlayer) setElementData(localPlayer,"vehic",vehicles) aoi = getElementData(localPlayer,"vehic") outputChatBox(aoi) end setTimer(bolt,500,-1) function kill(thePlayer, vehicles) setElementDimension(aoi, 5) triggerServerEvent('onRequestKillPlayer', g_me) end addCommandHandler('kill',kill) addCommandHandler('Commit suicide',kill) bindKey ( next(getBoundKeys"enter_exit"), "down", "Commit suicide") server addEvent('onRequestKillPlayer', true) addEventHandler('onRequestKillPlayer', getRootElement(),function() for player, dead in ipairs(getElementsByType("player")) do setElementHealth(dead, 0) end end) addEventHandler('onVehicleStartExit', getRootElement(), function() cancelEvent() end)
  11. try this. root = 0; addEventHandler ( "onClientRender", getRootElement(),function() root = root+5; outputDebugString(root) dxDrawImage ( 500, 500, 99, 100, "imgname.jpg" , root, 0, 0, tocolor(155,155,155,155), true); end)
  12. guiSetInputMode("no_binds_when_editing")
  13. just a simple script that can be modified http://www.mediafire.com/download/etbx3wqepvcqokv/win.zip THIS JUST SHOWS THE POSITION THAT THE PLAYERS DIED, I hope it is useful
  14. your code this messy start the right way good luck. local Object = createObject ( 3344, -11.482395172119, 2071.0393066406, 17.4921875, -11.482395172119, 2071.0393066406, 17.4921875) local Marker = createMarker ( -11.482395172119, 2071.0393066406, 17.4921875, "cylinder", size, 0, 0, 0, 80 ) Team = "..." OpenObjectEnter = function(player) x, y, z = getElementPosition ( player ) --position x y z moveObject ( Object, 3000, x, y, z ) end addEventHandler ( "onMarkerHit", getRootElement(), OpenObjectEnter) OpenObjectExit = function(player) x, y, z = getElementPosition ( player ) --positions x y z moveObject ( Object, -3000, x, y, z ) end addEventHandler ( "onMarkerHit", getRootElement(), OpenObjectExit)
  15. what's the problem? try this local screenW, screenH = guiGetScreenSize() local marker = createMarker(1810.1166992188, -1271.3551025391, 13.6328125, "cylinder", 2.0, 250, 50,0, 150) window = guiCreateWindow((screenW - 243) / 2, (screenH - 467) / 2, 243, 467, "", false) guiWindowSetSizable(window, false) gridlist = guiCreateGridList(11, 21, 222, 436, false, window) guiGridListAddColumn(gridlist, "Elevator", 0.9) guiSetVisible (window, false) function open(hitPlayer) if hitPlayer == localPlayer and not isPedInVehicle(hitPlayer) then guiSetVisible (window, true) showCursor(true) addTeleports() end end addEventHandler("onClientMarkerHit", marker, open) function addTeleports() guiGridListClear( gridlist ) if guiGetVisible(window) == true then local file = xmlLoadFile ("Teleports.xml") local meNodes = xmlNodeGetChildren(file) for i,v in ipairs( meNodes ) do local name = xmlNodeGetAttribute( v,"name") local row = guiGridListAddRow( gridlist ) guiGridListSetItemText ( gridlist, row, 1, tostring(name), false, true ) end end end function teleport( ) local row,col = guiGridListGetSelectedItem( source ) if row and col and row ~= -1 and col ~= -1 then local name = guiGridListGetItemText( source, row, 1 ) local file = xmlLoadFile ("Teleports.xml") if file then for i,v in ipairs( xmlNodeGetChildren( file ) ) do local teleportName = xmlNodeGetAttribute( v,"name" ) if teleportName == name then local poX = xmlNodeGetAttribute( v,"posX" ) local poY = xmlNodeGetAttribute( v,"posY" ) local poZ = xmlNodeGetAttribute( v,"posZ" ) setElementPosition( getPedOccupiedVehicle( localPlayer ) or localPlayer, tonumber( poX ), tonumber( poY ), tonumber( poZ + 2 ) ) end end end end end addEventHandler( "onClientGUIDoubleClick",gridlist, teleport, false)
  16. nobody will give you anything or will do nothing for you here is WHAT YOU need. createMarker onMarkerHit addEventHandler onMarkerLeave setCameraMatrix setCameraTarget
  17. SQLite is not a flat-file database and MySQL is not a "normal" database. They are both implementations of SQL. SQLite is no less "relational" than MySQL. a professional environment and advisable sqlite
  18. \MTA San Andreas 1.3\server\mods\deathmatch\resources
×
×
  • Create New...