Narutimmy Posted July 6, 2013 Posted July 6, 2013 Me ayudan? el debug me tira un error en los argumentos de getAccountName o algo asi lo que ase es ponerte la skin 27 pero no funciona function SkinP (player) local accName = getAccountName(getPlayerAccount(player)) if accName == "Narutimmy" then setTimer(setElementModel, 6001, 1, source, 27 ) outputChatBox ( "#ff0000Exito", getRootElement(), 255, 255, 255, true) else outputChatBox ( "#ff0000FAIL", getRootElement(), 255, 255, 255, true) end end addEventHandler ( "onPlayerWasted", getRootElement(), SkinP ) mtasa://66.85.14.178:22003 Ts3: thezombiworld.com:7777
Castillo Posted July 6, 2013 Posted July 6, 2013 Borra 'player' del nombre de la funcion y usa 'source' en getPlayerAccount. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Narutimmy Posted July 6, 2013 Author Posted July 6, 2013 Borra 'player' del nombre de la funcion y usa 'source' en getPlayerAccount. Gracias ya funciona perfecto mtasa://66.85.14.178:22003 Ts3: thezombiworld.com:7777
Castillo Posted July 6, 2013 Posted July 6, 2013 De nada. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts