event.player ?

  • Hi


    how do I know what event.player can do and support and what other structures I can access? I just did want to get player name and dont really know what event.player:getPlayer or getName oder only Name oder Player?

  • You should wait until the wiki is ready, it will be available shorty ;) There you find a full list of all functions ;)
    Btw. to get the player name, you can use:
    [lua]local playername = event.player:getPlayerName()[/lua]

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!