Jump to content

roaddog

Members
  • Posts

    346
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by roaddog

  1. function onQuit() if isElement(source) then local acc = getPlayerAccount(source) if (acc) and not isGuestAccount(acc) then local walk = getPedWalkingStyle (source) setAccountData(acc, "wstyle", walk) end end end addEventHandler("onPlayerQuit", getRootElement(), onQuit) Try it.
  2. roaddog

    The last reply

    No we good, yes fifty shades of grey son
  3. roaddog

    The last reply

    No we good, yes fifty shades of grey son
  4. roaddog

    The last reply

    Person bellow me is a hoe
  5. roaddog

    The last reply

    Person bellow me is a hoe
  6. roaddog

    The last reply

    Gg wp.
  7. Simply add more button on herelike you have on homepage. Reason why, because on the homepage you can only view resources with images provided. You cant see updates or no image provided res. Fin.
  8. Yes It is removed. https://forum.multitheftauto.com/viewtopic.php?f ... 08#p722638
  9. getAccount returns an account if the account exist, isGuestAccount returns boolean (true/false)
  10. function OpenSkinPanel() local team = "#000000Psycho Ma#990000ns" --Team Name if getPlayerTeam(localPlayer) == getTeamFromName(team) then -- Lets see if the player is in the team guiSetVisible(JanelaPainel,not guiGetVisible(JanelaPainel)) showCursor(not isCursorShowing()) end end
  11. elseif ( name == 'Detective' ) then create3DText ( 'Detective', { x, y, z }, { 0, 120, 255 }, { nil, true } ) local p = createElement ( "GodmodePed" ) setElementData ( p, "Model", 17 ) setElementData ( p, "Position", { x, y, z, rz } ) createBlip ( x, y, z, 61, 2, 255, 255, 255, 255, 0, 450 ) addEventHandler ( 'onMarkerHit', createMarker ( x, y, z - 1, 'cylinder', 2, 0, 0, 0, 0 ), function ( p ) if ( getElementType ( p ) == 'player' and not isPedInVehicle ( p ) and not isPedDead ( p ) ) then if ( getPlayerWantedLevel ( p ) > max_wanted.law ) then return exports['NGMessages']:sendClientMessage ( "The max wanted level for this job is "..tostring ( max_wanted.law )..".", p, 255, 0, 0 ) end if ( getElementData(p, "Group") ~= "Mafia" ) then return exports['NGMessages']:sendClientMessage ( "This job is available only for Mafia member.", p, 255, 0, 0) end local arrests = getJobColumnData ( getAccountName ( getPlayerAccount ( p ) ), getDatabaseColumnTypeFromJob ( "police officer" ) ) if ( arrests < 150 ) then return exports.NGMessages:sendClientMessage ( "This job requires at least 150 arrests", p, 255, 255, 0 ) end triggerClientEvent ( p, 'NGJobs:OpenJobMenu', p, 'detective' ) end end )
  12. You lazy asses, why don't you try to do it by yourselves instead of bothering him to do all the work. He has given you a full RPG gamemode for a free. Cannot be thankful enough?
  13. Use this downloadFile function
  14. Your answer is here https://forum.multitheftauto.com/viewtopic.php?f=105&t=69067
  15. Top top top! Great job, everything is almost possible in MTA, loove it! Thanks mta team. keep it up.
  16. I looove it, great job Gallardo.
  17. These resources contain vehicle mods: https://community.multitheftauto.com/in ... s&id=10841 https://community.multitheftauto.com/in ... s&id=11003 DONE
  18. That is a complete resource. If you have noticed, that is a "Skin Shop". So what's the matter? Well, the size of the resource is 16Mb, and there is bunch of skins mods in it. so yeah.
  19. Skin mods: https://community.multitheftauto.com/ind ... s&id=11459
  20. Cool whip! I mean this is nice project, good luck with it.
  21. CoolText really?
  22. Probably this one https://community.multitheftauto.com/in ... ls&id=9759
  23. Anyone please?
  24. What's up, Look I need help with this loops of my table. Server: This screenshot shows you what the player table stored: but before that, does my table look visually like this : Client: This is what I got, please correct my loops : Thanks
  25. Please, Anyone? I know how to seperate a string into a table by space. to seperate a string by new lines, how to do that, what is the character class? s = "hello world from Lua\n Another line, I believe" for w in string.gmatch(s, "%a+") do print(w) end
×
×
  • Create New...