Jump to content

Karuzo

Members
  • Posts

    1,213
  • Joined

  • Last visited

Everything posted by Karuzo

  1. You have to create the vehicles server sided
  2. Karuzo

    help ..

    You didn't defined thePlayer.
  3. Stop reporting resources which shouldn't be reported.
  4. You can't report a resource just because you think its bad lol.
  5. https://wiki.multitheftauto.com/wiki/WarpPedIntoVehicle
  6. Or you just add one databasr for server and website together.
  7. Karuzo

    Question

    Or just use export.resourcename:functionname
  8. ^This. You should really use SQL.
  9. You should really read these pages before you start scripting. https://wiki.multitheftauto.com/wiki/Sc ... troduction http://www.lua.org/pil/contents.html
  10. Hey, I was bored and just searched for mta in the wayback machine and look what i've found I like that page tho it's from 2006. Here's the full link : http://web.archive.org/web/200607020139 ... mtasa.com/
  11. Niggas Got Stoned KRZ
  12. https://community.multitheftauto.com/index.php?p= ... ls&id=9212 On first page of the community site..
  13. what do you mean with scanf? You could do smth like this : function isMouseWithinRangeOf(psx,pssx,psy,pssy) -- Psx = position x , pssx = width , psy = postition y , pssy = height if isCursorShowing() == false then return false end local cx,cy = getCursorPosition() cx,cy = cx*x,cy*y if cx >= psx and cx <= psx+pssx and cy >= psy and cy <= psy+pssy then return true,cx,cy else return false end end addEventHandler("onClientRender",root, function() if isMouseWithinRangeOf(x,180,y,25) then color = tocolor(255,0,0,255) else color = tocolor(255,255,255,255) end end )
  14. https://wiki.multitheftauto.com/wiki/OnClientCursorMove Use this function. You just need some checks.
  15. That was exactly what i'm trying to say.
  16. getElementData(player,"YourData") Simple as that.
  17. Karuzo

    Blips no work

    local r, g, b local blip function onSpawn ( ) takeAllWeapons ( source ) giveWeapon ( source, 24, 100 ) local playerTeam = getPlayerTeam(source) if (playerTeam) then r, g, b = getTeamColor(playerTeam) blip = createBlipAttachedTo ( source, 0 , 2 , r,g,b ) setPedStat ( source, 73, 1000 ) setPedStat ( source, 75, 1000 ) setPedStat ( source, 71, 1000 ) setPedStat ( source, 75, 1000 ) giveWeapon ( source, 26, 100 ) setPedStat ( source, 77, 1000 ) setPedStat ( source, 78, 1000 ) giveWeapon ( source, 32, 100 ) giveWeapon ( source, 31, 150 ) giveWeapon ( source, 46, 200 ) givePlayerMoney ( source, 5000 ) else r,g,b = 255,255,255 blip = createBlipAttachedTo ( source, 0 , 2 , r,g,b ) end end addEventHandler ( "onPlayerSpawn", getRootElement(), onSpawn ) function onPlayerQuit () destroyElement ( blip ) end function onPlayerWasted ( ) destroyElement ( blip ) end addEventHandler ( "onPlayerQuit", getRootElement(), onPlayerQuit )
  18. Karuzo

    ASCII

    You could try to use the string.* functions.
  19. So you have to update the text?
  20. Nice Tutorial! Great Job.
×
×
  • Create New...