Help Tag Mismatch - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help Tag Mismatch (
/showthread.php?tid=553304)
Help Tag Mismatch -
ManGoe - 29.12.2014
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 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
Re: Help Tag Mismatch -
biker122 - 29.12.2014
pawn Код:
native MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0);
Re: Help Tag Mismatch -
VincenzoDrift - 29.12.2014
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 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB 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()
}
Re: Help Tag Mismatch -
LetsOWN[PL] - 29.12.2014
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 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB 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
Re: Help Tag Mismatch -
ManGoe - 29.12.2014
Testing all above given codes hope it works