Jump to content

Me sale un error D: 2


Recommended Posts

Posted (edited)
mechanicpickup = createPickup (-2630, 1351, 7, 3, 1275, 15000 ) 
  
teammechanic = createTeam ( "Mecanicos", 255, 0, 0 ) 
  
function mechanicskinpickup ( thePlayer ) 
  setPedSkin ( thePlayer, 50 ) 
  setPlayerTeam ( thePlayer, teammechanic ) 
  setPedArmor ( thePlayer, 0 ) 
end 
addEventHandler ( "onPickupUse", mechanicpickup, mechanicskinpickup ) 

me sale un error: loadin scriptin failed: gamemod/pickups.lua : 7 : ">" expected (to close "<" at line 5) near "teammedichanic"

Edited by Guest
Posted

Eso es todo el contenido del archivo?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

No veo nada malo, fijate en la codificacion del archivo.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
No veo nada malo, fijate en la codificacion del archivo.

y me aparece bad argument en addEventHandler

addEventHandler ( "onPickupUse", swatpickup, swatskinpickup )  

Posted

Eso no esta en ninguna parte del script que posteaste.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • Recently Browsing   0 members

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