Errrors
#1


Alot of errors what's the problem :S
Reply
#2

You know, actually we can't see the errors, scroll to the right the Pawn Compiler Output.
Reply
#3

Done
Reply
#4

pawn Код:
new autogate2; //global
Send the lines of these errors in the tag [*pawn] [/pawn]
Remove the *
Reply
#5

now only 1 error
Reply
#6

Send-me the line of this erro.
Use the tag [*code] [/code] or [*pawn] [/pawn].
Or send-me as text. You need to remove the *
Reply
#7

Copy paste the codes next time, where the errors are.
In the last picture you have
{
MoveObject
MoveObject

Why do you open a callback, and not closing it? Though it wouldnt change anything.
Remove the {. Then cut the MoveObjects, and paste them where you want the objects to be moved. Like when you do a command, it will move the MoveObjects.
Reply
#8

So look i want make some gates move automatly no command ...
so i puted in section OnPlayerUpdate if(IsPlayerInRangeOfPoint... and others)
when i am near gate move(open) and when i am far it should close ...
but that error doesn't let me
Reply
#9

pawn Код:
D:\Jocuri\Gta san andreas\Server\filterscripts\LasVenturas.pwn(26) : error 055: start of function body without function header
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
new autogate;//global

{
    MoveObject(autogate,905.50000000,734.59997559,9.80000019,3);
    MoveObject(autogate,911.09997559,719.20001221,9.69999981,3);

forward close();
public close()
{ is 26 in that error
Reply
#10

Quote:
Originally Posted by viosteaua98
Посмотреть сообщение
pawn Код:
D:\Jocuri\Gta san andreas\Server\filterscripts\LasVenturas.pwn(26) : error 055: start of function body without function header
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
new autogate;//global

{
    MoveObject(autogate,905.50000000,734.59997559,9.80000019,3);
    MoveObject(autogate,911.09997559,719.20001221,9.69999981,3);

forward close();
public close()
The '{' is unnessecery (not sure if this is spelled right), aswell for the moveObject functions. The MoveObject thing should be in a command, timer, somewhere else. Not outside a callback. Add it to your command where it should move the object, or whenever you want to move the objects.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)