Jump to content

Johns

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

817 profile views

Johns's Achievements

Vic

Vic (3/54)

0

Reputation

  1. @Easterdie can you please re-upload the maps/arenas link, because the links are not working. Thanks.
  2. works thank you
  3. another thing showed up, when i restart server it doesnt save anymore why
  4. thanks you both it works
  5. Johns

    acl issue

    dont edit the file once the server is open
  6. hi some time ago castillo give a script that saves team why it no work? he said he have no time to test. function playerLogin (thePreviousAccount, theCurrentAccount, autoLogin) if not (isGuestAccount (getPlayerAccount (source))) then local accountData = getAccountData (theCurrentAccount, "team") if (accountData) then setPlayerTeam(source,accountData) end end end addEventHandler ("onPlayerLogin", getRootElement(), playerLogin) function onQuit (quitType, reason, responsibleElement,thePreviousAccount) if not (isGuestAccount (getPlayerAccount (source))) then account = getPlayerAccount (source) if (account) then local team = getPlayerTeam(source) local teamname = getTeamName(team) setAccountData (account, "team", teamname) end end end addEventHandler ("onPlayerQuit", getRootElement(), onQuit) function onLogout(prevAccount) if not (isGuestAccount (getPlayerAccount (source))) then account = getPlayerAccount (source) if (account) then local team = getPlayerTeam(source) local teamname = getTeamName(team) setAccountData (account, "team", teamname) end end end addEventHandler("onPlayerLogout", getRootElement(), onLogout)
×
×
  • Create New...