Jump to content

TorNix~|nR

Members
  • Posts

    503
  • Joined

  • Last visited

4 Followers

About TorNix~|nR

  • Birthday 03/09/2001

Details

  • Location
    Tunisia

Recent Profile Visitors

5,210 profile views

TorNix~|nR's Achievements

Playa Partner

Playa Partner (27/54)

22

Reputation

  1. Thank you for providing help but I tried this and multiple attempts, none of them worked any other help please?
  2. Already tried it, same problem
  3. Hello guys, I get this error when I use the convertNumber method attempt to perform arithmetic on local 'oldZcount' (a string value) function convertNumber ( number ) local formatted = number while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2') if ( k==0 ) then break end end return formatted end --ADJUSTS PLAYERS ZOMBIE KILL SCORE function deanimated( ammo, attacker, weapon, bodypart ) if (attacker) then if (getElementType ( attacker ) == "player") and (getElementType ( source ) == "ped") then if (getElementData (source, "zombie") == true) then -- HERE -- local oldZcount = convertNumber(getElementData ( attacker, "Zombie kills" )) -- HERE -- if oldZcount ~= false then setElementData ( attacker, "Zombie kills", oldZcount+1 ) triggerEvent ( "onZombieWasted", source, attacker, weapon, bodypart ) else setElementData ( attacker, "Zombie kills", 1 ) triggerEvent ( "onZombieWasted", source, attacker, weapon, bodypart ) end end end end end addEventHandler("onPedWasted", resourceRoot, deanimated) any help please?
  4. what kinda save system you want? for example to save weapons, health, position..?
  5. TorNix~|nR

    Object

    @The_GTA, thank you @IIYAMA your method worked, thank you so much
  6. TorNix~|nR

    Object

    is there anyway to use the setObjectBreakable function. in server-side?
  7. TorNix~|nR

    Object

    I made a gate using the object number (990) it can be broken for example by a car, I want to fix it when I used the editor resource just to test it, I made it frozen and it worked (it can not be damaged)
  8. TorNix~|nR

    Object

    Hello everyone, I want to know how to make the object frozen like in the editor I'm using createObject is there anyway to make it frozen?
  9. It's working, thank you so much
  10. I still can click only to players with no hex, I think this is the problem getPlayerFromName(guiGridListGetItemText(gridOpenSenior, guiGridListGetSelectedItem(gridOpenSenior), 1)) can gsub be added to this?
  11. Hello guys, I have a problem, I'm trying to hide hex colors from a grid list and it didn't work for id,player in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(gridlist) setTimer ( guiGridListSetItemText , 100 , 1 , gridlist, row, column, getPlayerName(player):gsub("#%x%x%x%x%x%x", ""), false, false ) end any help please?
  12. I tried that, it's the same
  13. It's working, but a little problem when you change your clothes and change another skin and you reconnect, the clothes are gone, any fix please?
  14. Resource: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10588
×
×
  • Create New...