Jump to content

Help!!!!


Recommended Posts

  
lift = createObject ( 5020, 1827.4000244141,-1189.3000488281, 22.799999237061, 0, 270, 90 ) 
-- Creating the object. 
  
function moveupthelift ()  -- the function 
moveObject ( lift, 5000, 1827.4000244141, -1189.3000488281, 63.299999237061 )  -- moving the object to the location 
end 
addCommandHandler ( "moveup", moveupthelift ) -- adding a command for move the object up 
  
function movedownthelift () -- the function 
moveObject ( lift, 5000, 1827.4000244141, -1189.3000488281, 22.799999237061 )  -- moving the object to the location 
end 
addCommandHandler ( "movedown", movedownthelift )  -- adding a command for move the object down 
  

and this

Link to comment
  
lift = createObject ( 5020, 1827.4000244141,-1189.3000488281, 22.799999237061, 0, 270, 90 ) 
-- Creating the object. 
  
function moveupthelift ()  -- the function 
moveObject ( lift, 5000, 1827.4000244141, -1189.3000488281, 63.299999237061 )  -- moving the object to the location 
end 
addCommandHandler ( "moveup", moveupthelift ) -- adding a command for move the object up 
  
function movedownthelift () -- the function 
moveObject ( lift, 5000, 1827.4000244141, -1189.3000488281, 22.799999237061 )  -- moving the object to the location 
end 
addCommandHandler ( "movedown", movedownthelift )  -- adding a command for move the object down 
  

and this

what is the proble here?

and please, post with lua tags [ lua ]  code [ / lua ]

Link to comment

  • C:\Documents and Settings\Tarvo\Desktop\server\filterscripts\sa.pwn(11) : error 010: invalid function or declaration
    C:\Documents and Settings\Tarvo\Desktop\server\filterscripts\sa.pwn(11 -- 5) : error 010: invalid function or declaration
    C:\Documents and Settings\Tarvo\Desktop\server\filterscripts\sa.pwn(6) : error 010: invalid function or declaration
    C:\Documents and Settings\Tarvo\Desktop\server\filterscripts\sa.pwn(6 -- 10) : error 010: invalid function or declaration
    C:\Documents and Settings\Tarvo\Desktop\server\filterscripts\sa.pwn(6 -- 11) : error 021: symbol already defined: "moveObject"
    C:\Documents and Settings\Tarvo\Desktop\server\filterscripts\sa.pwn(6 -- 11) : fatal error 107: too many error messages on one line
    Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
    6 Errors.

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