Jump to content

Kenix

Retired Staff
  • Posts

    4,121
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Kenix

  1. Да это я знаю, хотел в регулярке сделать всё. Спасибо в любом случае.
  2. 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 то всё будет работать! Помогите пожалуйста.
  3. Simple, anyway good job.
  4. Новые скрины GTA5 http://www.rockstargames.com/V/
  5. http://forum.sa-mp.com/showthread.php?t=369919
  6. Kenix

    [HELP]isPedDead

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

    [HELP]isPedDead

    You should use operator or
  9. Запроси на баг трекере. А вообще можно написать свою систему аккаунтов.
  10. Kenix

    [HELP] minigame

    Variable victim is not element it's boolean so you should use predefined variable source. Source is wasted player.
  11. 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.
  12. setTimer addCommandHandler removeCommandHandler
  13. Very good logo. Keep it up!
  14. 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.
  15. You can insert all weapons in table when player wasted and when player spawned give all weapons from table.
  16. Happy Birthday Remi-X !
×
×
  • Create New...