Undefined symbol, Comile error..
#8

Quote:
Originally Posted by ViruZz
Посмотреть сообщение
pawn Код:
CreateObject(980,-967.79998779,2715.10009766,52.29999924,0.00000000,0.00000000,277.50000000); //object(airportgate) (1)
        return 1;
    }   MoveObject(Gate,-967.79998779,2715.10009766,52.29999924,0.00000000,0.00000000,277.50000000);
    return 0;
To explain what happened you are creating the gate twice. The gate is already created when the Gamemode Initialize so why will you create it again in your CMD?

So for your CMD Use this

pawn Код:
public OnPlayerCommandText( playerid, cmdtext[ ] )
{
    if( !strcmp( cmdtext, "/open", true ) )
    {
        MoveObject( Gate, -967.79998779, 2715.10009766, 52.29999924, 0.00000000, 0.00000000, 277.50000000 );
        return 1;
    }
    return 0;
}
Because I need a command to open?
Reply


Messages In This Thread
Undefined symbol, Comile error.. - by davve95 - 14.02.2012, 15:40
Re: Undefined symbol, Comile error.. - by Konstantinos - 14.02.2012, 15:45
Re: Undefined symbol, Comile error.. - by davve95 - 14.02.2012, 16:05
Re: Undefined symbol, Comile error.. - by Konstantinos - 14.02.2012, 16:10
Re: Undefined symbol, Comile error.. - by ViruZz - 14.02.2012, 16:16
Re: Undefined symbol, Comile error.. - by System64 - 14.02.2012, 17:13
Re: Undefined symbol, Comile error.. - by davve95 - 14.02.2012, 17:19
Re: Undefined symbol, Comile error.. - by davve95 - 14.02.2012, 17:26
Re: Undefined symbol, Comile error.. - by Konstantinos - 14.02.2012, 20:20
Re: Undefined symbol, Comile error.. - by davve95 - 15.02.2012, 09:23

Forum Jump:


Users browsing this thread: 2 Guest(s)