Help Tag Mismatch
#1

pawn Код:
forward gateclose(); //Defines our 'gateclose' timer when a player types /open, and what we want the gate to do
    public gateclose()
    {
    MoveObject(-1979.10022, 498.04825, 28.73202, 0.00000, 0.00000, 181.43765); // This line
    // which will be the same as the position in your FilterScriptInit()
    }
PHP код:
F:\dsd.pwn(31) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Warning

Reply
#2

pawn Код:
native MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0);
Reply
#3

Quote:
Originally Posted by ManGoe
Посмотреть сообщение
pawn Код:
forward gateclose(); //Defines our 'gateclose' timer when a player types /open, and what we want the gate to do
    public gateclose()
    {
    MoveObject(-1979.10022, 498.04825, 28.73202, 0.00000, 0.00000, 181.43765); // This line
    // which will be the same as the position in your FilterScriptInit()
    }
PHP код:
F:\dsd.pwn(31) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Warning

pawn Код:
public gateclose()
{
    MoveObject(id of the object, -1979.10022, 498.04825, 28.73202, 0.00000, 0.00000, 181.43765); // This line
    // which will be the same as the position in your FilterScriptInit()
}
Reply
#4

Quote:
Originally Posted by ManGoe
Посмотреть сообщение
pawn Код:
forward gateclose(); //Defines our 'gateclose' timer when a player types /open, and what we want the gate to do
    public gateclose()
    {
    MoveObject(-1979.10022, 498.04825, 28.73202, 0.00000, 0.00000, 181.43765); // This line
    // which will be the same as the position in your FilterScriptInit()
    }
PHP код:
F:\dsd.pwn(31) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Warning

Hello ManGoe,
Код:
MoveObject(-1979.10022,..
You forgot to provide ObjectID for this function (i believe that -1979.10022 is x coordinate, isn't it?)
Tag mistach error is because -1979.10022 is an float, not integer (this is where the error's comming from).

Greetings
Reply
#5

Testing all above given codes hope it works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)