denilson Posted December 5, 2013 Share Posted December 5, 2013 Me dicen que linea usar para privatizar un market para un determinado team pls Link to comment
Castillo Posted December 5, 2013 Share Posted December 5, 2013 getPlayerTeam getTeamName Link to comment
denilson Posted December 10, 2013 Author Share Posted December 10, 2013 Alguna Respuesta mas especifica pls Link to comment
FraN-724 Posted December 10, 2013 Share Posted December 10, 2013 Algo como asi local tele = createMarker ( 3012.1999511719, -1783.1999511719, 21, 'cylinder', 4, 125, 40, 40, 200 ) function Teleport( thePlayer, matchingDimension ) if ( source == tele ) and ( getPlayerTeam(thePlayer) and getTeamName(getPlayerTeam(thePlayer)) ~= "Azuhermana ledamos" ) then -- privatizas el marker para ke no teletransporte a los ke no estan en su team "Azuhermana ledamos" setElementPosition ( thePlayer, 3011.5, -1807.5, 20.200000762939) end end addEventHandler( "onMarkerHit", tele, Teleport ) Link to comment
MTA Team 0xCiBeR Posted December 10, 2013 MTA Team Share Posted December 10, 2013 Algo como asi local tele = createMarker ( 3012.1999511719, -1783.1999511719, 21, 'cylinder', 4, 125, 40, 40, 200 ) function Teleport( thePlayer, matchingDimension ) if ( source == tele ) and ( getPlayerTeam(thePlayer) and getTeamName(getPlayerTeam(thePlayer)) ~= "Azuhermana ledamos" ) then -- privatizas el marker para ke no teletransporte a los ke no estan en su team "Azuhermana ledamos" setElementPosition ( thePlayer, 3011.5, -1807.5, 20.200000762939) end end addEventHandler( "onMarkerHit", tele, Teleport ) Para que obtienes el source == tele?..Si la funcion la ejecutas usando tele como argumento del evento..No hace falta verdad? Link to comment
Recommended Posts