Jump to content

[Ayuda] Skin Privatizado


Recommended Posts

Posted

Me ayudan? el debug me tira un error en los argumentos de getAccountName o algo asi :S 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

350x20_FFFFFF_FFFFFF_000000_000000.png

Ts3: thezombiworld.com:7777

350x20_FFFFFF_FFFFFF_000000_000000.png

Posted

Borra 'player' del nombre de la funcion y usa 'source' en getPlayerAccount.

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
Borra 'player' del nombre de la funcion y usa 'source' en getPlayerAccount.

Gracias ya funciona perfecto :D

mtasa://66.85.14.178:22003

350x20_FFFFFF_FFFFFF_000000_000000.png

Ts3: thezombiworld.com:7777

350x20_FFFFFF_FFFFFF_000000_000000.png

Posted

De nada.

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...