Jump to content

Kenix

Retired Staff
  • Posts

    4,121
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Kenix

  1. Kenix

    can't use ~=

    print( not false ) -- true
  2. viewtopic.php?f=108&t=29990&p=337791#p337791 Read Ransom post.
  3. Check conditions via outputChatBox for example.
  4. https://community.multitheftauto.com/index.php?p= ... ils&id=977
  5. Use function bindKey i said before. No one will write code for you. You should write yourself.
  6. guiSetVisible bindKey Use [lua ] [/lua ] tags(without spaces) if you want paste lua code!
  7. Если бы ты врубил дебаг, ты бы увидел, что вместо элемента у тебя строка. Я про переменную thePlayer.
  8. Kenix

    dbPoll

    wiki.multitheftauto.com/wiki/Modules/MTA-MySQL/mysql_fetch_assoc
  9. Kenix

    Falling

    Don't be lazy. Test it
  10. You can also store all data in lua tables, it's more faster instead of MTA functions.
  11. Trigger to client side when you login and set text to this label with account data.
  12. It's same when you use this or use predefined variable
  13. it's wrong, because you call method, so correct addEventHandler( 'onClientRender', root, self.__window ); here you use function, instead of call method.
  14. Заменить блипы пока нельзя, но можно юзать для этого ресурс https://community.multitheftauto.com/ind ... ils&id=960
  15. Почему передача денег другому игроку не сделана через банк, а через ucp? Также можно было бы и телефон сделать, например покупка в магазине, если есть, с возможностью выбора модели, например nokia, htc чтобы можно было писать сообщения и делать многое другое вместо ucp. Это чисто мои мнения, предложения. Удачи проекту
  16. Never use onClientRender for this target. Use timer instead. Think please before post advice.
  17. Kenix

    few problems

    It's wrong. You can't use spaces in event name. You should use original event name. Read wiki before post something. Also you don't use function in this handlers addEventHandler( "onClientGUIAccepted", theedit) addEventHandler(" onClientGUIAccepted", theedit2) addEventHandler(" onClientGUIAccepted", theedit3)
  18. You should use parent argument. TAPL said before.
  19. Did you read my topic about predefined variables?
×
×
  • Create New...