Jump to content

My clan is deleted // Mi clan es borrado


Recommended Posts

Necesito ayuda con un problema que estoy teniendo.

Ultimamente estuve buscando soluciones para mi error, el cual es que al crear un ''clan'' ''team'' con el panel de administrador (P) al reconnectar se borraba. Busque un script llamado ''teamsaverbynew'' el cual me funciono, pero al cerrar el servidor el clan se borra automaticamente, ¿alguna solución?, MUCHAS GRACIAS! :D

------------------------------------------------------------------------------------------------------------------------------------------------------

I need help with a problem I'm having.

Lately I've been looking for solutions for my mistake, which i create a clan//team with the admin panel (P) but when i reconnect it's erased. A script called '' teamsaverbynew '' which worked for me, but when i close the server the clan is automatically deleted, any solution ?, THANK YOU! :D

Link to comment
Ok, it's work, although when i reconnect, i'm not into the clan ._.

Sorry, i'm newbie on scripts//resources

Add this to the script:

function MoverteATuClan ( ) 
local myNick = "nick" ---pon ahí tu nick 
local myTeam = getTeamFromName("Nombre del Team") 
if getPlayerName(source) == myNick then 
setPlayerTeam(source,myTeam) 
end 
end 
addEventHandler("onPlayerJoin", root, MoverteATuClan) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...