PacMan

Members
  • Content Count

    22
  • Joined

  • Last visited

Community Reputation

0 Neutral

About PacMan

  • Rank
    Civilian

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. PacMan

    wasEventCancelled returns false - always

    Status wasEventCancelled changes only after all event handlers, and not during execution. Correspondingly wasEventCancelled can only be used after calling the event, using triggerEvent.
  2. PacMan

    New line character in string.format

    The reason is simple, when extracting data from XML file, all backslash (\) are duplicated.
  3. PacMan

    map converter problem

    This is bug http://bugs.mtasa.com/view.php?id=5301
  4. PacMan

    [Help] problem in my scripting :(

    In this case string interpolates C++, but not Lua, this must consider.
  5. PacMan

    [Help] problem in my scripting :(

    varez, you propose the wrong decision, when you convert nil in the number of remains nil. The error says that you compare the number with nil value, this happens when you do not enter the transfer amount. After the announcement of the function add "rrr = tonumber(rrr) or 0".
  6. PacMan

    Can I export table in triggerClientEvent?

    In this example, you are call two unpack functions together, the syntax Lua is unacceptable, you first have to pack everything into one table, and then unpack it.
  7. PacMan

    Ped

    Give and 200 and 10000 ammo, it does not affect. Note that if don't called setPedControlState (ped, "aim_weapon", true), then fire is visible, but the bullets did not fly in the direction indicated setPedAimTarget (ped, 5, 5, 3), and in side as he was spawned, ie rotation don't work.
  8. PacMan

    Ped

    Tell me please how force NPC to shoot? I do so: setPedAimTarget (ped, 5, 5, 3) setPedControlState (ped, "aim_weapon", true) setPedControlState (ped, "fire", true) Animations fire playing, and shots are not visible.
  9. PacMan

    MTA ac integrated?!

    When godmode this event does not work.
  10. PacMan

    Alternative account system

    Better still make a function similar to temporary login with obtaining rights as it is now using /login triggered event onPlayerLogin and leaving onPlayerLogout. When player logout ACL rights should automatically disappear. For example: playerLogin( player thePlayer, acl theAcl ) playerLogout( player thePlayer )
  11. PacMan

    Alternative account system

    With these functions would be much easier, for example, take your "admin" resource. There are commands to administer the server, but to use them need ACL right, could simply get necessary rights and working with any resources. You can certainly go the difficult way and write your own system for temporary obtaining of rights, constantly adding and removing user accounts and ACL rights, but agree it is not the best solution.
  12. PacMan

    Alternative account system

    It would be nice if there were add scripting function for virtual set ACL rights for player at time of current game. Something like: setPlayerAclGroup (player thePlayer, string groupName, bool access) Or: loginAclGroup( player thePlayer, string groupName ) logoutAclGroup( player thePlayer ) That would be a good alternative use for its own account system.
  13. PacMan

    MTA ac integrated?!

    Today I specifically tested cheats on weapons, if you give weapon to itself that you previously was not, you some time can go with it and then write Network Trobleshoting, while from it is impossible to kill. If you use client-side functions for get weapons/ammo write cheats ammo values, server-side functions write that you have weaponID 0 and writes number of ammo that you gave yourself. If script give to you any weapon, you can safely give yourself any number ammo, this number will be synchronized with the server, you can go with the infinite weapons and all kills.
  14. PacMan

    Help with EDF

    The first step read wiki, but there is not complete information. There not told and many other possibilities have to look at other resources.
  15. PacMan

    Help with EDF

    I can not find nowhere complete information on EDF. I am interested in what other child besides may contain the root element , saw a , is there still something like what is unspecified the wiki? Also, I would like to know the complete list of supported attributes for and . Tell me where can read about this?