depato123 Posted May 18, 2013 Posted May 18, 2013 (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 May 18, 2013 by Guest
Castillo Posted May 18, 2013 Posted May 18, 2013 Eso es todo el contenido del archivo? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
depato123 Posted May 18, 2013 Author Posted May 18, 2013 Eso es todo el contenido del archivo? ya edito lo que faltaba
Castillo Posted May 18, 2013 Posted May 18, 2013 No veo nada malo, fijate en la codificacion del archivo. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
depato123 Posted May 18, 2013 Author Posted May 18, 2013 No veo nada malo, fijate en la codificacion del archivo. y me aparece bad argument en addEventHandler addEventHandler ( "onPickupUse", swatpickup, swatskinpickup )
Castillo Posted May 18, 2013 Posted May 18, 2013 Eso no esta en ninguna parte del script que posteaste. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts