Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. lol it was: u suck not: u[space]suck
  2. what this do and read my post up this will get all teams in the Server
  3. then he have to use this for i,team in ipairs(getElementsByType("team")) do this Example will output in chat all teams name for i,team in ipairs(getElementsByType("team")) do outputChatBox(getTeamName(team)) end
  4. ^^ local team1 = getTeamFromName("Xeno 1") local team2 = getTeamFromName("Xeno 2")
  5. TAPL

    How to do........

    really? can you quote my post?
  6. TAPL

    How to do........

    lol? you still can't understand this? viewtopic.php?f=91&t=36758 viewtopic.php?f=91&t=37161
  7. for id, player in ipairs(getElementsByType("player")) do -- your code here end and maybe you mean getPlayerFromName
  8. stolen: https://community.multitheftauto.com/index.php?p= ... ls&id=3020
  9. https://community.multitheftauto.com/index.php?p= ... ls&id=3343 https://community.multitheftauto.com/index.php?p= ... ls&id=3338 https://community.multitheftauto.com/index.php?p= ... ls&id=1985 https://community.multitheftauto.com/index.php?p= ... ls&id=2150 https://community.multitheftauto.com/index.php?p= ... ils&id=932 https://community.multitheftauto.com/index.php?p= ... ils&id=483 https://community.multitheftauto.com/index.php?p= ... ls&id=2239
  10. from few months an idiot using bot program register in my server 180 thousand accounts.
  11. TAPL

    Help

    you forgot this setPlayerTeam
  12. TAPL

    vehicle entry

    you mean this maybe? if getElementType(hitPlayer) == "vehicle" then
  13. does guiBringToFront and guiMoveToBack work with dxDrawImage anyway? i don't think use postgui https://wiki.multitheftauto.com/wiki/DxDrawImage postgui : A bool representing whether the image should be drawn on top of or behind any ingame GUI (rendered by CEGUI).
  14. TAPL

    Help with code

    function (player,cmd,numbermax) if not numbermax then return end setMaxPlayers(numbermax) end addCommandHandler ("setmax", )
  15. 3531 is nightly version https://nightly.multitheftauto.com did you read this note: NOTE: THIS IS THE NIGHTLY BUILD SERVER ALL FILES ON HERE SHOULD BE CONSIDERED UNSTABLE STABLE WINDOWS VERSION IS HERE (http://www.mtasa.com) STABLE LINUX VERSION IS HERE (http://linux.multitheftauto.com)
  16. then he have to rename his topic name as Capy do 'More Stupid questions'
  17. shark? you saw shark in my server, true? i remember that was Bssol doing this lol
  18. what? lol you both get out noobs where is the event? wtf the event is there addEventHandler("onClientMouseMove", getRootElement(), function()
  19. TAPL

    fix . .

    addEvent("superHealth",true) addEventHandler("superHealth",root, function () if (getPlayerMoney(source) >= 3000) then setPedStat(source, 24, 1000) setElementHealth ( source, 200 ) takePlayerMoney(source, 3000) outputChatBox("You Have Bought super Health !",source,255,255,0) else outputChatBox("You don't have $3,000 to buy super Health",source,255,0,0) end end)
  20. addEventHandler("onClientMouseMove", root, function() if (source == Button) then playSound("sot.mp3",false) end end)
  21. TAPL

    Questions

    Example 2 https://wiki.multitheftauto.com/wiki/Gui ... etItemText
  22. TAPL

    Questions

    guiGridListGetSelectedItem
  23. TAPL

    A few questions...

    function playerDamage_text ( attacker, weapon, bodypart, loss) if ( bodypart == 9 ) then local pedSlot = getPedWeaponSlot ( attacker ) if (pedSlot == 6) then killPed ( source) triggerClientEvent(attacker,"playKillSound",root) elseif (pedSlot == 5) then setElementHealth(source,getElementHealth(source)-50) triggerClientEvent(attacker,"playKillSound2",root) end end end addEventHandler ( "onPlayerDamage", getRootElement (), playerDamage_text )
  24. TAPL

    A few questions...

    function minusHealth(player) setElementHealth(player,getElementHealth(player)-50) end
  25. TAPL

    C-bug

    function resourceStart () setGlitchEnabled("quickreload",true) setGlitchEnabled("fastmove",true) setGlitchEnabled("fastfire",true) setGlitchEnabled("crouchbug",true) end addEventHandler("onResourceStart",resourceRoot,resourceStart) function resourceStop () setGlitchEnabled("quickreload",false) setGlitchEnabled("fastmove",false ) setGlitchEnabled("fastfire",false) setGlitchEnabled("crouchbug",false) end addEventHandler("onResourceStop",resourceRoot,resourceStop)
×
×
  • Create New...