tarvo1999 Posted July 12, 2012 Share Posted July 12, 2012 Hi Can anyone help me with scriting? PM then i want help!!! Link to comment
Castillo Posted July 12, 2012 Share Posted July 12, 2012 What do you mean by help you with scripting? if you got problems with a script, just post and we'll help you. Link to comment
AMARANT Posted July 12, 2012 Share Posted July 12, 2012 Probably he wants to create a brand new server and his knowing is equal to 0. The best way to do it is to start learning the main MTA wiki page. Link to comment
tarvo1999 Posted July 12, 2012 Author Share Posted July 12, 2012 Look in my last post subject is help i m noob and yes i am noob i need learn scripting a bit,so i need help with all scripts!!! first i want know how i but text in road sign? Link to comment
tarvo1999 Posted July 12, 2012 Author Share Posted July 12, 2012 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
BorderLine Posted July 12, 2012 Share Posted July 12, 2012 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
tarvo1999 Posted July 12, 2012 Author Share Posted July 12, 2012 C:\Documents and Settings\Tarvo\Desktop\server\filterscripts\sa.pwn(11) : error 010: invalid function or declarationC:\Documents and Settings\Tarvo\Desktop\server\filterscripts\sa.pwn(11 -- 5) : error 010: invalid function or declarationC:\Documents and Settings\Tarvo\Desktop\server\filterscripts\sa.pwn(6) : error 010: invalid function or declarationC:\Documents and Settings\Tarvo\Desktop\server\filterscripts\sa.pwn(6 -- 10) : error 010: invalid function or declarationC:\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 lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase6 Errors. Link to comment
BorderLine Posted July 12, 2012 Share Posted July 12, 2012 that script is serverside, you put in meta.xml like server side? Link to comment
tarvo1999 Posted July 12, 2012 Author Share Posted July 12, 2012 hmm i dont know i dont get meta.xml i got this script in network Link to comment
Anderl Posted July 12, 2012 Share Posted July 12, 2012 dafuq, can't you nabs from SA:MP learn? This code is LUA, not Pawn. You should not compile it with Pawno. Link to comment
Callum Posted July 13, 2012 Share Posted July 13, 2012 You can use the amx resource to emulate Pawn in MTA:SA. Link to comment
Anderl Posted July 13, 2012 Share Posted July 13, 2012 You can use the amx resource to emulate Pawn in MTA:SA. He don't need that, he is trying to compile LUA code on Pawno, that's the problem. Link to comment
tarvo1999 Posted July 13, 2012 Author Share Posted July 13, 2012 ty all now this is works:) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now