Jump to content

Johns

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

646 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. another thing showed up, when i restart server it doesnt save anymore why
  3. Johns

    acl issue

    dont edit the file once the server is open
  4. 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...