Sign in to follow this  
Tibix99

pls help:

Recommended Posts

function addGarage(thePlayer, commandName, tipus)
    if (getElementData(thePlayer, admin )) >= 6 then

tipus=type

Share this post


Link to post

Hello, write rest of the script. What this function doing? 

function addGarage(thePlayer, commandName, tipus)   
  if getElementData(thePlayer, "admin") >= 6 then      
    tipus = type   --look lua-wiki "type()" 
  end 
end 

( 2nd argument of getElementData must be string type, if 'admin' isn't previously defined string variable )

Edited by Verius
comment

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.