Jump to content

Search the Community

Showing results for tags 'puerta'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. Hola les agradecería la ayuda, no logro solucionar este warning. WARNING: [Nz]-CokData/puerta1.lua:31: Bad argument @ 'GetPlayerTeam [Expected player at argument 1, got vehicle] Tambien me pasa con la linea 7 ------- Creado por STORMALIXSCRIPTER' ---------- objeto = createObject ( 3115, 1447.6999511719, 664.70001220703, 5.3000001907349, 0, 90, 270 ) x,y,z = getElementPosition (objeto) Zona = createColCircle ( x,y, 5, 5 ) function Funcion (source) playerTeam = getPlayerTeam ( source ) Clann = getTeamFromName ( "*C.O.K*" ) if ( playerTeam ) == Clann then moveObject ( objeto, 2000, 1447.6999511719, 664.70001220703, -0.89999997615814, 0, 0, 0 ) outputChatBox ( "Bienvenido a C.O.K", source, 0, 255, 0, true ) else outputChatBox ( "Tu no eres del clan!", source, 255, 0, 0, true ) end end addEventHandler ( "onColShapeHit", Zona, Funcion ) function Funcion2 () moveObject ( objeto, 3000, 1447.6999511719, 664.70001220703, 5.3000001907349, 0, 0, 0 ) outputChatBox ( "Puerta Cerrandose", source, 0, 255, 0, true ) end addEventHandler ( "onColShapeLeave", Zona, Funcion2 ) -------Puerta2------------Puerta2----------------Puerta2------------------- objeto1 = createObject ( 3115, 1398.1999511719, 730.40002441406, 6.5, 0, 270, 0 ) x,y,z = getElementPosition (objeto1) Zona = createColCircle ( x,y, 5, 5 ) function Funcion (source) playerTeam = getPlayerTeam ( source ) Clann = getTeamFromName ( "*C.O.K*" ) if ( playerTeam ) == Clann then moveObject ( objeto1, 2000, 1398.1999511719, 730.40002441406, 1.2000000476837, 0, 0, 0 ) outputChatBox ( "Bienvenido a C.O.K", source, 0, 255, 0, true ) else outputChatBox ( "Tu no eres del clan!", source, 255, 0, 0, true ) end end addEventHandler ( "onColShapeHit", Zona, Funcion ) function Funcion2 () moveObject ( objeto1, 3000, 1398.1999511719, 730.40002441406, 6.5, 0, 0, 0 ) outputChatBox ( "Puerta Cerrandose", source, 0, 255, 0, true ) end addEventHandler ( "onColShapeLeave", Zona, Funcion2 )
×
×
  • Create New...