Undefined symbol, Comile error..
#5

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;
}
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)