Jump to content

Ayuda


Nicolas ECM

Recommended Posts

Hola tengo dos problemas uno es con el freeroam que cuando escribo se manda doble el mensaje alguien me podria decir donde arreglar esto porfavor

lo segundo es que tengo un resource el cual se activa con un comando lo que yo quiero es que solo lo puedan utilizar los que estan en el grupo vip, me podrian decir el error.

function createVcle(sourcePlayer, commandName, destroy) 
local x,y,z = getElementPosition(sourcePlayer) 
local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
   if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then  
objeto = createObject( 897, x, y - 7, z + 0.3, 0, 90, 90) 
setTimer(destroyElement, 30000, 1, objeto) 
   end 
addCommandHandler("dotoon",createVcle  ) 
end 

gracias

Link to comment
function createVcle( thePlayer, commandName ) 
local x,y,z = getElementPosition( thePlayer ) 
local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
   if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then  
objeto = createObject( 897, x, y - 7, z + 0.3, 0, 90, 90) 
setTimer ( destroyElement, 30000, 1, objeto ) 
end 
  end 
addCommandHandler("dotoon",createVcle  ) 
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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