Jump to content

Kenix

Retired Staff
  • Posts

    4,121
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Kenix

  1. Да это я знаю, хотел в регулярке сделать всё. Спасибо в любом случае.
  2. Жалко, ладно запросил на баг трекере.
  3. local sText = 'Kenix' print( sText:match '[a-zA-Z0-9_]{3,}' ) -- nil Такое регулярное выражение не работает, но если вместо квантификатора поставить символьные классы local sText = 'Kenix' print( sText:match '[a-zA-Z0-9_][a-zA-Z0-9_][a-zA-Z0-9_][a-zA-Z0-9_]' ) -- Keni то всё будет работать! Помогите пожалуйста.
  4. Simple, anyway good job.
  5. Новые скрины GTA5 http://www.rockstargames.com/V/
  6. http://forum.sa-mp.com/showthread.php?t=369919
  7. No problem.
  8. Kenix

    [HELP]isPedDead

    if source == criminal1 and isPedDead( criminal2 ) or source == criminal2 and isPedDead( criminal1 ) then -- code end in event onPedWasted.
  9. https://wiki.multitheftauto.com/wiki/Set ... undEnabled
  10. Kenix

    [HELP]isPedDead

    You should use operator or
  11. Запроси на баг трекере. А вообще можно написать свою систему аккаунтов.
  12. Прочел, посмеялся
  13. Kenix

    [HELP] minigame

    Variable victim is not element it's boolean so you should use predefined variable source. Source is wasted player.
  14. Kenix

    [HELP]isPedDead

    So if you want sync ped for all players you should make it on server side. Also if you want detect if ped wasted use server side event onPedWasted.
  15. setTimer addCommandHandler removeCommandHandler
  16. No problem. Good luck.
  17. Very good logo. Keep it up!
  18. Good job!
  19. Your code is wrong here thePlayer = isElement(thePlayer) Variable thePlayer now is boolean but you should use userdata in other functions like setElementHealth and etc. So this line in your code is not needed. Also setTimer ( function ( thePlayer ) setElementHealth ( thePlayer, getElementHealth ( thePlayer ) + 5 ) end , 2000, 0, source ) source is not defined in your code. Source is nil. You should use thePlayer variable.
  20. You can insert all weapons in table when player wasted and when player spawned give all weapons from table.
  21. Happy Birthday Remi-X !
×
×
  • Create New...