crismaster Posted April 18, 2016 Share Posted April 18, 2016 I have this problem This is the script that I use ------- Creado por AZNO10/AndrixX' ---------- objeto = createObject ( 18239, -2095.8000488281, -2340.3000488281, 29, 0, 0, 322.75012207031 ) x,y,z = getElementPosition (objeto) Zona = createColCircle ( x,y, 15, 15 ) function Funcion (source) playerTeam = getPlayerTeam ( source ) Clann = getTeamFromName ( "Admin" ) if ( playerTeam ) == Clann then moveObject ( objeto, 2000, -2095.8000488281, -2340.3000488281, 33, 0, 0, 0 ) outputChatBox ( "BIENVENIDO A LOS LABORATORIOS UMBRELLA", source, 0, 255, 0, true ) else outputChatBox ( "ZONA RESTRINGIDA", source, 255, 0, 0, true ) end end addEventHandler ( "onColShapeHit", Zona, Funcion ) function Funcion2 () moveObject ( objeto, 2000, -2095.8000488281, -2340.3000488281, 29, 0, 0, 0 ) outputChatBox ( "UMBRELLA", source, 0, 255, 0, true ) end addEventHandler ( "onColShapeLeave", Zona, Funcion2 ) [2016-04-17 22:56:04] WARNING: [DayZ-MTA]\PuertaADMIN\puerta.lua:7: Bad argument @ 'getTeamName' [Expected team at argument 1, got nil][code=text] [2016-04-17 22:56:04] WARNING: [DayZ-MTA]\PuertaADMIN\puerta.lua:7: Bad argument @ 'getTeamName' [Expected team at argument 1, get vehicle] Link to comment
aka Blue Posted April 18, 2016 Share Posted April 18, 2016 PD: Si eres Español, publica en ésta sección: https://forum.multitheftauto.com/viewforum.php?f=145 Link to comment
angellive Posted April 22, 2016 Share Posted April 22, 2016 I Think it can help you https://community.multitheftauto.com/index.php?p=resources&s=download&resource=3949&version=1.1.0&selectincludes=1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now