Jump to content

WASSIm.

Members
  • Posts

    1,411
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by WASSIm.

  1. dbPoll: for get result from dbQuery dbQuery: for get data from database dbExec: for edit database
  2. i mean database server not database on custom file bcs you'r use executeSQLQuery if you see it in line 31
  3. i don't see tablr called hud_option
  4. WASSIm.

    Team vehicles

    Read Scripting_Introduction if you want learn scripting
  5. Try this (client side) local playerBlips = {} local distance = 30 addEventHandler("onClientResourceStart", resourceRoot, function() for k, thePlayer in ipairs(getElementsByType("player")) do if not (playerBlips[thePlayer]) and not (thePlayer == localPlayer) then playerBlips[thePlayer] = createBlipAttachedTo(thePlayer, 0, 0) end end end) addEventHandler("onClientPlayerJoin", root, function() if not (playerBlips[source]) and not (source == localPlayer) then playerBlips[source] = createBlipAttachedTo(source, 0, 0) end end) addEventHandler("onClientRender", root, function() for thePlayer, theBlip in pairs(playerBlips) do if (isElement(thePlayer)) and (isElement(theBlip)) and not (thePlayer == localPlayer) then local R, G, B = getPlayerNametagColor(thePlayer) local px, py, pz = getElementPosition(thePlayer) local bx, by, bz = getElementPosition(theBlip) setBlipColor(theBlip, R, G, B, 255) setBlipVisibleDistance(theBlip, distance) if (getDistanceBetweenPoints3D(px, py, pz, bx, by, bz) >= distance) then setBlipColor(theBlip, R, G, B, 0) end end end end) addEventHandler("onClientPlayerQuit", root, function() if (isElement(playerBlips[source])) then destroyElement(playerBlips[source]) playerBlips[source] = nil end end)
  6. try this Client Side local playerBlips = {} local distance = 30 addEventHandler("onClientResourceStart", resourceRoot, function() for k, thePlayer in ipairs(getElementsByType("player")) do if not (playerBlips[thePlayer]) and not (thePlayer == localPlayer) then playerBlips[thePlayer] = createBlipAttachedTo(thePlayer, 0, 0) end end end) addEventHandler("onClientPlayerJoin", root, function() if not (playerBlips[source]) and not (thePlayer == localPlayer) then playerBlips[source] = createBlipAttachedTo(thePlayer, 0, 0) end end) addEventHandler("onClientRender", root, function() for thePlayer, theBlip in pairs(playerBlips) do if (isElement(thePlayer)) and (isElement(theBlip)) and not (thePlayer == localPlayer) then local R, G, B = getPlayerNametagColor(thePlayer) local px, py, pz = getElementPosition(thePlayer) local bx, by, bz = getElementPosition(theBlip) setBlipColor(theBlip, R, G, B) setBlipVisibleDistance(theBlip, distance) if (getDistanceBetweenPoints3D(px, py, pz, bx, by, bz) >= distance) then setBlipColor(theBlip, R, G, B, 0) end end end end) addEventHandler("onClientPlayerQuit", root, function() if (isElement(playerBlips[source])) then destroyElement(playerBlips[source]) playerBlips[source] = nil end end)
  7. try this --[[ Author: iOm Project: UGC:MTA Development Server ]]-- SerialList = { ["Serial"] = true, -- Chillax } -- Checker function serialCheck ( ) local SV = getPlayerSerial(source) if SV then if (SerialList[SV]) then outputChatBox("Welcome To Development Server of UGC:MTA (Serial Logger)",source,255,0,0) else redirectPlayer(source, "s1.ugcmta.net", 22003) end end end addEventHandler("onPlayerJoin", getRootElement(), serialCheck) if not working try to change "s1.ugcmta.net" to "mtasa://s1.ugcmta.net"
  8. normalment bil E-Dinar wala tamchilelhom lil agence
  9. WASSIm.

    Hackers

    i think hackers can change only elements data client side only
  10. WASSIm.

    Call remote

    use fetchRemote to download file
  11. nachri class 1 awal 7aja wa ki bdit narba7 fih flos wa server ma3adch yarfa3 n9awi
  12. VPS Classic 3 bi 15.980DT/mois + bach tbadal isem domaine bi 14.000DT/AN total = 205,760DT/AN
  13. tnajam t7al site wa servers orin ama inti wil RAM wa CPU... wa CIT wa SAUR 7ata homa bil VPS haka 3alach tra ip mta3 site nafsha hiya mta3 server
  14. OVH masma3th bih 9bal ama mawjod fi tounis ki thabat fil site ama maibi3ch game servers bach ta5o bil slot ama ibi3 VPS tnajam t7al bih server + aswemou yaser tayara
  15. idiot hadhi il original: https://www.facebook.com/events/1560324837547679
  16. there script on MTA Community but i forget his name
  17. https://community.multitheftauto.com/in ... ls&id=8663 set setting name "Kill Zombie EXP" to true an start it
  18. wrong board: viewforum.php?f=108
  19. if you can do it by yourself this original picture
  20. As far as I know, this would work, and I see no reason why not. Maybe you can try making custom functions that slightly modify the file, so it is corrupted when the user loads it. When you want to read the file, load a custom function. You can try the code below, but I'm at school right now so I cannot test it. is better if use them base64Encode and base64Decode Or teaEncode and teaDecode.
  21. thank you for shareing my resources High Save System and Vehicle Hud i hope you add my other resource * Resource Name: Level System * Resource Topic: None * Resource Description: make players have level and exp * Resource Download: https://community.multitheftauto.com/index.php?p= ... ls&id=8663 * Required items: Enhanced
×
×
  • Create New...