14.02.2012, 16:16
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;
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;
}