Jump to content

Help!!!!


Recommended Posts

Posted

What do you mean by help you with scripting? if you got problems with a script, just post and we'll help you.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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?

Posted

  
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

Posted
  
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 ]

Actual Nick: [XGN]BorderLine

Actual Clan: XLatino

Actual Status: Staff, Mod Level 1

(BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline

Posted

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

Posted

that script is serverside, you put in meta.xml like server side?

Actual Nick: [XGN]BorderLine

Actual Clan: XLatino

Actual Status: Staff, Mod Level 1

(BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline

Posted

dafuq, can't you nabs from SA:MP learn?

This code is LUA, not Pawn. You should not compile it with Pawno.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

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

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

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