Jump to content

Meshare

Members
  • Content Count

    54
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Meshare

  • Rank
    Snitch
  1. but hard use xampp need to use it ? if need and you know how can instal it ? if you can instal it i will give you my website to instal xampp '
  2. i try server but be download file size : 0
  3. try : local pickups = {} addEvent("onPlayerTrash", true) addEventHandler("onPlayerTrash", root, function(wName, wAmmo) local x,y,z = getElementPosition(source) pickups[source] = createPickup(x, y, z, 2, getWeaponIDFromName(wName), 1000, tonumber(wAmmo)) if pickups[source] then addEventHandler("onPickupHit",root,onHitPickup) outputChatBox("*Has tirado correctamente el arma "..wName, source, 0, 255, 0) takeWeapon(source, getWeaponIDFromName(wName), tonumber(wAmmo)) else outputChatBox("*Ha ocurrido un error al tirar el arma. Reporta
  4. this is fuill code ?
  5. test : local respawn = 2000; local pick = createPickup(x,y,z,type,id,respawn); setTimer(function(); respawn = nil; destroyElement(pick); end,6000,1); destroy after 6 scn
  6. function startCarDownload() fetchRemote ( "http://pstangerredo.bugs3.com/46.dff", myCallback, "", false ) end addCommandHandler ( "rem", startCarDownload ) function myCallback( responseData, errno ) if errno == 0 then outputChatBox ( "it works" ) local newFile = fileCreate("derp.dff") if (newFile) then fileWrite(newFile,responseData) fileClose(newFile) end loadMod() end end function loadMod() dff = engineLoadDFF ( "derp.dff", 587 ) engineReplaceModel ( dff, 587 ) end
  7. The Server : (for example just) local TheTableServer = {}; setTimer( function(); for _,allResult in ipairs (TheTableServer) do; if ( allResult ) then; triggerClientEvent("upResultTableToClient",getRootElement(),allResult); end; end; end; ,10000,0); The Client : local TheTableClient = {}; addEvent("upTableToClient",true); addEventHandler("upTableToClient",getRootElement(), function(AllResult); for _,allResult_ in ipairs (TheTableClient) do; if ( allResult_ ) then;
  8. source : https://wiki.multitheftauto.com/wiki/Ge ... yersInTeam I did not search thank you .
  9. hey all i want getAlivePlayers but in my team not all players in server function alive() local playersAlive = getAlivePlayers() -- i want all player in my team only . outputChatBox("Alive Players in you team : "..#playersAlive.."",source,255,255,0,true) end addEventHandler("onPlayerWasted",getRootElement(),alive)
  10. hi guys how i can Up My Vehicle file - dff - col - txd , to url then Up to server , for fast download server ? Such as sound Url .
  11. Meshare

    CameraTarget

    thanks again , i want if click button do Target random player alive in my team
×
×
  • Create New...