Jump to content

K4stic

Members
  • Posts

    708
  • Joined

  • Last visited

Everything posted by K4stic

  1. check lines from 16 till 24 all are in code
  2. i think yes they not return 1 i will example: like we are 2 players in server and 1 die they nothing happen. till line 7 all work
  3. Hello MTAsa Community i have an problem with this script i don't know how to solve it the porblem is that they not pass the line 7 local WonSteak = {} function getWonSteakonMapComplete( ) local totalPlayers = getPlayerCount ( ) if ( totalPlayers >= 1 ) then local position = getAliveRacePlayersSteak() if ( position == 1 ) then ------------------------------------------------ -- BlaBLa the other part of Code blabla -- ------------------------------------------------ end end end addEventHandler ( "onPlayerWasted", root, getWonSteakonMapComplete ) function getAliveRacePlayersSteak() local alivePlayers = 0 for index, player in ipairs(getElementsByType("player")) do if getElementData( player, "state" ) == "alive" then alivePlayers = alivePlayers + 1 end end return alivePlayers end
  4. aaa ok Thx sorry just i bad know string. functions
  5. i have Question i found the follow think: Find the first occurrence of the pattern in the string passed. If an instance of the pattern is found a pair of values representing the start and end of the string is returned. If the pattern cannot be found nil is returned. > = string.find("Hello Lua user", "Lua") 7 9 > = string.find("Hello Lua user", "banana") nil can i use it?
  6. i mean any way to check? to Prevent that like if i have an account "DUDE123" to can't register another with same but lowcase letters or the negativ if i have account dude123 to can't create another as DUDE123
  7. anyway how i can solve this? because i use onPlayerLogin get account data set elementdata and etc and as i was say before they little fail
  8. i Found a Bug Dunno how Solve it i will give example: like i have an Account with Name "DUDE123" and another Player can register with same account Name but with small letter like "dude123" how solve that? P.S The Big Problem is that they Got the Same Data like ( weapons, Money and etc )
  9. Good Job DC this map is the Best that you make and the one that i like Because Most Players Use The Drift Just to stay alive in Map and Continue or just For Fun and in This map need Drift just to get the Hunter and be Alive. Awesome!
  10. Very Pro and Awesome map. Good Job Mappers Amazing Record makes the map more cool. Good Job Recorder
  11. because you do a big fail example if your screen sW is 1024 then sW*442 is same as 1024x442 the others values are same by same example i mean
  12. OMG i like this map )) can i get it?
  13. after newest update 6577 i can't connect to any server i have try re-install and all but to connect to server it's request me 6577 and them i installing it after that i can't connect to any server they give me error [CC23] or the follow window in image
  14. how i can do with string formats the text intro * example: i have the text "Hello MTAsa" and they must make it ***********
  15. they have all function and etc just to make the Dx custom Edit Box without the Text part to Correct understund you know the Gui EditBox? if yes theni want make that but with Dx the Problem is how to make the Text part
  16. i need know how the functions and events i know i need know how i can't just locate the algorithm in my head of how they must work D;
  17. -.-" i know how make the editBox but!!!!! i reapeat who no read it BUT! i don't know how put Text on it! like then i type on keyboard to add charter or do backspace to remove charter
  18. no good idea thx but have another way?
  19. Hello MTAsa Community. Can anyone help me to make editbox with Dx? i know how to make the EditBox but i need how to add the charter and with backward remove the charter
  20. this is an Good map i like it
×
×
  • Create New...