Jump to content

[Ayuda]Como privatizar skins


Recommended Posts

te doy mi codigo. Simple y corto. SI quieres agregar mas ai vas viendo

function checkskin( posX, posY, posZ, spawnRotation, theTeam, theSkin, theInterior, theDimension ) 
if not isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then 
if theSkin == 117 then 
kickPlayer(source) 
end 
end 
end 
addEventHandler("onPlayerSpawn",getRootElement(),checkskin) 

le agrege kick player. Si gustas cambiaselo a killPed(source)

Link to comment
te doy mi codigo. Simple y corto. SI quieres agregar mas ai vas viendo
function checkskin( posX, posY, posZ, spawnRotation, theTeam, theSkin, theInterior, theDimension ) 
if not isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then 
if theSkin == 117 then 
kickPlayer(source) 
end 
end 
end 
addEventHandler("onPlayerSpawn",getRootElement(),checkskin) 

le agrege kick player. Si gustas cambiaselo a killPed(source)

Gracias nod y Yakusa, Mejor pongo killPed Y Yakusa Como pongo Eso, Que tienes en tu Firma?.

Link to comment
  • Recently Browsing   0 members

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