Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 13/08/20 in all areas

  1. Hi Hydra and welcome to the forums. Can you please further elaborate on your request as it's currently a bit vague. There are some questions that I ask myself, and that's whether it's paid or free work, what are the expectations from Staff members and what are they going to work with, etc. You can find rules for posting here: https://forum.multitheftauto.com/topic/93567-rules-and-formatting-for-this-section/
    1 point
  2. 1 point
  3. getPedWeapon tem um 2º argumento que é o slot da arma (https://wiki.multitheftauto.com/wiki/Weapons) O slot da AK-47 é o 5, então a sintaxe é: if getPedWeapon(source, 5) then
    1 point
  4. كلام ابو سولو صحيح .. الناس هل ايام ماعاد حد يحب الجديد <@> والعبة ماعادت نفس قبل ... اتمنى لك التوفيق
    1 point
  5. Hi all, is there any function that saves the player's position and money ?
    1 point
  6. thanks castillo thanks tapl thanks kenix
    1 point
  7. addEventHandler("onPlayerQuit",root, function() local acc = getPlayerAccount(source) if (acc) and not isGuestAccount(acc) then local x,y,z = getElementPosition(source) local money = getPlayerMoney(source) setAccountData(acc,"PosX",x) setAccountData(acc,"PosY",y) setAccountData(acc,"PosZ",z) setAccountData(acc,"Money",money) end end) addEventHandler("onPlayerLogin",root, function(_,acc) local x,y,z = getAccountData(acc,"PosX"),getAccountData(acc,"PosY"),getAccountData(acc,"PosZ") local Money = getAccountData(acc,"Money") or 0 setPlayerMoney(source,Money) spawnPlayer(source,x,y,z) fadeCamera(source, true) setCameraTarget(source) end
    1 point
  8. createMarker attachElements setTimer setMarkerSize
    0 points
×
×
  • Create New...