26.04.2009, 16:13
Hi i whant make move-ing objects but i get errors 
here are the errors:
C:\Documents and Settings\Luc\Bureaublad\Untitled.pwn(
: error 017: undefined symbol "objectid"
C:\Documents and Settings\Luc\Bureaublad\Untitled.pwn(10) : warning 217: loose indentation
C:\Documents and Settings\Luc\Bureaublad\Untitled.pwn(13) : error 017: undefined symbol "objectid"
C:\Documents and Settings\Luc\Bureaublad\Untitled.pwn(14) : error 030: compound statement not closed at the end of file (started at line 13)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
and here is the code:
#include <a_samp>
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/open", cmdtext, true, 10) == 0)
{
MoveObject(objectid, 1961.7462, -2188.8318, 15.3203, 0.0000, 0.0000, 0.0000, 500.0, 5000); // Type in the object id., and the X,Y,Z You want it to move to, and the speed of the object moving, ex: 5000
if (strcmp("/close", cmdtext, true, 10) == 0)
{
MoveObject(objectid, 1961.7462, -2188.8318, 15.3203, 0.0000, 0.0000, 0.0000, 500.0, 5000); // Type in the object id, and the NORMAL X,Y,Z of the object
i have closed all lines but i get all errors back can any 1 help me?

here are the errors:
C:\Documents and Settings\Luc\Bureaublad\Untitled.pwn(

C:\Documents and Settings\Luc\Bureaublad\Untitled.pwn(10) : warning 217: loose indentation
C:\Documents and Settings\Luc\Bureaublad\Untitled.pwn(13) : error 017: undefined symbol "objectid"
C:\Documents and Settings\Luc\Bureaublad\Untitled.pwn(14) : error 030: compound statement not closed at the end of file (started at line 13)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
and here is the code:
#include <a_samp>
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/open", cmdtext, true, 10) == 0)
{
MoveObject(objectid, 1961.7462, -2188.8318, 15.3203, 0.0000, 0.0000, 0.0000, 500.0, 5000); // Type in the object id., and the X,Y,Z You want it to move to, and the speed of the object moving, ex: 5000
if (strcmp("/close", cmdtext, true, 10) == 0)
{
MoveObject(objectid, 1961.7462, -2188.8318, 15.3203, 0.0000, 0.0000, 0.0000, 500.0, 5000); // Type in the object id, and the NORMAL X,Y,Z of the object
i have closed all lines but i get all errors back can any 1 help me?
